• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't connect to Exit in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't connect to Exit in IB


  • Subject: Re: Can't connect to Exit in IB
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 03 Feb 2014 09:50:19 -0800

On Fri, 24 Jan 2014 16:24:19 -0800, Quincey Morris <email@hidden> said:
>On Jan 24, 2014, at 16:14 , Rick Mann <email@hidden> wrote:
>
>> Where is that documented? I don't see it in UIViewController.
>
>Actually, it was a tech note, which I found by searching the developer site for “unwind segue”:
>
>	https://developer.apple.com/library/ios/technotes/tn2298/_index.html

I didn't know about the tech note, but this is correctly documented in my book.

Basically, the rule is that the Exit target will work if IB can see _any_ view controller class that has a correctly constructed unwind method. It does not have to be a class whose instance is located "up the chain" from the view controller you're working in. IB just needs to see the signature so that you can hook to it.

After that, causing the unwind segue to _work_ correctly (at runtime) is up to you. To my embarrassment, my explanation of how unwind segues work is quite mistaken in the iOS 6 edition of my book, but in the iOS 7 edition I correctly figured it out and described it. m.

--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Static Analyzer doesn't always analyze all touched files?
  • Next by Date: Re: Static Analyzer doesn't always analyze all touched files?
  • Previous by thread: Re: Static Analyzer doesn't always analyze all touched files?
  • Next by thread: Editing a file causes the object file to become duplicated and corrupt???
  • Index(es):
    • Date
    • Thread