About this ebook
Related to Application Development in iOS 7
Related ebooks
Swift Essentials Rating: 0 out of 5 stars0 ratingsSwift in 30 Days: Build iOS Apps by Learning Swift, Xcode, and SwiftUI in Just Four Weeks (English Edition) Rating: 0 out of 5 stars0 ratingsLearning iOS UI Development: Implement complex iOS user interfaces with ease using Swift Rating: 0 out of 5 stars0 ratingsSo You Want To Be an iOS Developer Rating: 0 out of 5 stars0 ratingsUltimate SwiftUI Handbook for iOS Developers: A complete guide to native app development for iOS, macOS, watchOS, tvOS, and visionOS Rating: 0 out of 5 stars0 ratingsiOS 10 Programming for Beginners Rating: 4 out of 5 stars4/5iOS 13 Programming for Beginners - Fourth Edition: Get started with building iOS apps with Swift 5 and Xcode 11, 4th Edition Rating: 0 out of 5 stars0 ratingsIOS Programming For Beginners: The Simple Guide to Learning IOS Programming Fast! Rating: 0 out of 5 stars0 ratingsSwift Essentials: A Comprehensive Guide to iOS App Development Category Rating: 0 out of 5 stars0 ratingsiOS Programming Cookbook Rating: 0 out of 5 stars0 ratingsLearning Swift Rating: 5 out of 5 stars5/5Game Development with Swift Rating: 5 out of 5 stars5/5Anyone Can Create an App: Beginning iPhone and iPad programming Rating: 0 out of 5 stars0 ratingsiOS Programming: Starter Guide: What Every Programmer Needs to Know About iOS Programming Rating: 2 out of 5 stars2/5Objective-C Memory Management Essentials Rating: 0 out of 5 stars0 ratingsMastering The Spritekit Framework: Develop Professional Games With This New Ios 7 Framework Rating: 0 out of 5 stars0 ratingsBuilding iOS 17 Apps with Xcode Storyboards: Develop iOS 17 Apps with Xcode 15 and Swift Rating: 0 out of 5 stars0 ratingsiOS App Development For Dummies Rating: 0 out of 5 stars0 ratingsMac Application Development For Dummies Rating: 0 out of 5 stars0 ratingsiOS 6 Programming Pushing the Limits: Advanced Application Development for Apple iPhone, iPad and iPod Touch Rating: 0 out of 5 stars0 ratingsAn iOS Developer's Guide to SwiftUI: Design and build beautiful apps quickly and easily with minimum code Rating: 0 out of 5 stars0 ratingsiOS 18 Programming for Beginners: Learn iOS development with Swift 6, Xcode 16, and iOS 18 - your path to App Store success Rating: 0 out of 5 stars0 ratingsiOS 5 Programming Pushing the Limits: Developing Extraordinary Mobile Apps for Apple iPhone, iPad, and iPod Touch Rating: 0 out of 5 stars0 ratingsProgramming with Swift 4.2: Building iOS Apps with Swift, #1 Rating: 0 out of 5 stars0 ratingsCreating iOS apps with Xcode: Learn how to develop your own app (English Edition) Rating: 0 out of 5 stars0 ratingsMastering Xcode: A Developer's Journey Rating: 0 out of 5 stars0 ratingsiOS 8 App Development Essentials Rating: 0 out of 5 stars0 ratingsiOS Developer Solutions Guide: Learn How to Create Stable and Bug-free iOS Apps (English Edition) Rating: 0 out of 5 stars0 ratingsiOS Development with Xamarin Cookbook Rating: 0 out of 5 stars0 ratingsAdvanced iOS 4 Programming: Developing Mobile Applications for Apple iPhone, iPad, and iPod touch Rating: 0 out of 5 stars0 ratings
Programming For You
Access 2019 Bible Rating: 5 out of 5 stars5/5HTML, CSS, and JavaScript Mobile Development For Dummies Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5PHP, MySQL, & JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Unity from Zero to Proficiency (Foundations) Fifth Edition: Unity from Zero to Proficiency, #1 Rating: 5 out of 5 stars5/5Python Projects for Everyone Rating: 0 out of 5 stars0 ratingsMicrosoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsResponsive Web Design with HTML5 and CSS3 Essentials Rating: 5 out of 5 stars5/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Learn PHP in 24 Hours Rating: 0 out of 5 stars0 ratingsLearn SQL in 24 Hours Rating: 5 out of 5 stars5/5Modern C++ Programming Cookbook Rating: 5 out of 5 stars5/5Python Data Structures and Algorithms Rating: 5 out of 5 stars5/5Mastering JavaScript: The Complete Guide to JavaScript Mastery Rating: 5 out of 5 stars5/5Learn SAP Basis in 24 Hours Rating: 5 out of 5 stars5/5Mastering Deep Learning with Keras: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsBeginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Deep Reinforcement Learning: An Essential Guide Rating: 0 out of 5 stars0 ratingsHTML, CSS, & JavaScript All-in-One For Dummies Rating: 0 out of 5 stars0 ratings
Reviews for Application Development in iOS 7
0 ratings0 reviews
Book preview
Application Development in iOS 7 - Begeman Kyle
Table of Contents
Application Development in iOS 7
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Xcode 5 – A Developer's Ultimate Tool
The new user experience
Top-level documentation
Debugger and debug gauges
Automatic configuration with accounts and capabilities
Source control
Asset catalogs
Quick build device selection
Storyboard previews
Summary
2. Foundation Framework – Growing Up
Why Foundation matters
Modules
Precompiled headers – a partial solution
Modules – smart importing
NSProgress
NSArray
NSTimer
NSData
NSURLUtilities
Summary
3. Auto Layout 2.0
Why you should use Auto Layout
Creating our project
Starting our storyboard
Setting up button actions
Using Auto Layout
Applying constraints
Resolving Auto Layout issues
Finishing our menu view
Preparing for navigation
Summary
4. Building Our Application for iOS 7
Designing for iOS 7
The navigation bar and status bar
The new UIKit
Updated app icons
Putting together the pieces
Project organization
Creating the files
Setting up the storyboard
AddNewViewController
FoodDetailViewController
MyFoodsViewController
Summary
5. Creating and Saving User Data
Picking up where we left off
The navigation bar style
Adding our button action
Adding buttons to our navigation bar
Adjusting our storyboard view
Adding our delegates
Using a tap gesture
Getting the image from UIImagePickerController
Adding the text field delegate
Saving the data
Getting the date string
Adding validation
Saving the image
Creating versus loading the .plist file
Adding a new entry
Summary
6. Displaying User Data
Custom cell
Building the cell
Connecting the cell
Creating properties
Adding food
Preparing the table view
Loading data
Displaying data
Showing the detail view
Coding the detail view
Creating blurred images
Finishing our detail view
Pushing the detail view
Summary
7. Manipulating Text with TextKit
What is TextKit?
Dynamic type
Handling updates
Exclusion paths
Adding letterpress
Text formatting
Making text bold and italicizing
Underlining text
Summary
8. Adding Physics with UIKit Dynamics
Motion and physics in UIKit
UIKit Dynamics
Motion effects
Adding gravity
UIDynamicAnimator
UIGravityBehavior
Behavior properties
Creating boundaries
Collisions
Creating invisible boundaries
Dynamic items
Manipulating item properties
Collision notifications
Attaching items to other items
Snapping items
Using motion in our app
Summary
Index
Application Development in iOS 7
Application Development in iOS 7
Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either expressed or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2014
Production Reference: 1120514
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78355-031-9
www.packtpub.com
Cover Image by Pratyush Mohanta (<tysoncinematography@gmail.com>)
Credits
Author
Kyle Begeman
Reviewers
Arnaud Coomans
Jayant C. Varma
Dmitry Volevodz
Commissioning Editor
James Jones
Acquisition Editor
James Jones
Content Development Editor
Rikshith Shetty
Technical Editors
Pramod Kumavat
Mukul Pawar
Copy Editors
Sarang Chari
Adithi Shetty
Project Coordinator
Harshal Ved
Proofreaders
Stephen Copestake
Maria Gould
Paul Hindle
Indexer
Mehreen Deshmukh
Graphics
Yuvraj Mannari
Production Coordinators
Kyle Albuquerque
Conidon Miranda
Cover Work
Conidon Miranda
About the Author
Kyle Begeman is a self-taught programmer, entrepreneur, and educator. With over five years of experience in iOS development, he has produced multiple applications, mostly with large businesses. He frequently produces educational videos and text for others to learn how to program. A self-proclaimed nerd living in the Silicon Valley, Kyle Begeman spends most of his free time listening to/playing music and thinking up the next great project! You can visit his website at www.kylebegeman.com.
For my wife, Kelli. You inspire me every day on our journey through life.
About the Reviewers
Arnaud Coomans is a senior iOS engineer. He has developed various applications, both for iPhone and iPad, and regularly contributes to open source projects. He enjoys reverse engineering, writing libraries, and writing Xcode plugins.
After working for different startups, including his own, Arnaud Coomans is now working on mobile applications for one of the biggest companies in Silicon Valley.
I would like to thank my family and friends for their help and support.
Jayant C. Varma is an Australian author, developer trainer, and consultant with a special focus on mobile development and the use of mobile applications in business. He is the author of the book Learn Lua for iOS Game Development, Apress, and is the Principal Consultant at OZ Apps, a company he founded, specializing in mobile business solutions.
He has been in the IT industry for quite a while and has seen things change from 8-bit computers to 64-bit mobile devices. He has been drawn towards new technology and Usable UI (user friendly and appealing). He has had several roles earlier that have seen him in different countries as the IT Manager for BMW dealerships working on wireless diagnostics and contactless key readers, among other things, to lecturing at the James Cook University and being actively involved with training and workshops for the Apple University Consortium (AUC) and Australian Computer Society (ACS). Among the well-known apps that he, as a developer, has created is the text-based adventure, Z-Day Survival Simulator application.
He has been a reviewer on a couple of Packt Publishing books based on iOS usage and development. He runs a few blogs on development, such as http://howto.oz-apps.com and http://LearnLua.oz-apps.com, among others.
Dmitry Volevodz is an experienced iOS developer. He has been doing freelance software development for a few years, but has now settled in a small company. He does enterprise iOS development, and game development is his hobby. He has written iOS 7 Game Development, Packt Publishing, a title about game development with Sprite Kit.
I thank my wife Olesya for her patience and my son.
www.PacktPub.com
Support files, eBooks, discount offers, and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Support files, eBooks, discount offers, and morehttp://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via web browser
Free access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Preface
Welcome to Application Development in iOS 7. With the release of iOS 7, Apple has completely changed the way we developers think about mobile application design and development. In addition to a complete visual overhaul, iOS 7 offers hundreds of new API and SDK improvements as well as a completely revamped development environment, Xcode 5. This book will walk you through a step-by-step process of