最佳答案
In Xcode 7 GM I started to get this warning:
Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
In the following function declaration (NSUserDefaults extension)
- (void)setObject:(nullable id)value
forKey:(NSString *)defaultName
objectChanged:(void(^)(NSUserDefaults *userDefaults, id value))changeHandler
objectRamains:(void(^)(NSUserDefaults *userDefaults, id value))remainHandler;
Why this warning is showing and how should I fix it?