This sounds familiar.  I remember something wasn't working in a view-based 
table and I was baffled until I read somewhere that I needed to set its 
delegate.  Usually I make a note to myself about stuff like this, but I can't 
find the exact link that led me to this discovery.  Perhaps one of these:

<http://stackoverflow.com/questions/12266701/how-to-trigger-an-action-from-a-nstablecellview-in-view-based-nstableview-when-u>

<http://forums.bignerdranch.com/viewtopic.php?f=183&t=3896>

It may be worth filing a documentation bug if not an actual API bug.

--Andy

On Jul 24, 2013, at 1:16 AM, Abdul Sowayan <asowa...@vectorworks.net> wrote:

> Hi Kyle,
> 
> I actually did use NSTableCellView. My button didn't work until I hooked up 
> the delegate outlet. 
> 
> Abdul
> 
> Sent from my iPhone
> 
>> On Jul 24, 2013, at 1:14 AM, "Kyle Sluder" <k...@ksluder.com> 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?
>> 
>> --Kyle Sluder
>> 
> 
> 
> _______________________________________________
> 
> 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/aglee%40mac.com
> 
> This email sent to ag...@mac.com


_______________________________________________

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