Re: Unwind segues
Re: Unwind segues
- Subject: Re: Unwind segues
- From: Rick Mann <email@hidden>
- Date: Tue, 30 Apr 2013 14:25:24 -0700
Oh! I think I found the problem. Looks like I might have to implement
- (BOOL)canPerformUnwindSegueAction:(SEL)action fromViewController:(UIViewController *)fromViewController withSender:(id)sender
which seems rather lame; the default behavior to return YES would be helpful.
On Apr 30, 2013, at 14:21 , Alex Zavatone <email@hidden> wrote:
> Odd. I've never played around with the exits yet. If you hook it up to a UIButton and trigger is manually with a tap, does it get called?
>
> Try that and set a breakpoint on it and see if there is a clear call chain. If it doesn't appear in the execution chain, then it might be one of those hard to spot issues on your part.
>
> If the project is small and you don't mind, you could mail it to me offlist and I could take a peek.
>
> Lemmie know.
>
> On Apr 30, 2013, at 5:17 PM, Rick Mann wrote:
>
>>
>> On Apr 30, 2013, at 14:15 , Alex Zavatone <email@hidden> wrote:
>>
>>> Are you expecting these to be called when a segue unwinds because I can. Of see these declared in any of the docs. If something calls an IBAction, these are generally attached to an IBOutlet (a button) and are triggered on touchUpInside, so they need to be wired up to the button.
>>>
>>> I hope I am understanding you correctly.
>>
>> The button is connected to the "EXIT" bit in the Storyboard. When you do that in IB (control-click on the button, drag to the green EXIT thign at the bottom), then it pops up a menu presenting you with all the -unwindXXX: methods available. I choose one of those. But it never gets called.
>>
>> --
>> Rick
>>
>>
>>
>
--
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