iOS 9 Development Guide Author: Lei pipe Published: 2015
Introduction This book contains 39 chapters, which explain the basic knowledge of iOS 9 application development step by step. This book starts with setting up a development environment, and sequentially explains the basics of Objective-C language, Swift language basics, Cocoa Touch, Xcode Interface Builder interface development, using Xcode to write MVC programs, text boxes and text views, buttons and labels, sliders, Steps and images, switch controls and segment controls, Web view controls, scrollable view controls and page-turn controls, reminders and action tables, toolbars, date pickers, table views, activity indicators, progress bars, and search bars, UIView, view controller, to implement multiple scenes and pop-up boxes, UICollectionView and UIVisualEffectView controls, iPad pop-up box and split view controller, interface rotation, size and full screen processing, graphics, images, layers and animations, sound services, multimedia applications, Positioning processing, reading and writing application data, touch, gesture recognition and Force Touch, development of HomeKit smart home applications, and operations between hardware, development of general project programs, push services and multithreading, Touch ID, game development, HealthKit health Advanced knowledge of application development, WatchKit smart watch development, etc. This book is comprehensive and almost covers the main content required for iOS 9 application development. The content of the book is concise, and the explanation methods are easy to understand, especially suitable for beginners. This book is suitable for iOS beginners, iOS programmers, iPhone developers, iPad developers to study, and can also be used as a teaching book for related professional training schools and colleges and universities.
Table of Contents The first must-have technology chapter Chapter 1. Introduction to IOS Development 2 1.1 Introduction to iOS System 2 1.1.1 History of iOS Development 2 1.1.2 Brand New Version-iOS 9 3 1.2 Start iOS 9 Development Tour 4 1.3 Work desire To do good, you must first sharpen your tools-build a development environment 5 1.3.1 Introduction to Xcode 6 1.3.2 Download and install Xcode 7 6 1.3.3 Create an iOS 9 project and start the simulator 8 1.3.4 Open an existing iOS 9 projects 10 1.4 Common development frameworks in iOS 9 10 1.4.1 Introduction to the Foundation framework 11 1.4.2 Introduction to the Cocoa framework 12 1.4.3 iOS program framework 13 Chapter 2 Detailed explanation using the Xcode development environment 14 2.1 Introduction to basic panels 14 2.1. 1 Debug toolbar 15 2.1.2 Navigation panel introduction 15 2.1.3 Inspector panel 18 2.2 Basic operation of Xcode 7 19 2.2.1 Change company name 19 2.2.2 Narrow the file range by search box 19 2.2.3 Format code 20 2.2.4 Code indentation and auto completion 20 2.2.5 Find and replace in the file 21 2.2.6 Quickly locate to the code line 22 2.2.7 Quickly open the file 22 2.2.8 Use bookmarks 23 2.2.9 Customize the navigation bar 24 2.2 .10 Using Xcode Help 24 2.2.11 Debugging Code 25 2.3 Using Xcode 7 Help System 26 Chapter 3 Objective-C Basics 27 3.1 The Most Dazzling Stars 27 3.1.1 Looking at a Statistics 27 3.1.2 What Is Objective-C 27 3.1.3 Why Choose Objective-C 28 3.2 Advantages and disadvantages of Objective-C 28 3.3 A simple example 29 3.3.1 Editing code using Xcode 29 3.3.2 Introduction to basic elements 31 3.4 Data types and constants 34 3.4.1 Int type 35 3.4.2 Float type 36 3.4.3 double type 36 3.4.4 char type 37 3.4.5 character constant 38 3.4.6 id type 39 3.4.7 qualifier