Re: binding window titles
Re: binding window titles
- Subject: Re: binding window titles
- From: Lee Morgan <email@hidden>
- Date: Sat, 4 Jun 2005 22:55:12 -0400
On Jun 4, 2005, at 10:38 PM, Jeff Gilbert wrote:
Changing the bound value is not a problem. The only problem is when
the window is first shown. However, it may have to do with the
timing of the binding being configured. I will investigate when the
binding occurs in relation to the window loading. Does anybody know
when the title would be set by the title binding?
If you place it within the will/didChangeValueForKey then there
shouldn't be a timing issue. The window is a observer for that key so
when you change it will update itself. That said the title is set
whenever you change it's bound value (if you notify it that is,
otherwise it will/may be set "sometime in the future").
It might be the case that your bound value doesn't exist when the
window is first shown?
- Lee
_______________________________________________
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