On 28/07/2009, at 7:17 AM, Korei Klein wrote:

Also, how do I determine the index of the column which is the second argument of outlineView:objectValueForTableColumn:byItem.


[[theOutlineView tableColumns] indexOfObject:theTableColumn];

You need to be wary of using the index though - it isn't fixed as the user can drag columns, so it's better whenever possible to use the table column object itself. It should have anything you want to know about the column.

--Graham


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to