• 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: Need Help Creating an OutlineView for TabView selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need Help Creating an OutlineView for TabView selection


  • Subject: Re: Need Help Creating an OutlineView for TabView selection
  • From: James Housley <email@hidden>
  • Date: Wed, 31 Aug 2005 11:43:55 -0400

Milton Sagen wrote:
Look at the example /Developer/Examples/AppKit/DragNDropOutlineView.

Milt

On Aug 31, 2005, at 07:30, James Housley wrote:

Jeff LaMarche wrote:

I would like to use an NSOutlineView to drive my preferences for selecting the tabs. I am having some trouble creating my datasource for this. I have attached a code attempt that used CFXMLTree, that worked except for I ended up with a root node that only had a subnode, which isn't what I really wanted. I want it to look more like

NSOutlineView asks the DataSource for the number of items and the actual items by sending nil. In your datasource, you should create an array of root items, which you return when item is nil.


I understand that, I am having trouble creating a datasource for this.

Jim

Thank you, this looks like the exact example I was looking for. I had seen it listed and didn't look too closely at it since I wasn't interested in Drag'nDrop for the outline. I only looked at the OutlineView example.


Thanks again,

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
email@hidden      http://www.FreeBSD.org     The Power to Serve
email@hidden  http://www.TheHousleys.net
---------------------------------------------------------------------
The wise man built his network upon Un*x.
    The foolish man built his network upon Windows.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
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: 
 >Need Help Creating an OutlineView for TabView selection (From: James Housley <email@hidden>)
 >Re: Need Help Creating an OutlineView for TabView selection (From: Jeff LaMarche <email@hidden>)
 >Re: Need Help Creating an OutlineView for TabView selection (From: James Housley <email@hidden>)
 >Re: Need Help Creating an OutlineView for TabView selection (From: Milton Sagen <email@hidden>)

  • Prev by Date: Re: Need Help Creating an OutlineView for TabView selection
  • Next by Date: Re: Where can I find information on making my program apple scriptable?
  • Previous by thread: Re: Need Help Creating an OutlineView for TabView selection
  • Next by thread: NSScrollView not responding to mouse-down events
  • Index(es):
    • Date
    • Thread