Differences From Artifact [2cf6faae58]:
- File
src/exceptions/OFUndefinedKeyException.h
— 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: 2699) [annotate] [blame] [check-ins using]
To Artifact [e74205bb71]:
- File
src/exceptions/OFUndefinedKeyException.h
— part of check-in
[34fe205b84]
at
2017-11-12 18:27:56
on branch trunk
— OFFileManager: Major API redesign
This removes all query methods and replaces them by a single one that
returns a dictionary. Not only does this allow querying multiple
attributes at once, it is also more extensible, as the previous
attributes were specific to file URLs. (user: js, size: 2742) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
18 19 20 21 22 23 24 | OF_ASSUME_NONNULL_BEGIN /*! * @class OFUndefinedKeyException \ * OFUndefinedKeyException.h ObjFW/OFUndefinedKeyException.h * | | > | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | OF_ASSUME_NONNULL_BEGIN /*! * @class OFUndefinedKeyException \ * OFUndefinedKeyException.h ObjFW/OFUndefinedKeyException.h * * @brief An exception indicating that a key is undefined (e.g. for Key Value * Coding). */ @interface OFUndefinedKeyException: OFException { id _object; OFString *_key; id _Nullable _value; } /*! * The object on which the key is undefined. */ @property (readonly, nonatomic) id object; /*! * The key which is undefined. */ @property (readonly, nonatomic) OFString *key; /*! * The value for the undefined key */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) id value; + (instancetype)exception OF_UNAVAILABLE; /*! * @brief Creates a new, autoreleased undefined key exception. * * @param object The object on which the key is undefined |
︙ | ︙ |