Modernize coding style

This commit is contained in:
Jonathan Schleifer 2018-11-05 22:22:12 +01:00
parent d6f82eb3d5
commit 3438e3569b
No known key found for this signature in database
GPG key ID: D83A76BFE376345E
37 changed files with 407 additions and 422 deletions

View file

@ -94,7 +94,7 @@ OF_ASSUME_NONNULL_BEGIN
* @param ID The value for the stanza's id attribute
* @return A initialized XMPPPresence
*/
- initWithID: (nullable OFString *)ID;
- (instancetype)initWithID: (nullable OFString *)ID;
/*!
* @brief Initializes an already allocated XMPPPresence with the specified type.
@ -102,7 +102,7 @@ OF_ASSUME_NONNULL_BEGIN
* @param type The value for the stanza's type attribute
* @return A initialized XMPPPresence
*/
- initWithType: (nullable OFString *)type;
- (instancetype)initWithType: (nullable OFString *)type;
/*!
* @brief Initializes an already allocated XMPPPresence with the specified type
@ -112,8 +112,8 @@ OF_ASSUME_NONNULL_BEGIN
* @param ID The value for the stanza's id attribute
* @return A initialized XMPPPresence
*/
- initWithType: (nullable OFString *)type
ID: (nullable OFString *)ID;
- (instancetype)initWithType: (nullable OFString *)type
ID: (nullable OFString *)ID;
@end
OF_ASSUME_NONNULL_END