UIStoryboardSegue should be cancellable

Originator:subdigital
Number:rdar://11685878 Date Originated:06/17/2012
Status:Open Resolved:
Product:Developer Tools Product Version:iOS 6.0
Classification:Enhancement Reproducible:N/A
 
Summary:

Using storyboards to produce a really simple app view controller sequence, seems like you'd often want to conditionally activate a segue.  There seems to be no clean way of canceling a segue.

What I propose:

add a cancel property to UIStoryboardSegue.  If set to yes inside of prepareForSegue: the segue will not be performed.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!