So whats the deal with NSBrowser?
So whats the deal with NSBrowser?
- Subject: So whats the deal with NSBrowser?
- From: Oliver Cameron <email@hidden>
- Date: Sun, 12 Dec 2004 20:38:59 +0000
Hey guys,
I'm trying to make an app with a NSBrowser in the UI. And I am just
plain stumped as to how to make this work. Basically, at first I went
with a NSOutlineView, so I'm trying to migrate it over, as they sound
like or should use the same type of system.
For example, in a NSTableView datasource, you set its data by
numberOfRows and objectValueForTableColumn. I noticed there was a
similar numberOfRows method for NSBrowser, and I fed it the same data
as the NSOutlineView. I noticed in the example of SimpleBrowser the
method willDisplayCell. I am guessing this is similar to the
objectValueForTableColumn, but I just don't *get* how it works at all,
how to set the data in the NSBrowser etc. Any simpler examples than the
AppKit example would really help.
Thanks,
Oliver
_______________________________________________
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