Make sure all properties are nonatomic
This commit is contained in:
parent
8c991b50d2
commit
e0ff07860a
6 changed files with 19 additions and 15 deletions
|
@ -219,12 +219,12 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
/*!
|
||||
* The port to connect to.
|
||||
*/
|
||||
@property uint16_t port;
|
||||
@property (nonatomic) uint16_t port;
|
||||
|
||||
/*!
|
||||
* An object for data storage, conforming to the XMPPStorage protocol.
|
||||
*/
|
||||
@property OF_NULLABLE_PROPERTY (assign) id <XMPPStorage> dataStorage;
|
||||
@property OF_NULLABLE_PROPERTY (nonatomic, assign) id <XMPPStorage> dataStorage;
|
||||
|
||||
/*!
|
||||
* The socket used for the connection.
|
||||
|
@ -234,22 +234,22 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
/*!
|
||||
* Whether encryption is required.
|
||||
*/
|
||||
@property bool encryptionRequired;
|
||||
@property (nonatomic) bool encryptionRequired;
|
||||
|
||||
/*!
|
||||
* Whether the connection is encrypted.
|
||||
*/
|
||||
@property (readonly) bool encrypted;
|
||||
@property (readonly, nonatomic) bool encrypted;
|
||||
|
||||
/*!
|
||||
* Whether roster versioning is supported.
|
||||
*/
|
||||
@property (readonly) bool supportsRosterVersioning;
|
||||
@property (readonly, nonatomic) bool supportsRosterVersioning;
|
||||
|
||||
/*!
|
||||
* Whether stream management is supported.
|
||||
*/
|
||||
@property (readonly) bool supportsStreamManagement;
|
||||
@property (readonly, nonatomic) bool supportsStreamManagement;
|
||||
|
||||
/*!
|
||||
* Creates a new autoreleased XMPPConnection.
|
||||
|
|
|
@ -48,12 +48,12 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
* This usually contains at least all immediate child nodes, but may contain
|
||||
* any number of nodes nested more deeply.
|
||||
*/
|
||||
@property (readonly) OFDictionary *discoNodes;
|
||||
@property (readonly, nonatomic) OFDictionary *discoNodes;
|
||||
|
||||
/*!
|
||||
* The node advertised for the entity's capabilites.
|
||||
*/
|
||||
@property (readonly) OFString *capsNode;
|
||||
@property (readonly, nonatomic) OFString *capsNode;
|
||||
|
||||
+ (instancetype)discoNodeWithJID: (XMPPJID *)JID
|
||||
node: (nullable OFString *)node OF_UNAVAILABLE;
|
||||
|
|
|
@ -29,8 +29,10 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
* @brief A class describing a message stanza.
|
||||
*/
|
||||
@interface XMPPMessage: XMPPStanza
|
||||
/*! The text content of the body of the message. */
|
||||
@property (copy) OFString *body;
|
||||
/*!
|
||||
* The text content of the body of the message.
|
||||
*/
|
||||
@property (nonatomic, copy) OFString *body;
|
||||
|
||||
/*!
|
||||
* @brief Creates a new autoreleased XMPPMessage.
|
||||
|
|
|
@ -72,7 +72,7 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
/*!
|
||||
* @brief The connection to which the roster belongs
|
||||
*/
|
||||
@property (readonly, assign) XMPPConnection *connection;
|
||||
@property (readonly, nonatomic) XMPPConnection *connection;
|
||||
|
||||
/*!
|
||||
* @brief An object for data storage, conforming to the XMPPStorage protocol.
|
||||
|
|
|
@ -38,10 +38,10 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
OFString *_target;
|
||||
}
|
||||
|
||||
@property (readonly) uint16_t priority;
|
||||
@property (readonly) uint16_t weight;
|
||||
@property uint32_t accumulatedWeight;
|
||||
@property (readonly) uint16_t port;
|
||||
@property (readonly, nonatomic) uint16_t priority;
|
||||
@property (readonly, nonatomic) uint16_t weight;
|
||||
@property (nonatomic) uint32_t accumulatedWeight;
|
||||
@property (readonly, nonatomic) uint16_t port;
|
||||
@property (readonly, nonatomic) OFString *target;
|
||||
|
||||
+ (instancetype)entryWithPriority: (uint16_t)priority
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue