
iOS 14 Programming for Beginners
Get started with building iOS apps with Swift 5.3 and Xcode 12, 5th Edition
- 766 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
iOS 14 Programming for Beginners
Get started with building iOS apps with Swift 5.3 and Xcode 12, 5th Edition
About this book
Publisher's note: This edition from 2020 is outdated and does not make use of the most recent iOS and swift features. A new sixth edition, updated for iOS 15 and including new advanced topics, such as Mac Catalyst, SwiftUI, Swift Concurrency, and SharePlay, has now been published
Key Features
- Explore the latest features of Xcode 12 and the Swift 5.3 programming language in this updated fifth edition
- Kick-start your iOS programming career and have fun building your own iOS apps
- Discover the new features of iOS 14 such as Mac Catalyst, SwiftUI, widgets and App Clips
Book Description
If you're looking to work and experiment with powerful iOS 14 features such as widgets and App Clips to create your own apps, this iOS programming guide is for you. The book offers a comprehensive introduction for experienced programmers who are new to iOS, taking you through the entire process of learning the Swift language, writing your own apps, and publishing them on the App Store.
Fully updated to cover the new iOS 14 features, along with Xcode 12 and Swift 5.3, this fifth edition of iOS 14 Programming for Beginners starts with an introduction to the Swift programming language and shows you how to accomplish common programming tasks with it. You'll then start building the user interface (UI) of a complete real-world app using the storyboards feature in the latest version of Xcode and implement the code for views, view controllers, data managers, and other aspects of mobile apps. The book will also help you apply iOS 14 features to existing apps and introduce you to SwiftUI, a new way to build apps for all Apple devices. Finally, you'll set up testers for your app and understand what you need to do to publish your app on the App Store.
By the end of this book, you'll not only be well versed in writing and publishing applications, but you'll also be able to apply your iOS development skills to enhance existing apps.
What you will learn
- Get to grips with the fundamentals of Xcode 12 and Swift 5.3, the building blocks of iOS development
- Understand how to prototype an app using storyboards
- Discover the Model-View-Controller design pattern and how to implement the desired functionality within an app
- Implement the latest iOS features, such as widgets and App Clips
- Convert an existing iPad app into an Apple Silicon Mac app
- Design, deploy, and test your iOS applications with design patterns and best practices
Who this book is for
This book is for anyone who has programming experience but is new to Swift and iOS app development. Experienced programmers looking to explore the latest iOS 14 features will also find this book useful.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Section 1: Swift
- Chapter 1, Getting Familiar with Xcode
- Chapter 2, Simple Values and Types
- Chapter 3, Conditionals and Optionals
- Chapter 4, Range Operators and Loops
- Chapter 5, Collection Types
- Chapter 6, Functions and Closures
- Chapter 7, Classes, Structures, and Enumerations
- Chapter 8, Protocols, Extensions, and Error Handling
Chapter 1: Getting Familiar with Xcode
- Downloading and installing Xcode from the App Store
- Understanding the Xcode user interface
- Running the app in the iOS simulator
- Using an iOS device for development
Technical requirements
- An Apple Mac computer running macOS 10.15 Catalina or macOS 11.0 Big Sur
- An Apple ID (if you don't have one, you will create one in this chapter)
- Optionally, an iOS device running iOS 14
Downloading and installing Xcode from the App Store
- Choose App Store from the Apple menu.
- In the search field in the top-right corner, type Xcode and press the Return key.
- You should see Xcode in the search results. Click Get and click Install.
- If you have an Apple ID, type it in the Apple ID textbox. If you don't have an Apple ID, click the Create Apple ID button and follow the step-by-step instructions to create one:
Figure 1.1 โ Apple ID creation dialog boxImportant informationYou can see more information on how to create an Apple ID at this link: https://support.apple.com/en-us/HT204316#appstore - Once Xcode has been installed, launch it. You should see the following ...
Table of contents
- iOS 14 Programming for Beginners Fifth Edition
- Why subscribe?
- Preface
- Section 1: Swift
- Chapter 1: Getting Familiar with Xcode
- Chapter 2: Simple Values and Types
- Chapter 3: Conditionals and Optionals
- Chapter 4: Range Operators and Loops
- Chapter 5: Collection Types
- Chapter 6: Functions and Closures
- Chapter 7: Classes, Structures, and Enumerations
- Chapter 8: Protocols, Extensions, and Error Handling
- Section 2:Design
- Chapter 9: Setting Up the User Interface
- Chapter 10: Building Your User Interface
- Chapter 11: Finishing Up Your User Interface
- Chapter 12: Modifying and Configuring Cells
- Section 3:Code
- Chapter 13: Getting Started with MVC and Collection Views
- Chapter 14: Getting Data into Collection Views
- Chapter 16: Getting Started with MapKit
- Chapter 17: Getting Started with JSON Files
- Chapter 18: Displaying Data in a Static Table View
- Chapter 19: Getting Started with Custom UIControls
- Chapter 20: Getting Started with Cameras and Photo Libraries
- Chapter 21: Understanding Core Data
- Section 4:Features
- Chapter 22: Getting Started with Apple Silicon Macs
- Chapter 23: Getting Started with SwiftUI
- Chapter 24: Getting Started with Widgets
- Chapter 25: Getting Started with App Clips
- Chapter 26: Testing and Submitting Your App to the App Store
- Other Books You May Enjoy