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

2009-08-10 Thread 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.

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

2009-08-10 Thread Volker in Lists
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.