Viewing: try and catch

What is new in Swift 2.0

Lots of new feature have been introduced as part of Swift 2.0. The list includes guard, repeat-while, defer, error handling, protocol extensions, print, pattern matching, early exits, UI Testing, UI Stackview etc. Let us see some of these cool features.The guard statement is used for checking the else part i.e when there is error print […] Read More