iOS Programming Cookbook

Over 50 exciting and powerful recipes to help you unearth the promise of iOS programming
Preview in Mapt

iOS Programming Cookbook

Hossam Ghareeb

1 customer reviews
Over 50 exciting and powerful recipes to help you unearth the promise of iOS programming
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.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
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


iOS Programming Cookbook Book Cover
iOS Programming Cookbook
$ 35.99
$ 10.00
iOS 10 Programming for Beginners Book Cover
iOS 10 Programming for Beginners
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $55.98
Add to Cart

Book Details

ISBN 139781786460981
Paperback520 pages

Book Description

Do you want to understand all the facets of iOS programming and build complex iOS apps? Then you have come to the right place. This problem-solution guide will help you to eliminate expensive learning curves and focus on specific issues to make you proficient at tasks and the speed-up time involved.

Beginning with some advanced UI components such as Stack Views and UICollectionView, you will gradually move on to building an interface efficiently.

You will work through adding gesture recognizer and touch elements on table cells for custom actions. You will work with the Photos framework to access and manipulate photos. You will then prepare your app for multitasking and write responsive and highly efficient apps. Next, you will integrate maps and core location services while making your app more secure through various encryption methods. Finally, you will dive deep into the advanced techniques of implementing notifications while working with memory management and optimizing the performance of your apps. By the end of the book, you will master most of the latest iOS 10 frameworks.

Table of Contents

Chapter 1: Swift Programming Language
Introduction
Using closures to create self-contained code
Creating enumerations to write readable code
Working with protocols and delegates
Using extensions to extend classes functionality
Working with memory management and ARC
Using error handling
Using generics to write generic and reusable code
Chapter 2: The Essentials
Introduction
Using UIView via code or interface builder to build your own custom views
Working with navigation controller and navigation bar
Working with stack views
Working with UICollectionView
Working with gestures like swipe, pan, rotation, and tap
Using 3D touch
Chapter 3: Integrating with Messages App
Introduction
Integrating iMessage app with sticker pack
Integrating iMessage app with iMessage app
Chapter 4: Working with Interface Builder
Introduction
Using storyboards
Working with Autolayout and constraints
Designing your interface builder for any size classes in one storyboard
Embedding view controllers using container view
Chapter 5: Working with UITableView
Introduction
Working with scroll view
Using TableView sections, headers and footers
Using custom cells
Resizing table view cells dynamically
Editing table views
Chapter 6: Animations and Graphics
Introduction
Drawing text, images, lines, rectangles, and gradients
Animating shapes drawn with UIBezierPath
Animating UIViews
Chapter 7: Multimedia
Introduction
Working with audio capabilities
Playing videos
Capturing photos and videos
Using filters with CoreImage
Chapter 8: Concurrency
Introduction
Using Dispatch queues
Using Operation queues
Using Operation subclassing
Chapter 9: Location Services
Introduction
Detecting user location
Displaying pins in map view
Getting directions between locations
Working with geofencing
Chapter 10: Security and Encryption
Introduction
Using Touch ID for user authentication
Working with Keychain
Encryption
Chapter 11: Networking
Introduction
Using NSURLSession API for network connections
Parsing JSON data
Social sharing
Chapter 12: Persisting Data with Core Data
Introduction
Designing data models
Reading and inserting records to Core Data
Updating and deleting records from Core Data
Chapter 13: Notifications
Introduction
Setting up Push Notifications
Setting up a local server to send Push Notifications
Working with interactive Push Notifications
Working with local notifications
Chapter 14: App Search
Introduction
App indexing using NSUserActivity
App indexing using Core Spotlight APIs
Chapter 15: Optimizing Performance
Introduction
Memory management with ARC
Measuring performance
Measuring energy impact
On-demand resources

What You Will Learn

  • Build your own custom UIViews through code or the interface builder
  • Implement a dynamic and interactive interface in an iOS app
  • Work on various graphics related elements and the process of using them together to make meaningful shapes
  • Use the side over and split view to interact with multiple apps concurrently
  • Encrypt JSON calls to make the app more secure
  • Work on web markup feature to enhance search optimization

Authors

Table of Contents

Chapter 1: Swift Programming Language
Introduction
Using closures to create self-contained code
Creating enumerations to write readable code
Working with protocols and delegates
Using extensions to extend classes functionality
Working with memory management and ARC
Using error handling
Using generics to write generic and reusable code
Chapter 2: The Essentials
Introduction
Using UIView via code or interface builder to build your own custom views
Working with navigation controller and navigation bar
Working with stack views
Working with UICollectionView
Working with gestures like swipe, pan, rotation, and tap
Using 3D touch
Chapter 3: Integrating with Messages App
Introduction
Integrating iMessage app with sticker pack
Integrating iMessage app with iMessage app
Chapter 4: Working with Interface Builder
Introduction
Using storyboards
Working with Autolayout and constraints
Designing your interface builder for any size classes in one storyboard
Embedding view controllers using container view
Chapter 5: Working with UITableView
Introduction
Working with scroll view
Using TableView sections, headers and footers
Using custom cells
Resizing table view cells dynamically
Editing table views
Chapter 6: Animations and Graphics
Introduction
Drawing text, images, lines, rectangles, and gradients
Animating shapes drawn with UIBezierPath
Animating UIViews
Chapter 7: Multimedia
Introduction
Working with audio capabilities
Playing videos
Capturing photos and videos
Using filters with CoreImage
Chapter 8: Concurrency
Introduction
Using Dispatch queues
Using Operation queues
Using Operation subclassing
Chapter 9: Location Services
Introduction
Detecting user location
Displaying pins in map view
Getting directions between locations
Working with geofencing
Chapter 10: Security and Encryption
Introduction
Using Touch ID for user authentication
Working with Keychain
Encryption
Chapter 11: Networking
Introduction
Using NSURLSession API for network connections
Parsing JSON data
Social sharing
Chapter 12: Persisting Data with Core Data
Introduction
Designing data models
Reading and inserting records to Core Data
Updating and deleting records from Core Data
Chapter 13: Notifications
Introduction
Setting up Push Notifications
Setting up a local server to send Push Notifications
Working with interactive Push Notifications
Working with local notifications
Chapter 14: App Search
Introduction
App indexing using NSUserActivity
App indexing using Core Spotlight APIs
Chapter 15: Optimizing Performance
Introduction
Memory management with ARC
Measuring performance
Measuring energy impact
On-demand resources

Book Details

ISBN 139781786460981
Paperback520 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

iOS 10 Programming for Beginners Book Cover
iOS 10 Programming for Beginners
$ 39.99
$ 10.00
Mastering macOS Programming Book Cover
Mastering macOS Programming
$ 35.99
$ 10.00
Swift 3 Object-Oriented Programming - Second Edition Book Cover
Swift 3 Object-Oriented Programming - Second Edition
$ 31.99
$ 10.00
Mastering iOS 11 Programming - Second Edition Book Cover
Mastering iOS 11 Programming - Second Edition
$ 35.99
$ 10.00
Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 10.00
Mastering Swift 4 - Fourth Edition Book Cover
Mastering Swift 4 - Fourth Edition
$ 35.99
$ 10.00