Modernize coding style
This commit is contained in:
parent
d6f82eb3d5
commit
3438e3569b
37 changed files with 407 additions and 422 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue