Closed peterprokop closed 8 years ago
Also, it's very inconvenient that accessGroup is a class property - what if you need to access several keychains (for several access groups)?
This has been addressed in the 2.0 version of the library (the latest on cocapods). I am moving away from the wrapper being fully static and instead paralleling how NSUserDefaults works: providing a shared instance for basic usage and the ability to create your own instance of the wrapper for additional customization. When you create an instance of the wrapper, you are able to give that instance its own access group. This will allow you to access several keychains or access groups as you've said.
As for the error of the access group not actually even working properly when set, I'll double check that in the current code and see if there is still an issue.
@jrendel Jason, I've checked v2.0.0 and it looks like keychain groups work properly in that version. Thank you for your time.
Also, it's very inconvenient that
accessGroup
is a class property - what if you need to access several keychains (for several access groups)?When used:
nil
is stored inc1
But when I use
Correct data is returned from method.