• 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: HUB Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HUB Windows


  • Subject: Re: HUB Windows
  • From: "Kyle Sluder" <email@hidden>
  • Date: Tue, 22 Jan 2008 16:47:10 -0500

On Jan 22, 2008 4:18 PM, Jeremy <email@hidden> wrote:
> I have an IBOutlet id lyricsText; which is connected to a text field
> within a HUB Panel Window. I have the HUB hidden by default within the
> MainMenu.nib file. I would like to (on command) open up the HUB
> window, change it's title, and change the text of lyricsText. Now I
> feel stupid asking, but can anyone help me out?

First, it's HUD, not HUB.  ;-)

Secondly, this is what one would typically use an NSWindowController
to do.  What you're describing is really easy to do (-[NSWindow
makeKeyAndOrderFront:], -[NSWindow setTitle:], -[NSTextField
setTitle:]), and is made even easier with an NSWindowController
subclass.

I suggest re-reading the model-view-controller conceptual
documentation, and then read about NSWindowController.

--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: HUD Windows
      • From: Jeremy <email@hidden>
References: 
 >HUB Windows (From: Jeremy <email@hidden>)

  • Prev by Date: Re: Connect to Server smb path containing :139 resets / kills Finder
  • Next by Date: Leopard Bluetooth RFCOMM
  • Previous by thread: HUB Windows
  • Next by thread: Re: HUD Windows
  • Index(es):
    • Date
    • Thread