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

binding window titles


  • Subject: binding window titles
  • From: Jeff Gilbert <email@hidden>
  • Date: Sat, 4 Jun 2005 20:53:24 -0500

Hopefully this won't fall on deaf ears, with WWDC right around the corner :-)

I am upgrading an app to use bindings (I can see I will eliminate a ton of code, yeah!). I try to bind the window title using a Title with Pattern to include an attribute from an object in the window. If I update said attribute, the window title updates nicely. However, when the window first appears, it has the default window title (i.e. the document title). I even tried putting [self synchronizeWindowTitleWithDocumentName] in windowDidLoad but it has no effect. The only way I can make it work is to also override windowTitleForDocumentDisplayName:. Is there something I am missing?

thanks,
Jeff Gilbert
_______________________________________________
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


  • Follow-Ups:
    • Re: binding window titles
      • From: Jeff Gilbert <email@hidden>
    • Re: binding window titles
      • From: Lee Morgan <email@hidden>
  • Prev by Date: Re: If...then statements
  • Next by Date: Re: binding window titles
  • Previous by thread: Re: Fullscreen code not working (code revisions)
  • Next by thread: Re: binding window titles
  • Index(es):
    • Date
    • Thread