Re: NSBrowser problems
Re: NSBrowser problems
- Subject: Re: NSBrowser problems
- From: Charles Françoise <email@hidden>
- Date: Wed, 15 Dec 2004 17:48:03 +0200
On Dec 15, 2004, at 5:09 PM, Fritz Anderson wrote:
The normal way to populate an NSBrowser is to set a delegate object
that responds to browser:willDisplayCell:atRow:column: and either
browser:numberOfRowsInColumn: or
browser:createRowsForColumn:inMatrix:.
What you present seems to be none of these methods. You appear to be
bypassing the browser to fill its matrices directly, as though you
were "pushing" your data into the browser rather than allowing the
browser to "pull" the data through your delegate methods.
Yep, that's pretty much what I'm doing. Thought it wasn't right.
I'll try through the delegate, thanks a lot.
Charles
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden