Differences From Artifact [858e69720c]:
- File
src/OFXMLNode.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 1795) [annotate] [blame] [check-ins using]
To Artifact [1114a90ee4]:
- File
src/OFXMLNode.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 1827) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 | @implementation OFXMLNode - (instancetype)of_init { return [super init]; } | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | @implementation OFXMLNode - (instancetype)of_init { return [super init]; } - (instancetype)init { OF_INVALID_INIT_METHOD } - (instancetype)initWithSerialization: (OFXMLElement *)element { OF_INVALID_INIT_METHOD } - (OFString *)stringValue { OF_UNRECOGNIZED_SELECTOR |
︙ | ︙ | |||
89 90 91 92 93 94 95 | } - (OFXMLElement *)XMLElementBySerializing { OF_UNRECOGNIZED_SELECTOR } | | | 89 90 91 92 93 94 95 96 97 98 99 100 | } - (OFXMLElement *)XMLElementBySerializing { OF_UNRECOGNIZED_SELECTOR } - (id)copy { return [self retain]; } @end |