Welcome to the Treehouse Community
Looking to learn something new?
Nicolo Figiani4,012 Points
Is that true that push and modal segues are deprecated?
in the iOS developer library in the "Segue types" section (https://developer.apple.com/library/ios/recipes/xcode_help-IB_storyboard/chapters/StoryboardSegue.html), is reported that both "modal" and "push segues" are deprecated.
Is that true? Do you know what segues we can use instead and how they work? A reference to "Show", "Show Detail" and "Present Modally" is done but who knows actually how do they work?
Dominic Bryan14,452 Points
From what xcode is telling me push and modal (along with replace and popover) are all deprecated.
But when creating a segue you may notice that under adaptive segues it says this: -Show(e.g. Push) -Show Detail(e.g. Replace) -Present Modally -Present as Popover
For example in a app I built I have a table view of stories that when you select a row the segue Show Detail(e.g. Replace) is used to show the detail of the story.
Hoped this helped