On May 12, 2012, at 3:53 PM, Kyle Sluder wrote:

> t would be good for you to understand why this is happening.
> 
> When building a view-based table in IB, the NSTableCellView instances you see 
> are actually contained within embedded nibs. This makes sense, because nibs 
> are the standard mechanism by which Cocoa archives and instantiates view 
> instances.

Yes, I discovered that as well by putting a NSLog() inside awakeFromNib, it 
fired about eight times, which is the number of views that are visible in the 
tableview.

Glad I choose wisely to solve it.  I also found the WWDC 2011 video on View 
based tableviews, which has a lot of info. I am still struggling a bit with the 
layout and appearance of all the textviews inside the NSTableCellView, but I'm 
sure I'll get that figured out.

- Koen.
_______________________________________________

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