What is a deprecated push segue? (iOS 8)

cheznead picture cheznead · Oct 10, 2014 · Viewed 29k times · Source

I have no idea what deprecated means in this context. I am new to programming and am making my first couple of apps in Xcode 6. Today I was making a to-do list app and when connecting to the scene where the user can input a new to-do item to add to main table, I was invited to use a push segue. It mentioned that it is deprecated which it doesn't seem to have been in Xcode 5 (which is the version tutorial uses).

Can anyone explain this to me? I know the push segue allows for backward navigation but that's about all I know!

Thanks a lot.

Answer

Rumin picture Rumin · Oct 10, 2014

The word 'deprecated' means the function is removed and will be no longer available in future ios versions from the point at which it was deprecated . If u continue to use this deprecated functions, then the apps may begin to crash at that function in respective ios versions.

'Push deprecated ' means the storyboard supports 'PUSH SEGUE' no more in ios8 in XCode6. Use 'SHOW' instead of 'PUSH'.

You can see the same issue here in this question:

Adaptive segue in storyboard Xcode 6. Is push deprecated?