That's what I was looking for - now, back to my project... tomorrow! :) On Feb 23, 2012, at 2:04 PM, Seth Willits wrote:
> On Feb 23, 2012, at 5:58 AM, William Squires wrote: > >> I have a custom view with an NSBox containing an NSMatrix of button cells >> (radio buttons) When I created the NSMatrix, I told it I wanted 3 of them, >> but in the view hierarchy, I can see the NSMatrix under the NSBox, but it >> has 4 button cells under it, not the three I asked for. > > The top one is the prototype cell for the matrix. It's duplicated when new > cells are added. > > > >> Also, even though I set the tag for each button cell …. > > The sender is the matrix, not the individual cell. > > >> Am I supposed to connect the NSMatrix to the action, and not the individual >> cells? If so, how do I ask for the cell's tag value? > > > You have selectedCell to determine which radio cell is selected, and can get > its tag from that. > > > -- > Seth Willits > > _______________________________________________ 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