I have a TextField bound to Shared User Defaults Controller.
The Null Placeholder is set to “default”.

When the window comes up, it shows the value from NSUserDefaults 
registerDefaults:. Ok
When I remove the string from the TextField, I see a grey value “default”. Also 
to be expected.
The actual value of the UserDefaults seems to come in this case from 
registerDefaults. Also good.

But how can I replace “default” with the actual string? 
Yes, I can do this in Xcode, but I would like to do this from inside my program.

Can this be done? If yes, how?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to