Introduction to Swift: Dictionaries

Introduction to Swift: Dictionaries

dictionary is a container that stores multiple values of the same type. Each value is associated with a unique key, which acts as an identifier for that value within the dictionary. Unlike items in an array, items in a dictionary do not have a specified order. In this tutorial we will look at some common functions in Swift applied on dictionaries. To follow this tutorial you will need Xcode 6 and start a playground file. Xcode 6 can be downloaded from Apple's developer portal. 

Read More

Introduction to Swift: Arrays

Introduction to Swift: Arrays

An array stores multiple values of the same type in an ordered list. Different from Objective-C arrays in Swift can contain only one type at a time, which is less error.prone. In this tutorial we will show the most common functions applied on arrays. To follow this tutorial you will need Xcode 6 and start a playground file. Xcode 6 can be downloaded from Apple's developer portal.

Read More