On 26 Jun 2011, at 6:18 AM, Ari Black wrote: >> Second step: Maybe an NSBrowser doesn't instantiate any matrices until you >> have responded to browser:numberOfRowsInColumn: with a non-zero value? >> >> — F > > That's possible, but I've tested adding items to the columns and > SpecialMatrix's initWith...: doesn't get called. > > I do want to point out that I'm implementing > browser:numberOfChildrenOfItem: not browser:numberOfRowsInColumn, does that > make a difference?
Yes. The first returns the number of rows in column n+1, given an item in column n. The second returns whether there are any items in column n at all. — F _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com