• 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: Switch between multiple views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switch between multiple views


  • Subject: Re: Switch between multiple views
  • From: Michael Rothwell <email@hidden>
  • Date: Sun, 6 Feb 2005 20:58:55 -0500

Use an NSTabView with a hidden tab bar, and programatically tell it to display the "right tab".


Michael Rothwell email@hidden

On Feb 6, 2005, at 8:27 PM, Simon Boissonnault wrote:

Here I go... I have a simple tableView with its dataSource, which is an array of dictionaries filled with my own subclasses of objects.

I have a window with the tableView in its upper part and a custom view in its lower part. Here's what I'm trying to do but don't know how : when I select an item in the tableView, the view below becomes the one that corresponds to the item selected. The different views contain buttons, fields, etc...

How can I keep track of these views and to display the right one everytime an item is selected ? Thanks for the help.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Switch between multiple views (From: Simon Boissonnault <email@hidden>)

  • Prev by Date: Re: dealloc never called
  • Next by Date: Re: NS(Array)Controller and To-Many Relationships (how to add objectsfrom one to another)
  • Previous by thread: Switch between multiple views
  • Next by thread: How to delete table rows to delete by dragging them to trash in the dock
  • Index(es):
    • Date
    • Thread