Learn iOS 11 Programming with Swift 4 - Second Edition

Begin your iOS development journey using Swift 4 and XCode 9 with this easy to learn, practical guide
Preview in Mapt

Learn iOS 11 Programming with Swift 4 - Second Edition

Craig Clayton

Begin your iOS development journey using Swift 4 and XCode 9 with this easy to learn, practical guide

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learn iOS 11 Programming with Swift 4 - Second Edition Book Cover
Learn iOS 11 Programming with Swift 4 - Second Edition
$ 39.99
$ 28.00
Mastering Swift 4 - Fourth Edition Book Cover
Mastering Swift 4 - Fourth Edition
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781788390750
Paperback812 pages

Book Description

You want to build iOS applications but where do you start? Forget sifting through tutorials and blog posts, this book is a direct route into iOS development, taking you through the basics and showing you how to put the principles into practice. So take advantage of this developer-friendly guide and start building applications that may just take the App Store by storm!

Whether you're an experienced programmer or a complete novice, this book guides you through every facet of iOS development. From Xcode and Swift, the building blocks of modern iOS development, you'll quickly gain a solid foundation to begin venturing deeper into your development journey. Experienced programmers can jump right in and learn the latest iOS 11 features.

You'll also learn advanced topics of iOS design, such as gestures and animations, to give your app the edge. Explore the latest developments in Swift 4 and iOS 11 by incorporating new features, custom-rich notifications, drag and drop features, and the latest developments in SiriKit. With further guidance on beta testing with TestFlight, you'll quickly learn everything you need to get your project on the App Store!

Table of Contents

Chapter 1: Getting Familiar with Xcode
Getting started
The Xcode interface
Summary
Chapter 2: Building a Foundation with Swift
Playgrounds – an interactive coding environment
Data types – where it all starts
Type safety and type inference
Operations with our integers
Summary
Chapter 3: Building on the Swift Foundation
Creating a Playground project
The if statements – having fun with logic statements
Optionals and optional bindings
Functions
Summary
Chapter 4: Digging Deeper
Creating a Playground project
Ranges
Control flow
Summary
Chapter 5: Digging into Collections
Arrays
Dictionaries
Sets
Summary
Chapter 6: Starting the UI Setup
Useful terms
App tour
Project setup
Summary
Chapter 7: Setting Up the Basic Structure
Starting from scratch
Storyboard setup
Summary
Chapter 8: Building Our App Structure in Storyboard
Adding a Collection View Controller
Hooking up our outlets
Creating a custom color
Setting up our cell
Section header
Updating the grid
Adding a modal
Summary
Chapter 9: Finishing Up Our App Structure in Storyboard
Adding our Restaurant List View
Hooking up our outlets
Setting up our cell
Adding Reviews View  
Viewing reviews 
Map Kit View
Summary 
Chapter 10: Designing Cells
Setting up the Explore header  
Setting up the Restaurant cell
Summary
Chapter 11: Designing Static Tables
Setting up cells 
Creating our section headers
Summary
Chapter 12: Designing a Photo Filter and Review Form
Setting up our View Controllers 
Adding our Photo Filter View
Creating reviews
Refactoring the storyboard 
Summary
Chapter 13: Getting Started with the Grid
Understanding the Model View Controller architecture
Controllers and classes
Summary
Chapter 14: Getting Data into Our Grid
Model
Getting data
Connecting to our cell
Hooking up our UI with IBOutlets
Restaurant listing
Summary
Chapter 15: Getting Started with the List
Creating our Location View Controller class
Connecting our Table View with our Location View Controller
Digging into our Table View code
Adding the data source and delegate
Adding locations to our Table View
Creating our first property list (plist)
Adding data to our property list
Creating our location data manager
Working with our data manager
Creating folders
Summary
Chapter 16: Where Are We?
Setting up map annotations
Creating and adding annotations
Map to restaurant detail
Organizing your code
Summary
Chapter 17: Working with an API
Creating an API Manager
Location list
Summary 
Chapter 18: Displaying Data in Restaurant Detail
Adding a navigation button 
Displaying data in our static Table View
Summary
Chapter 19: Foodie Reviews
Getting started with reviews
Displaying ratings in our custom UIControl
Adding our touch events
Setting up the unwind segues
Setting up our rating control 
Creating our review form controller 
Summary 
Chapter 20: Working with Photo Filters
Understanding filters 
Creating our filter scroller 
Getting permission 
Summary
Chapter 21: Understanding Core Data
What is Core Data?
Creating a data model 
Summary
Chapter 22: Saving Reviews
Saving reviews 
Saving photos 
Setting up the cell UI 
Adding Auto Layout
Adding an overall rating 
Summary 
Chapter 23: Universal
Explore
Location listing 
Restaurant listing 
Summary
Chapter 24: iMessages
Understanding iMessages
Implementing our Messages UI 
Creating a framework 
Showing restaurants 
Summary
Chapter 25: Notifications
Starting with the basics 
Customizing our notifications
Summary 
Chapter 26: Just a Peek
Adding 3D Touch quick actions 
Adding favorites 
Updating our Core Data manager 
Summary
Chapter 27: Drag and Drop
Accepting drag from other apps 
Dragging and dropping filter items 
Summary
Chapter 28: SiriKit
Understanding SiriKit
Summary
Chapter 29: Beta and Store Submission
Creating a bundle identifier
Creating a certificate signing request
Creating production and development certificates
Creating a production provisioning profile
Creating a Development Provisioning Profile
Creating an App Store listing
Creating an archive build
Internal and external testing
Summary

What You Will Learn

  • Get to grips with Swift 4 and Xcode 9, the building blocks of Apple development
  • Get to know the fundamentals of Swift 4, including strings, variables, constants, and control flow
  • Discover the distinctive design principles that define the iOS user experience
  • Build a responsive UI and add privacy to your custom-rich notifications
  • Preserve data and manipulate images with filters and effects
  • Bring in SiriKit to create payment requests inside your app
  • Collect valuable feedback with TestFlight before you release your apps on the App Store

Authors

Table of Contents

Chapter 1: Getting Familiar with Xcode
Getting started
The Xcode interface
Summary
Chapter 2: Building a Foundation with Swift
Playgrounds – an interactive coding environment
Data types – where it all starts
Type safety and type inference
Operations with our integers
Summary
Chapter 3: Building on the Swift Foundation
Creating a Playground project
The if statements – having fun with logic statements
Optionals and optional bindings
Functions
Summary
Chapter 4: Digging Deeper
Creating a Playground project
Ranges
Control flow
Summary
Chapter 5: Digging into Collections
Arrays
Dictionaries
Sets
Summary
Chapter 6: Starting the UI Setup
Useful terms
App tour
Project setup
Summary
Chapter 7: Setting Up the Basic Structure
Starting from scratch
Storyboard setup
Summary
Chapter 8: Building Our App Structure in Storyboard
Adding a Collection View Controller
Hooking up our outlets
Creating a custom color
Setting up our cell
Section header
Updating the grid
Adding a modal
Summary
Chapter 9: Finishing Up Our App Structure in Storyboard
Adding our Restaurant List View
Hooking up our outlets
Setting up our cell
Adding Reviews View  
Viewing reviews 
Map Kit View
Summary 
Chapter 10: Designing Cells
Setting up the Explore header  
Setting up the Restaurant cell
Summary
Chapter 11: Designing Static Tables
Setting up cells 
Creating our section headers
Summary
Chapter 12: Designing a Photo Filter and Review Form
Setting up our View Controllers 
Adding our Photo Filter View
Creating reviews
Refactoring the storyboard 
Summary
Chapter 13: Getting Started with the Grid
Understanding the Model View Controller architecture
Controllers and classes
Summary
Chapter 14: Getting Data into Our Grid
Model
Getting data
Connecting to our cell
Hooking up our UI with IBOutlets
Restaurant listing
Summary
Chapter 15: Getting Started with the List
Creating our Location View Controller class
Connecting our Table View with our Location View Controller
Digging into our Table View code
Adding the data source and delegate
Adding locations to our Table View
Creating our first property list (plist)
Adding data to our property list
Creating our location data manager
Working with our data manager
Creating folders
Summary
Chapter 16: Where Are We?
Setting up map annotations
Creating and adding annotations
Map to restaurant detail
Organizing your code
Summary
Chapter 17: Working with an API
Creating an API Manager
Location list
Summary 
Chapter 18: Displaying Data in Restaurant Detail
Adding a navigation button 
Displaying data in our static Table View
Summary
Chapter 19: Foodie Reviews
Getting started with reviews
Displaying ratings in our custom UIControl
Adding our touch events
Setting up the unwind segues
Setting up our rating control 
Creating our review form controller 
Summary 
Chapter 20: Working with Photo Filters
Understanding filters 
Creating our filter scroller 
Getting permission 
Summary
Chapter 21: Understanding Core Data
What is Core Data?
Creating a data model 
Summary
Chapter 22: Saving Reviews
Saving reviews 
Saving photos 
Setting up the cell UI 
Adding Auto Layout
Adding an overall rating 
Summary 
Chapter 23: Universal
Explore
Location listing 
Restaurant listing 
Summary
Chapter 24: iMessages
Understanding iMessages
Implementing our Messages UI 
Creating a framework 
Showing restaurants 
Summary
Chapter 25: Notifications
Starting with the basics 
Customizing our notifications
Summary 
Chapter 26: Just a Peek
Adding 3D Touch quick actions 
Adding favorites 
Updating our Core Data manager 
Summary
Chapter 27: Drag and Drop
Accepting drag from other apps 
Dragging and dropping filter items 
Summary
Chapter 28: SiriKit
Understanding SiriKit
Summary
Chapter 29: Beta and Store Submission
Creating a bundle identifier
Creating a certificate signing request
Creating production and development certificates
Creating a production provisioning profile
Creating a Development Provisioning Profile
Creating an App Store listing
Creating an archive build
Internal and external testing
Summary

Book Details

ISBN 139781788390750
Paperback812 pages
Read More

Read More Reviews

Recommended for You

Mastering Swift 4 - Fourth Edition Book Cover
Mastering Swift 4 - Fourth Edition
$ 35.99
$ 25.20
Mastering iOS 11 Programming - Second Edition Book Cover
Mastering iOS 11 Programming - Second Edition
$ 35.99
$ 25.20
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 25.20
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 16.80
Python: End-to-end Data Analysis Book Cover
Python: End-to-end Data Analysis
$ 71.99
$ 50.40
Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 22.40