Re: NSBrowser matrix
Re: NSBrowser matrix
- Subject: Re: NSBrowser matrix
- From: Fritz Anderson <email@hidden>
- Date: Sun, 26 Jun 2011 06:34:20 -0500
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 (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