Application Development with Swift

Develop highly efficient and appealing iOS applications by using the Swift language

Application Development with Swift

This ebook is included in a Mapt subscription
Hossam Ghareeb

1 customer reviews
Develop highly efficient and appealing iOS applications by using the Swift language
$27.99
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785288173
Paperback144 pages

Book Description

After years of using Objective-C for developing apps for iOS/Mac OS, Apple now offers a new, creative, easy, and innovative programming language for application development, called Swift. Swift makes iOS application development a breeze by offering speed, security and power to your application development process. Swift is easy to learn and has awesome features such as being open source, debugging,interactive playgrounds, error handling model, and so on. Swift has simplified its memory management with Automatic Reference Counting (ARC) and it is compatible with Objective-C.

This book has been created to provide you with the information and skills you need to use the new programming language Swift. The book starts with an introduction to Swift and code structure. Following this, you will use playgrounds to become familiar with the language in no time. Then the book takes you through the advanced features offered by Swift and how to use them with your old Objective-C code or projects. You will then learn to use Swift in real projects by covering APIs such as HealthKit, Metal, WatchKit, and Touch ID in each chapter. The book's easy to follow structure ensures you get the best start to developing applications with Swift.

Table of Contents

Chapter 1: Hello Swift
Introduction to Swift
Playgrounds
The code structure
Arrays
Dictionaries
Enum
Functions
Closures
Summary
Chapter 2: Advanced Swift
Type casting and type checking
Using Any and AnyObject
Protocols
Extensions
Generics
Operator functions
Memory management
Using Objective-C and Swift in a single project
Summary
Chapter 3: Touch ID
What is Touch ID?
The LocalAuthentication framework
Summary
Chapter 4: Introduction to HealthKit
What is HealthKit?
HealthKit limitations
HealthKit privacy
Getting started with HealthKit
Summary
Chapter 5: Introduction to Metal
What is Metal?
Features
3D rendering
Other options to work with 3D rendering in iOS
Getting started with Metal
Summary
Chapter 6: Introduction to WatchKit
Apple watch
WatchKit
Working with WatchKit
Summary
Chapter 7: Swift App Extensions
App extensions
Demo
Summary

What You Will Learn

  • Use playgrounds in Xcode to make the writing of Swift code productive and easy
  • Get acquainted with the advanced features of Swift and make complete use of them in your code
  • Add a new method for authentication to your app using Touch ID
  • Develop health-related apps using HealthKit
  • Take your apps to the next level of performance and capability using Metal
  • Develop applications for wearables using WatchKit
  • Use Notification Center to easily access all your notifications
  • Make your users devices more stylish by using Apple's built-in Quick Type keyboard, instead of the native one.

Authors

Table of Contents

Chapter 1: Hello Swift
Introduction to Swift
Playgrounds
The code structure
Arrays
Dictionaries
Enum
Functions
Closures
Summary
Chapter 2: Advanced Swift
Type casting and type checking
Using Any and AnyObject
Protocols
Extensions
Generics
Operator functions
Memory management
Using Objective-C and Swift in a single project
Summary
Chapter 3: Touch ID
What is Touch ID?
The LocalAuthentication framework
Summary
Chapter 4: Introduction to HealthKit
What is HealthKit?
HealthKit limitations
HealthKit privacy
Getting started with HealthKit
Summary
Chapter 5: Introduction to Metal
What is Metal?
Features
3D rendering
Other options to work with 3D rendering in iOS
Getting started with Metal
Summary
Chapter 6: Introduction to WatchKit
Apple watch
WatchKit
Working with WatchKit
Summary
Chapter 7: Swift App Extensions
App extensions
Demo
Summary

Book Details

ISBN 139781785288173
Paperback144 pages
Read More
From 1 reviews

Read More Reviews