• 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: Making an NSOutlineView by Default have 1 Parent and 1 Child.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making an NSOutlineView by Default have 1 Parent and 1 Child.


  • Subject: Re: Making an NSOutlineView by Default have 1 Parent and 1 Child.
  • From: Volker in Lists <email@hidden>
  • Date: Mon, 10 Aug 2009 13:55:37 +0200

Hi,

on startup check if you have already data in your data container. If no - create data accordingly to your needs so it is displayed in the outlineview.

You might consider phrasing your question differently, and describe what you have tried already. It would make helping you more easy.

Cheers,
Volker


Am 10.08.2009 um 12:45 schrieb Joshua Garnham:

What I am trying to do is that when my App is first opened the NSOutlineView will already have A Parent and A Child, the child being inside the parent, like in this picture, http://www.grabup.com/uploads/7490ffebda697ef976c3d6a3b57323ba.png .

What code would I need to do this?

Thanks,
Josh.




_______________________________________________

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

_______________________________________________

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


References: 
 >Making an NSOutlineView by Default have 1 Parent and 1 Child. (From: Joshua Garnham <email@hidden>)

  • Prev by Date: Re: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.
  • Next by Date: Re: Testing if a NSPipe has available data
  • Previous by thread: Making an NSOutlineView by Default have 1 Parent and 1 Child.
  • Next by thread: Maintaining an ordered array of attributes in an NSTextStorage subclass
  • Index(es):
    • Date
    • Thread