Category: Swift 2
Protocol Oriented Programming in Swift
Object Oriented Programming is a paradigm used by programmers many decades to solve computer problems by model them in to classes. In Swift 2.0 a new programming pattern has been introduced known as Protocol Oriented Programming. In this article, we will the three major feature as part of Protocol Oriented Programming Model with Protocols and…
SwiftExpress – Web Application Server in Swift
Swift Express is a simple yet powerful web application written in Apple’s Swift language. This is an initiative started by Crossload Labs using Play Framework and Express.js Installation SwiftExpress GitHub provides a well documented steps for installing the server on Mac OS X and Linux. I tried this on Mac OS X and the whole…
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. guard, try and catch [code language=”swift”]func printISPDetails() { let url = NSURL(string: “http://www.telize.com/geoip”) let request…