Category: Swift App Development

Swift Collection View: Phase 2/9

Last week you learned how to implement this feature in the SwiftCollectionView app: Display custom collection view cells in a single section of a collection view. The Plan Today, you will learn how to implement this feature in the SwiftCollectionView app: Enable the user to select a cell in the collection view and display its details in another […]

Swift Collection View: Phase 1/9

In this workshop series, you’ll learn how to use the UICollectionView class-the Swift way. Before you begin, I assume you already know how to code the Collection View using the Objective-C Programming Language. If not then read this six-part Collection View tutorial. It was written in the Objective-C Programming Language. In order to learn how to use the […]

Workshop 26: Generic Function

A generic function is a function that can take parameters of any type and perform some operation with them. Swift Array and Dictionary use generic. Generic solve the problem of creating separate functions that basically perform the same operation; but with a different type. For example; say you wanted to sort  an array of string values […]