nielsmouthaan / SecureNSUserDefaults

NSUserDefaults category for iOS and Mac OS X with additional methods to securely save data using strong AES 256-bit encryption.
MIT License
179 stars 26 forks source link

Nullability annotations #10

Open rohan-panchal opened 8 years ago

rohan-panchal commented 8 years ago

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