Go to the source code of this file.
|
#define | DEFAULT_VALUE(aKey, aDefaultValue) [aCoder containsValueForKey:(aKey)] ? [aCoder decodeObjectForKey:(aKey)] : (aDefaultValue) |
|
#define | ENCODE_IFNOT(aKey, aValue, aDefaultValue) if ((aValue) !== (aDefaultValue)) [aCoder encodeObject:(aValue) forKey:(aKey)]; |
|
#define DEFAULT_VALUE |
( |
|
aKey, |
|
|
|
aDefaultValue |
|
) |
| [aCoder containsValueForKey:(aKey)] ? [aCoder decodeObjectForKey:(aKey)] : (aDefaultValue) |
#define ENCODE_IFNOT |
( |
|
aKey, |
|
|
|
aValue, |
|
|
|
aDefaultValue |
|
) |
| if ((aValue) !== (aDefaultValue)) [aCoder encodeObject:(aValue) forKey:(aKey)]; |