Open cliffjoyce opened 7 years ago
It certainly seems necessary property for ease of use. But I do not think it is a good thing for the library to use NSUserDefaults without control from developers.
I cannot think of the best solution yet, I will try to change it so that it can be set from optionalInfo
.
@yackle
It certainly seems necessary property for ease of use. But I do not think it is a good thing for the library to use NSUserDefaults without control from developers.
I cannot think of the best solution yet, I will try to change it so that it can be set from
optionalInfo
.
So have you already expended optionalInfo properties yet? I come into the same issue as @cliffjoyce cliffjoyce mentioned.
I'd like to specify defaults for some of the tools. For example:
Can this be done already? I didn't see a way to do it via the CLImageToolProtocol's optionalInfo NSDictionary entries.
Even better would to set/save these default values in the app's [NSUserDefaults standardUserDefaults]. That way, the app could initialize these values (if they don't exist yet), and the user's most recent choices could be saved/restored.