nielsmouthaan/SecureNSUserDefaults

Nullability annotations

rohan-panchal opened this issue · 0 comments

The methods retrieving foundation objects:

secretStringForKey:(NSString *)key

should have _Nullable in the return type else in Swift it will implicitly unwrap everything.

It should look like:

- (NSString *_Nullable)secretStringForKey:(NSString *)key