Re: View based outline view and custom NSTableCellViews
Re: View based outline view and custom NSTableCellViews
- Subject: Re: View based outline view and custom NSTableCellViews
- From: Seth Willits <email@hidden>
- Date: Thu, 06 Sep 2012 10:11:22 -0700
On Sep 6, 2012, at 7:46 AM, Jean Suisse wrote:
> Instinctively, I would create a subclass of NSTableCellView (MyTableCellView), set the NSTableCellView to be MyTableCellView in IB and connect all the outlets to be able to do this at runtime : [MyTableCellView.MyExtraTextField setXXXValue: …];
That's exactly what you do.
> But IB is not letting me do that. What did I miss ? They do that in the example provided by apple.
I suspect you're grabbing the wrong thing in IB, or IB doesn't know about your cell view subclass etc. The usual things. It's like any other custom class stuff in IB, so there aren't any hidden tricks involved.
Elaborate on "not letting me do that."
--
Seth Willits
_______________________________________________
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