Differences From Artifact [a76365edf5]:
- File
src/OFKeyValueCoding.h
— part of check-in
[05196e511a]
at
2016-06-05 15:00:33
on branch trunk
— Implement Key Value Coding for OFArray
If the key starts with an @, the @ is stripped and the super method is
called. Otherwise, this returns the value for all objects / sets the
value for all objects. (user: js, size: 2025) [annotate] [blame] [check-ins using]
To Artifact [d63616901c]:
- File src/OFKeyValueCoding.h — part of check-in [7bb4cae9db] at 2016-06-05 15:51:12 on branch trunk — Key Value Coding: Add -[setNilValueForKey:] (user: js, size: 2331) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
64 65 66 67 68 69 70 71 72 73 | * By default, this throws an @ref OFUndefinedKeyException. * * @param value The value for the specified undefined key * @param key The undefined key of the value to set */ - (void)setValue: (nullable id)value forUndefinedKey: (OFString*)key; @end OF_ASSUME_NONNULL_END | > > > > > > > > > > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | * By default, this throws an @ref OFUndefinedKeyException. * * @param value The value for the specified undefined key * @param key The undefined key of the value to set */ - (void)setValue: (nullable id)value forUndefinedKey: (OFString*)key; /*! * @brief This is called by @ref setValue:forKey: if the specified key is a * scalar, but the value specified is `nil`. * * By default, this throws an @ref OFInvalidArgumentException. * * @param key The key for which the value `nil` was specified */ - (void)setNilValueForKey: (OFString*)key; @end OF_ASSUME_NONNULL_END |