• 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: binding window titles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binding window titles


  • Subject: Re: binding window titles
  • From: Jeff Gilbert <email@hidden>
  • Date: Sat, 4 Jun 2005 22:16:55 -0500


On Jun 4, 2005, at 9:55 PM, Lee Morgan wrote:

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?

That's what I'm now thinking. I will try to investigate this aspect tomorrow.

thanks,
Jeff
 _______________________________________________
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: 
 >binding window titles (From: Jeff Gilbert <email@hidden>)
 >Re: binding window titles (From: Lee Morgan <email@hidden>)
 >Re: binding window titles (From: Jeff Gilbert <email@hidden>)
 >Re: binding window titles (From: Lee Morgan <email@hidden>)

  • Prev by Date: Re: binding window titles
  • Next by Date: Re: Crash in AppKit?
  • Previous by thread: Re: binding window titles
  • Next by thread: Re: binding window titles
  • Index(es):
    • Date
    • Thread