When the 1.0 version of Swift was initially released it contains native String, Array and Dictionary types that were bridged with the NSString, NSArray and NSDictionary types. The one noticeable omission was Swift did not contain a native set type. With the 1.2 version of Swift, Apple corrected this omission and added the Set type.
I've written about using the Result enum to return values or errors already. Result guards against errors in the process. There's also a way to guard against latency, often called "Futures". There exist well-crafted solutions in Swift already. Lately, I've been watching interesting talks. Eric ...
Mocking and stubbing in tests is useful to verify behavior and replace collaborating objects with simpler alternatives. Since Swift is statically typed, you can't use a mocking library anymore. But it's trivially simple to write simple mock objects as subclasses in place.
Prior to iOS 9 when the user needs to connect to a web page the URL is
handed off to safari. forcing the user to exit out of your application. In
iOS 9 the Safari View Controller can be used to provide a full web
experience inside of your application. In this tutorial we will display a
webpage inside a Safari View Controller. This tutorial is made in Xcode 7
for iOS 9.