Re: view based NSTable View - button not firing
Re: view based NSTable View - button not firing
- Subject: Re: view based NSTable View - button not firing
- From: Keary Suska <email@hidden>
- Date: Wed, 24 Jul 2013 07:13:59 -0600
On Jul 23, 2013, at 11:14 PM, Kyle Sluder wrote:
> On Tue, Jul 23, 2013, at 12:42 PM, Keary Suska wrote:
>
>> I didn't look at the attachment but is the button the "root" view for the
>> cell, or is it a subview? I ask as I have encountered that even when you
>> set up a table view as view-based that it will still behave in strange
>> ways as if it were cell-based whenever a cell's root view has an NSCell
>> that is acceptable in a cell-based table view, such as text fields and
>> buttons. If this is the case, the solution is to embed your button in an
>> NSView.
>
> Wouldn't it be better to use an NSTableCellView instead of a plain
> NSView?
Other than having the objectValue support built-in, what would be the particular value of using an NSTableCellView? The docs are ambivalent about which approach to use...
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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