• 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: GUI Objects on the fly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI Objects on the fly


  • Subject: Re: GUI Objects on the fly
  • From: j o a r <email@hidden>
  • Date: Sat, 22 Mar 2003 22:21:57 +0100

Of course. But you need to ask a more direct question for us to be able to give you any other answer.
I take it that you wonder if you can create GUI elements programatically, and not only in Interface Builder? The answer to that question is of course also yes. IB is only a (very helpful) tool to do what you could have done all in code using the GUI classes, ie. NSWindow, NSButton, NSTextField, etc.
It's easy, bordering on trivial, to read a plist into a NSDictionary. You can then parse the contents of this dictionary to populate your pop up buttons, create additional controls, etc. at runtime.

j o a r

On Saturday, Mar 22, 2003, at 22:10 Europe/Stockholm, Jason Kenney wrote:

Is it possible for a NSPopupButton or a TextField to only appear if a plist specifies it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >GUI Objects on the fly (From: Jason Kenney <email@hidden>)

  • Prev by Date: GUI Objects on the fly
  • Next by Date: NSTextField problem
  • Previous by thread: GUI Objects on the fly
  • Next by thread: Re: GUI Objects on the fly
  • Index(es):
    • Date
    • Thread