I'm working on a project that involves view-based tables largely configured in 
code. I'm actually populating the cells in -tableView:viewForTableColumn:row:, 
and I see the (very) simple example in Apple's docs does the same thing. But 
that leaves me wondering about the role of the datasource method 
-tableView:objectValueForTableColumn:row:. The documents insist it's required, 
but as far as I can see, it's not doing anything. In a simple test, omitting it 
seems to make no difference.

Is it really required, and if so, would it matter if it just returned nil all 
the time? I guess I just see something that's called so often is wasting cycles 
if it's not needed.

-- 
Shane Stanley <sstan...@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to