Learn to grab and parse JSON data from a REST interface with Swift. Read the complete article on: http://devdactic.com/rest-api-parse-json-swift/
It uses the SwiftyJSON library http://www.sososwift.com/posts/swiftyjson
I would like to announce the release of RSNetworking 2 for Swift 2. RSNetworking and RSNetworking 2 are network libraries written entirely in the Swift programming language. RSNetworking 2 has all the same great features that RSNetworking has but it is written for Swift 2. This post describes RSNetworking 2 and explains how to use it.
The Observer pattern is one of the design patterns that I tend to use the most. The basic principle behind this pattern is a listener registers with a broadcaster and then at some later point in time the broadcaster notifies the listener when some predefined event happens. This pattern can be used to facilitate the communication between decoupled objects and also to implement a one-to-many relationship. The Observer pattern falls into the behavior pattern category.
One of the many new features with Xcode 7 and Swift 2 is the @testable attribute. While we have been able to do unit testing in previous versions of Xcode and Swift the big drawback has always been that any routine we wanted to test had to have an access level of public. This was a pretty big drawback especially with frameworks where we need to test routines without making them public. This has changed in Xcode 7 and Swift 2. In this post we will demonstrate how to use the new @testable attribute in our test source code to make all public and internal routines usable by our test code but not usable by other frameworks and app targets.