• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: / two questions /
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >/ two questions / (From: "TM Systems::Luis Poján" <email@hidden>)

  • Prev by Date: Re: / two questions /
  • Next by Date: Bindings and 'failed assertion'
  • Previous by thread: Re: / two questions /
  • Next by thread: Re: / two questions /
  • Index(es):
    • Date
    • Thread