• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get initial values into dialog via bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get initial values into dialog via bindings?


  • Subject: Re: How to get initial values into dialog via bindings?
  • From: Guy Umbright <email@hidden>
  • Date: Tue, 17 Jan 2006 23:18:59 -0600

Thanks for the responses.

I have found the core of the problem and described it in the "Bindings don't populate dialog fields?"
thread.


Guy

On Jan 15, 2006, at 5:50 PM, mmalcolm crawford wrote:


On Jan 15, 2006, at 3:17 PM, Adam Leonard wrote:

In IB, try clicking on the text fields and under bindings in whatever property you are binding to, change the appropriate placeholder fields with your default values.
I think the bindings will use those values when something is not set instead of the default textField value. So, it was probably passing an empty string, causing the default value to be overwritten.


This is not the case. Placeholders are just placeholders. They don't replace any values in the model.

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40kickstandsoft.com


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to get initial values into dialog via bindings? (From: Guy Umbright <email@hidden>)
 >Re: How to get initial values into dialog via bindings? (From: Adam Leonard <email@hidden>)
 >Re: How to get initial values into dialog via bindings? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Prevent running in Rosetta
  • Next by Date: Re: How to Get the Color Effect
  • Previous by thread: Re: How to get initial values into dialog via bindings?
  • Next by thread: [newbie] Window state saving
  • Index(es):
    • Date
    • Thread