iOS Programming Cookbook

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

iOS Programming Cookbook

This ebook is included in a Mapt subscription
Hossam Ghareeb

Over 50 exciting and powerful recipes to help you unearth the promise of iOS programming
$10.00
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

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

Read More Reviews