• 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
Controller Layer + array count + NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Controller Layer + array count + NSOutlineView


  • Subject: Controller Layer + array count + NSOutlineView
  • From: Raphael Sebbe <email@hidden>
  • Date: Fri, 7 Nov 2003 13:06:38 +0100

Hi,

I have an array of Layers:

Layer
{
NSString _name;
NSMutableArray _curves;
}


and I want to show layer names and curve counts in a tableview (_curves is properly init'ed).

I use the "name" key path of NSArrayController for name, it works. I use the "curves.@count" of the same controller, it doesn't work, crashes. Isn't it allowed to access count ?

Second question. I noticed the answer from Scott about using Controller Layer + NSOutlineView, could someone elaborate on this or share its experience as I was not able to fill the outline view at all.

Many thanks,

Raphael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Controller Layer + array count + NSOutlineView
      • From: Brian Webster <email@hidden>
    • Re: Controller Layer + array count + NSOutlineView
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Modifying the array of an NSArrayController
  • Next by Date: Check for updates
  • Previous by thread: Re: Re NSController & undo handling
  • Next by thread: Re: Controller Layer + array count + NSOutlineView
  • Index(es):
    • Date
    • Thread