You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to specify defaults for some of the tools. For example:
CLDrawTool - pen CGSize, ink UIColor.
CLTextTool - font name, font UIColor, NSTextAlignment.
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: