DISCLAIMER This tutorial is intended for people who are just starting out with iOS programming. It doesn’t assume any familiarity with Xcode and only assumes basic knowledge of Swift programming and OOP. In this tutorial you’re going to make a tip calculator iOS application. First Steps To follow along with this tutorial you’ll need to have Xcode installed. Xcode is…
Tag Archive for beginner
Higher Order Functions: Map, Filter, Reduce and more
Introducing Closures One of the great features of Swift is a clean new syntax for first class functions / closures that replaced the quite confusing block syntax. So hopefully we won’t need something like fuckingblocksyntax for Swift. Closures are self-contained blocks of functionality that can be passed around and used in your code. In this article we’ll focus on closures that are…
How to make a simple tableview with iOS 8 and Swift
The first thing that came to mind when I saw Swift was TableViews. This is a step by step tutorial. tl;dr Full Code Create a new project Open Xcode 6, create a new “Single Page Application” and select Swift as the programming language. Add a table view property Open the ViewController.swift class and add a new tableview instance variable below the class…