Index: src/XMPPConnection.h ================================================================== --- src/XMPPConnection.h +++ src/XMPPConnection.h @@ -84,13 +84,13 @@ #ifdef OF_HAVE_PROPERTIES @property (copy) OFString *username, *password, *server, *domain, *resource; @property (copy) OFString *privateKeyFile, *certificateFile; @property (copy, readonly) XMPPJID *JID; -@property (assign) uint16_t port; +@property uint16_t port; @property (readonly, retain, getter=socket) OFTCPSocket *sock; -@property (assign) BOOL encryptionRequired; +@property BOOL encryptionRequired; @property (readonly) BOOL encrypted; @property (readonly) BOOL streamOpen; #endif /** Index: src/XMPPExceptions.h ================================================================== --- src/XMPPExceptions.h +++ src/XMPPExceptions.h @@ -33,11 +33,11 @@ XMPPConnection *connection; } #ifdef OF_HAVE_PROPERTIES /// The connection the exception relates to -@property (readonly, nonatomic) XMPPConnection *connection; +@property (readonly, assign) XMPPConnection *connection; #endif /** * Creates a new XMPPException * @@ -72,13 +72,13 @@ OFString *reason; } #ifdef OF_HAVE_PROPERTIES /// The defined error condition specified by the stream error -@property (readonly, nonatomic) OFString *condition; +@property (readonly, assign) OFString *condition; /// The descriptive free-form text specified by the stream error -@property (readonly, nonatomic) OFString *reason; +@property (readonly, assign) OFString *reason; #endif /** * Creates a new XMPPStreamErrorException * @@ -121,13 +121,13 @@ OFString *string; } #ifdef OF_HAVE_PROPERTIES /// The name of the stringprep profile that did not apply -@property (readonly, nonatomic) OFString *profile; +@property (readonly, assign) OFString *profile; /// The string that failed the stringprep profile -@property (readonly, nonatomic) OFString *string; +@property (readonly, assign) OFString *string; #endif /** * Creates a new XMPPStringPrepFailedException * @@ -169,13 +169,13 @@ OFString *string; } #ifdef OF_HAVE_PROPERTIES /// The IDNA translation operation which failed -@property (readonly, nonatomic) OFString *operation; +@property (readonly, assign) OFString *operation; /// The string that could not be translated -@property (readonly, nonatomic) OFString *string; +@property (readonly, assign) OFString *string; #endif /** * Creates a new XMPPIDNATranslationFailedException * @@ -216,11 +216,11 @@ OFString *reason; } #ifdef OF_HAVE_PROPERTIES /// The reason the authentication failed -@property (readonly, nonatomic) OFString *reason; +@property (readonly, assign) OFString *reason; #endif /** * Creates a new XMPPAuthFailedException * Index: src/XMPPSRVLookup.h ================================================================== --- src/XMPPSRVLookup.h +++ src/XMPPSRVLookup.h @@ -34,14 +34,14 @@ uint16_t port; OFString *target; } #ifdef OF_HAVE_PROPERTIES -@property (readonly, assign) uint16_t priority; -@property (readonly, assign) uint16_t weight; -@property (assign) uint32_t accumulatedWeight; -@property (readonly, assign) uint16_t port; +@property (readonly) uint16_t priority; +@property (readonly) uint16_t weight; +@property uint32_t accumulatedWeight; +@property (readonly) uint16_t port; @property (readonly, copy) OFString *target; #endif + entryWithPriority: (uint16_t)priority weight: (uint16_t)weight