On 26 Jun, 2014, at 7:58 am, Rick Mann <rm...@latencyzero.com> wrote:
> Yes, I know all of that. > > Here's why I asked the question in the subject: A UIView cannot, by itself, > perform a segue (at least, I don't know how). A UIViewController can do that. > > Which is why I was asking how a UIButton does it (when you wire it up in IB). > Then in my -stuffToDo:, I could perform the segue. But I didn't like the idea > of adding a viewController property to my cells, because it seemed > heavy-handed. Really, I just wanted to pass along some arbitrary data with > the action message. > > In the end, I used an associated object. > If there's a UIViewController somewhere, it's in the responder chain. I would expect the UIButton, when hooked up in IB, just walks up that looking for the view controller. _______________________________________________ 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