view-based nstableview advice
view-based nstableview advice
- Subject: view-based nstableview advice
- From: "Rick C." <email@hidden>
- Date: Mon, 02 Apr 2012 14:58:35 +0800
Hi,
Just trying to make sure I'm on the right track here...so I'm doing my first view-based table view and I do like how I can set a lot of things up in IB like text fields, etc. But I want to customize the rows (give them a gradient, etc.) so am I understanding correctly that I should drag out a custom view in IB onto my table view and set that to a subclass of NSTableRowView, set its identifier to NSTableViewRowViewKey, then do my custom drawing in that subclass? I'm asking because it seems I can do custom drawing in a NSTableCellView subclass as well? Thanks for the pointers,
rc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden