Re: / two questions /
Re: / two questions /
- Subject: Re: / two questions /
- From: Andreas Mayer <email@hidden>
- Date: Thu, 17 Jun 2004 19:01:39 +0200
Am 17.06.2004 um 18:35 schrieb TM Systems::Luis Pojan:
I do
[characterScroll setDataSource: theCharacters]; to set the array as its
data source. When I run the app, I get the following: Illegal
NSTableView data source [] Must implement numberOfRowsInTableView: and
tableView:objectValueForTableColumn:row:
I already implemented numberOfRowsInTableView: and
tableView:objectValueForTableColumn:row: but I keep getting the error.
Show us some code.
Is there an easier way to do the bar graphic? Later on I'm gonna need
some user interaction with those bars...
If you want user interaction you probably want to create a subclass of
NSControl.
And yes, you should do your drawing in drawRect: only.
Andreas
_______________________________________________
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.