Enumerations can be used instead of “Magic Strings” in Swift. One good use is comparisons of segue identifiers.Â

izzy's playlists!
I'd rather be in outer space 🛸
art blog(derogatory)

#extradirty

pixel skylines
NASA

Discoholic 🪩
KIROKAZE
Keni
One Nice Bug Per Day
EXPECTATIONS
Fai_Ryy

bliss lane
Monterey Bay Aquarium
The Bowery Presents
Cosmic Funnies
RMH

shark vs the universe
"I'm Dorothy Gale from Kansas"

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from Argentina

seen from Malaysia

seen from United States

seen from France
seen from United States

seen from Switzerland

seen from New Zealand
seen from United States

seen from United States
seen from United States
seen from Canada
seen from United States
seen from United States

seen from Netherlands
seen from France
@whatilearnedinswift
Enumerations can be used instead of “Magic Strings” in Swift. One good use is comparisons of segue identifiers.Â

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Swift 1.2 got rid of the required, parameterless initialiser of UIViewController. No longer can we call UIViewController()
Swift 1.2 includes improvements to the language, this includes breaking changes. This post documents the main highlights of what’s changed.Â
Topics covered: as, swift enums, let, if let, sets
To migrate Swift code to use Swift 1.2 a handy migrator tool can be found in Xcode at Edit > Convert > To Latest Swift Syntax...
For in depth documentation of all the changes with Xcode 6.3 see the release notes.
For a more in depth view of the highlights Ray Wenderlich also goes into a bit more depth.
It turns out that being open ended decreases performance. See how in Swift performance can be improved by specifying final / private /Â Whole Module Optimization
Check out here how to turn on Whole Module Optimization in Xcode 6.3