granoff / Lockbox

Objective-C utility class for storing data securely in the key chain.
MIT License
849 stars 87 forks source link

iOS 12 Deprecation #66

Open apple-ihack-geek opened 3 months ago

apple-ihack-geek commented 3 months ago

Lockbox/Lockbox.m:199:58 'initForWritingWithMutableData:' is deprecated: first deprecated in iOS 12.0 - Use -initRequiringSecureCoding: instead Lockbox/Lockbox.m:214:68 'initForReadingWithData:' is deprecated: first deprecated in iOS 12.0 - Use -initForReadingFromData:error: instead

I'll probably end up fixing this myself anyway, but if someone beats me to it, all the better.

granoff commented 3 months ago

Thanks. If you are just beginning to use Lockbox, you might want to use Strongbox (also mine) instead.

apple-ihack-geek commented 3 months ago

Thanks, but our app has been using Lockbox for years, and it's probably less work for me to fix this issue that to switch libraries.

granoff commented 3 months ago

Then by all means, have at it. I await your pull request. 😄

Also, I am pleased to know that someone has found this library useful!