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 […]
Category: Swift App Development
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 […]
Gone are the days of creating two storyboards files in your iOS project. A storyboard can have one or more scenes and each one represent the app’s user interface or view. So one storyboard is needed for creating the app’s user interfaces and they are automatically displayed on iPhone and iPad devices. The key to making that automation work, […]
Auto Layout is feature of Xcode for creating a dynamic and versatile user interface that responds appropriately to changes in screen size, device orientation. This is possible because Auto Layout uses constraints to define relationships between the user interface controls. In this workshop you learn how to use Auto Layout to add constraints to an […]
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 […]