Download Intermediate iOS Programming with Swift: iOS 10 and Swift 3 - Programming Ebook


Download Programming Ebook

Thursday, July 13, 2017

Download Intermediate iOS Programming with Swift: iOS 10 and Swift 3

Intermediate iOS Programming

Book Details 
             TitleIntermediate iOS Programming with Swift
         Author: Simon Ng
     Publisher: Hacking with Swift
    Language: English
        SubjectSwift / Computers & Technology / Programming / Apple Programming
         Format: PDF


At the time of this writing, the Swift programming language has been around for more than two year. The new programming language has gained a lot of traction and continues to evolve, and is clearly the future programming language of iOS. If you are planning to learn a programming language this year, Swift should be on the top of your list.

I love to read cookbooks. Most of them are visually appealing, with pretty and delicious photos involved. That's what gets me hooked and makes me want to try out the recipes. When I started off writing this book, the very first question that popped into my mind was "Why are most programming books poorly designed?" iOS and its apps are all beautifully crafted - so why do the majority of technical books just look like ordinary textbooks?

I believe that a visually stunning book will make learning programming much more effective and easy. With that in mind, I set out to make one that looks really great and is enjoyable to read. But that isn't to say that I only focus on the visual elements. The tips and solutions covered in this book will help you learn more[…]”

Excerpt From: Simon Ng. “Intermediate iOS Programming with Swift: iOS 10 and Swift 3.” iBooks. 

“Who Is This Book for?

This book is intended for developers with some experience in the Swift programming language and with an interest in developing iOS apps. It is not a book for beginners. If you have some experience in Swift, you will definitely benefit from this book.

If you are a beginner and want to learn more about Swift, you can check out our beginner book at

Beginning iOS 10 Programming with Swift PDF

Where to Download the Source Code?

I will build a demo app with you in each chapter of the book, and in this way walk you through the APIs and frameworks. At the end of the chapters, you will find the download links of the final projects for your reference. You are free to use the source code and incorporate it into your own projects. Both personal and commercial projects are allowed. The only exception is that they may not be reused in any way in tutorials or textbooks, whether in print or digital format. If you want to use it for educational purpose, attribution is required.”

Chapter 1 Building Adaptive User Interfaces

Building Adaptive User Interfaces

In the beginning, there was only one iPhone with a fixed 3.5-inch display. It was very easy to design your apps; you just needed to account for two different orientations (portrait and orientation). Later on, Apple released the iPad with a 9.7-inch display. If you were an iOS developer at that time, you had to create two different screen designs (i.e. storyboards / XIBs) in Xcode for an app - one for the iPhone and the other for the iPad.

Gone are the good old days. Fast-forward to 2015: Apple's iPhone and iPad lineup has changed a lot. With the launch of the iPhone 6 and iPhone 6 Plus (now iPhone 7 and 7 Plus), your apps are required to support an array of devices with various screen sizes and 

“resolutions including:

iPhone 4/4s (3.5-inch)
iPhone 5/5c/5s (4-inch)
iPhone 6/6s/7 (4.7-inch)
iPhone 6/6s/7 Plus (5.5-inch)
iPad / iPad 2 / iPad Air / iPad Air 2 (9.7-inch)
iPad Mini / iPad Mini 2 / iPad Mini 3 / iPad Mini 4 (7.9-inch)
iPad Pro (9.7/12.9-inch)

It is a great challenge for iOS developers to create a universal app that adapts its UI for all of the listed screen sizes and orientations. So what can you do to design pixel-perfect apps?

Starting from iOS 8, the mobile OS comes with a new concept called Adaptive User Interfaces, which is Apple's answer to support any size display or orientation of an iOS device. Now apps can adapt their UI to a particular device and device orientation.

This leads to a new UI design concept known as Adaptive Layout. Starting from Xcode 7, the development tool allows developers to build an app UI that adapts to all different devices, screen sizes and orientation using Interface Builder. In Xcode 8, the Interface Builder is further reengineered to streamline the making of adaptive user interface. It even comes with a full live preview of[…]”

“You choose a particular size class and provide your layout specializations. For example, you want to increase the spacing between two labels when a device is in landscape orientation.

In this chapter, I will walk you through all the adaptive concepts such as size classes, by building a universal app. The app supports all available screen sizes and orientations.”

No comments:

Post a Comment