Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: Newbie: TableView question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Newbie: TableView question



> After debugging the code, I've found that the control is
> NOT coming
> inside the Data Source method objectValueForTableColumn() (although the
> control is coming inside another Data Source method
> numberOfRowsInTableView()
> ).

Perhaps you were simply abbreviating, but the signature for the first method
is

- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex

Make sure you are implementing the right method!

Jonathan
_______________________________________________
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: 
 >Newbie: TableView question (From: "Nilay Hazra" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.