Book description
A step-by-step guide to learning iOS app development and exploring the latest Apple development tools
Key Features
- Explore the latest features of Xcode 11 and the Swift 5 programming language in this updated fourth edition
- Kick-start your iOS programming career and have fun building your own iOS apps
- Discover the new features of iOS 13 such as Dark Mode, iPad apps for Mac, SwiftUI, and more
Book Description
iOS 13 comes with features ranging from Dark Mode and Catalyst through to SwiftUI and Sign In with Apple. If you're a beginner and are looking to experiment and work with these features to create your own apps, then this updated fourth edition gets you off to a strong start. The book offers a comprehensive introduction for programmers who are new to iOS, covering the entire process of learning the Swift language, writing your own apps, and publishing them on the App Store. This edition is updated and revised to cover the new iOS 13 features along with Xcode 11 and Swift 5.
The book starts with an introduction to the Swift programming language, and 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 latest version of Xcode, and also implement the code for views, view controllers, data managers, and other aspects of mobile apps. The book will then help you apply the latest iOS 13 features to existing apps, along with introducing you to SwiftUI, a new way to design UIs. Finally, the book will take you through setting up testers for your app, and what you need to do to publish your app on the App Store.
By the end of this book, you'll be well versed with how to write and publish apps, and will be able to apply the skills you've gained to enhance your apps.
What you will learn
- Get to grips with the fundamentals of Xcode 11 and Swift 5, 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 the app
- Implement the latest iOS features such as Dark Mode and Sign In with Apple
- Understand how to convert an existing iPad app into a Mac app
- Design, deploy, and test your iOS applications with industry patterns and practices
Who this book is for
This book is for anyone who has programming experience but is completely new to Swift and iOS app development. Experienced programmers looking to explore the latest iOS 13 features will also find this book useful.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: Swift
- Getting Familiar with Xcode
- Simple Values and Types
- Conditionals and Optionals
- Range Operators and Loops
- Collection Types
- Functions and Closures
- Classes, Structures, and Enumerations
- Protocols, Extensions, and Error Handling
- Section 2: Design
- Setting Up the Basic Structure
-
Building Your App Structure in Storyboard
- Technical requirements
- Adding a collection view to the Explore screen
- Connecting outlets in storyboard to the view controller
- Configuring data source methods for the collection view
- Adding a section header to the collection view
- Creating a custom color
- Configuring the collection view cell and section header size
- Presenting a view modally
- Summary
- Finishing Up Your App Structure in Storyboard
- Modifying and Configuring Cells
- Section 3: Code
- Getting Started with MVC and Collection Views
- Getting Data into Collection Views
- Getting Started with Table Views
- Getting Started with MapKit
-
Getting Started with JSON Files
- Technical requirements
- Getting data from JSON files
-
Using data from JSON files in your app
- Storing a user-selected location in LocationViewController
- Adding a view controller for the section header in the Explore screen
- Connecting the section header's label to ExploreViewController
- Adding an unwind action method to the Done button
- Selecting only one location in the Location screen
- Passing location and cuisine information to RestaurantListViewController
- Creating a view controller for the cells on the Restaurant List screen
- Connecting the outlets for RestaurantCell
- Creating RestaurantDataManager
- Configuring MapDataManager to use RestaurantDataManager
- Displaying a custom UIView to indicate no data available
- Displaying a list of restaurants on the Restaurant List screen
- Summary
- Displaying Data in a Static Table View
- Getting Started with Custom UIControls
- Getting Started with Cameras and Photo Libraries
- Understanding Core Data
- Saving and Loading from Core Data
- Section 4: Features
- Getting Started with Dark Mode
- Getting Started with Mac Catalyst
- Getting Started with SwiftUI
- Getting Started with Sign In with Apple
-
Testing and Submitting Your App to the App Store
- Technical requirements
- Getting an Apple Developer account
- Generating a certificate signing request
- Creating development and distribution certificates
- Registering an App ID
- Registering your devices
- Creating provisioning profiles
- Creating icons for your app
- Creating screenshots for your app
- Creating an App Store listing
- Creating an archive build
- Completing the information in App Store Connect
- Testing your app
- Summary
- Other Books You May Enjoy
Product information
- Title: iOS 13 Programming for Beginners - Fourth Edition
- Author(s):
- Release date: January 2020
- Publisher(s): Packt Publishing
- ISBN: 9781838821906
You might also like
book
iOS 14 Programming for Beginners - Fifth Edition
Publisher's note: This edition from 2020 is outdated and does not make use of the most …
book
Mastering iOS 14 Programming - Fourth Edition
Become a professional iOS developer with the most in-depth and advanced guide to Swift 5.3, Xcode …
book
iOS 14 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 12 …
book
iOS 13 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 10 …