Re: How does a UIButton perform a segue?
Re: How does a UIButton perform a segue?
- Subject: Re: How does a UIButton perform a segue?
- From: Rick Mann <email@hidden>
- Date: Wed, 25 Jun 2014 16:06:40 -0700
On Jun 25, 2014, at 16:05 , Quincey Morris <email@hidden> wrote:
> On Jun 25, 2014, at 16:00 , Rick Mann <email@hidden> wrote:
>
>> The button is the sender. But there's no way to determine in which cell that button is.
>
> Sure there is. Walk up the tree of superviews from the button till you find the enclosing cell.
Well, I suppose, but that sort of forces the -prepare method to know a lot about the view hierarchy. I'd rather not do that.
--
Rick
_______________________________________________
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