• 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
Dynamically loading a part of a Window in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically loading a part of a Window in Cocoa


  • Subject: Dynamically loading a part of a Window in Cocoa
  • From: Debajit Adhikary <email@hidden>
  • Date: Wed, 1 Jul 2009 00:21:26 -0700

I have an area of a Window (in my MainMenu.xib) which I'd like to populate
dynamically with unrelated "views" such as an NSTable, IKImageBrowserView
etc. at different points of time depending on some user-selected criteria.

   - How do I define this area of the window such that it can be "replaced"
   with different views?
   - How do I attach a table or some other view to this area of the window?

(Is it enough to place a generic NSView there and add a subview each time?
I'm fairly new to Cocoa, so any pointers are welcome)
_______________________________________________

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: Dynamically loading a part of a Window in Cocoa
      • From: Robert Martin <email@hidden>
    • Re: Dynamically loading a part of a Window in Cocoa
      • From: "John C. Randolph" <email@hidden>
    • Re: Dynamically loading a part of a Window in Cocoa
      • From: Thomas Davie <email@hidden>
  • Next by Date: Drawing the background of a single row in NSTableView
  • Next by thread: Re: Dynamically loading a part of a Window in Cocoa
  • Index(es):
    • Date
    • Thread