• 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: Window setTitle Ignored at Launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window setTitle Ignored at Launch?


  • Subject: Re: Window setTitle Ignored at Launch?
  • From: Chunk 1978 <email@hidden>
  • Date: Sun, 8 Nov 2009 14:48:22 -0500

haven't tried that.  i guess i'm struggling with the idea of
initiating objects before use.  currently (i hope i'm correct) i
believe that IB objects which have IBOutlets do not need to be
initiated in code prior to use, as the connected outlet has already
created a context to the object.  so if i create an IBOutlet to the
window, and set the title of that window during a method that is
called during launch, shouldn't the code change the title of the
window?

On Sun, Nov 8, 2009 at 1:21 PM, Kyle Sluder <email@hidden> wrote:
> On Nov 8, 2009, at 10:05 AM, Chunk 1978 <email@hidden> wrote:
>
>> the method does get called at launch, so that is why i don't
>> understand why the window isn't setting it's title.  i've even moved
>> the code to set the window title to -
>> (void)windowControllerDidLoadNib:(NSWindowController
>> *)windowController with no luck. also, i've added an IBOutlet to the
>> window with no luck.  the window will always launch as "untitled" and
>> only switch to it's appropriate title when the popup menu is toggled.
>
> Have you remembered to override -synchronizeWindowTitleWithDocumentName?
>
> --Kyle Sluder
>
_______________________________________________

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

  • Follow-Ups:
    • Re: Window setTitle Ignored at Launch?
      • From: Graham Cox <email@hidden>
References: 
 >Window setTitle Ignored at Launch? (From: Chunk 1978 <email@hidden>)
 >Re: Window setTitle Ignored at Launch? (From: Jens Alfke <email@hidden>)
 >Re: Window setTitle Ignored at Launch? (From: Chunk 1978 <email@hidden>)
 >Re: Window setTitle Ignored at Launch? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: code data export import strategies
  • Next by Date: NSDocumentController typeForContentsOfURL - inAbsoluteURL is null when path has space in it?
  • Previous by thread: Re: Window setTitle Ignored at Launch?
  • Next by thread: Re: Window setTitle Ignored at Launch?
  • Index(es):
    • Date
    • Thread