Setting the Null Placeholder for bindings
Setting the Null Placeholder for bindings
- Subject: Setting the Null Placeholder for bindings
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 10 Mar 2016 14:46:37 +0700
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 (email@hidden)
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:
This email sent to email@hidden