• 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
Build objects at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build objects at runtime


  • Subject: Build objects at runtime
  • From: "Peter Karlsson" <email@hidden>
  • Date: Mon, 26 Jul 2004 18:42:08 +0000

Dear list!

Attached to my main window is a drawer.

When the user press a button I want to programatically build a tabview with 1 - 20 tabs depending on what the user decides to do.

Under the different tabs I want to build buttons, sliders and so on, also depending on what the user decides to do.

I want the tabview to show up in the drawer next time the user opens the drawer. And I want the tabview to be saved so the next time the user opens the app everything is still there.

I can't do this in IB because it's the user that decides at runtime how many tabs, buttons, sliders and so on that is gonna be used. I suppose I must programatically build a nib file at runtime, but how?

Can someone please give me some guidelines how to do all this so I can continue search on the internet for more information?

Please feel free to ask me questions if it's unclear what I want to do.

Best regards Peter

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________
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.


  • Follow-Ups:
    • Re: Build objects at runtime
      • From: Clark Cox <email@hidden>
    • Re: Build objects at runtime
      • From: Steve Sims <email@hidden>
  • Prev by Date: Re: NSMutableArray, TableView, Bindings and Sorting
  • Next by Date: NSCombobox binding
  • Previous by thread: Re: What happened to my logging output ?!
  • Next by thread: Re: Build objects at runtime
  • Index(es):
    • Date
    • Thread