iOS.9.App.Development.Essentials

5星(超过95%的资源)
所需积分/C币:9 2015-11-11 14:02:50 17.22MB PDF
15
收藏 收藏
举报

iOS 9 App Development Essentials is latest edition of this popular book series and has now been fully updated for the iOS 9 SDK, Xcode 7 and the Swift 2 programming language. Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS development environment. An introduction to the architecture of iOS 9 and programming in Swift is provided, followed by an in-depth look at the design of iOS applications and user interfaces. More advanced topics such as file handling, database management, in-app purchases, graphics drawing and animation are also covered, as are touch screen handling, gesture recognition, multitasking, iAds integration, location management, local notifications, camera access and video and audio playback support. Other features are also covered including Auto Layout, Twitter and Facebook integration, App Store hosted in-app purchase content, Sprite Kit-based game development, local map search and user interface animation using UIKit dynamics. Additional features of iOS development using Xcode 7 are also covered, including Swift playgrounds, universal user interface design using size classes, app extensions, Interface Builder Live Views, embedded frameworks, CloudKit data storage and TouchID authentication. The key new features of iOS 9 and Xcode 7 are also covered in detail, including new error handling in Swift 2, designing Stack View based user interfaces, multiple storyboard support, iPad multitasking, map flyover support, 3D Touch and Picture-in-Picture media playback. The aim of this book, therefore, is to teach you the skills necessary to build your own apps for iOS 9. Assuming you are ready to download the iOS 9 SDK and Xcode 7, have an Intel-based Mac and ideas for some apps to develop, you are ready to get started. Table of Contents Chapter 1. Start Here Chapter 2. Joining the Apple Developer Program Chapter 3. Installing Xcode 7 and the iOS 9 SDK Chapter 4. A Guided Tour of Xcode 7 Chapter 5. An Introd
Table of contents Start here 1.1 For New iOS Developers 1.2 For ioS 8 Developers 1.3 Source code download 1.4 Learn to Develop watcheS Apps 5 Feedback 1. 6 Errata 2. Joining the apple developer program 2. 1 Downloading Xcode 7 and the ios 9 SDK 2.2 Apple developer program 2.3 When to Enroll in the Apple developer Program? 2.4 Enrolling in the Apple developer Program 2.5 Summary 3. Installing Xcode 7 and the iOS 9 SDK 3.1 ldentifying if you have an Intel or PowerPC based Mac 3.2 Installing Xcode 7 and the ios 9 SDK 3.3 Starting Xcode 3.4 Adding Your apple id to the Xcode preferences 3.5 Developer and distribution Signing Identities 4.A Guided tour of xcode 7 4.1 Starting Xcode Z 4.2 Creating the iOS App User Interface 4.3 Changing Component Properties 4.4 Adding objects to the User Interface 4.5 Building and running an ios 9 App in Xcode 4.6 Running the app on a Physical iOS device 4.7 Managing Devices and Simulators 4. 8 Dealing with Build errors 4.9 Monitoring Application Performance 4.10 An Exploded view of the User Interface Layout hierarchy 4.11 Summary 5. An Introduction to Xcode 7 Playgrounds 5. 1 What is a Playground? 5.2 Creating a New Playground 5.3 A Basic Swift Playground example 5.4 Viewing results 5.5 Enabling the Timeline slider 5.6 Adding rich Text Comments 5.7 Working with Playground pages 5. 8 Working with UIKit in Playgrounds 5.9 Adding resources to a playground 5.10 Working with Enhanced Live Views 5.11 When to Use Playgrounds 5.12 Summary 6. Swift Data Types, Constants and variables 6.1 Using a Swift Playground 6.2 Swift Data Types 6.2.1 Integer data types 6.2.2 Floating Point Data Types 6.2.3 Bool Data Type 6.2.4 Character Data Type 6.2.5 String Data Type 6.2.6 Special Characters/Escape Sequences 6.3 Swift Variables 6. 4 Swift constants 6.5 Declaring Constants and Variables 6.6 Type Annotations and Type Inference 6. 7 The Swift Tuple 6. 8 The Swift Optional Type 6.9 TyDe Casting and Type checking 6.10 Summary 7. Swift Operators and Expressions Z1 Expression Syntax in Swift 7.2 The Basic Assignment Operator 7.3 Swift Arithmetic Operators 7.4 Compound Assignment Operators 7.5 Increment and Decrement Operators 7.6 Comparison operators 7.7 Boolean Logical operators 7.8 Range operators 7.9 The Ternary operator 7.10 Bitwise Operators 7.10.1 Bitwise not 7.10.2 Bitwise and 7.10.3 Bitwise or 7.10 4 Bitwise Xor 710.5 Bitwise left shift 7. 10.6 Bitwise Right Shift 7.11 Compound Bitwise Operators 7.12 Summary 8. Swift Flow Control 8. 1 Looping Flow Control 8.2 The Swift for statement 8.2.1 The Condition-Increment for Loop 8.2.2 The for-in LOOp 8.2.3 The while loop 8. 3 The repeat. while loop 8.4 Breaking from Loops 8. 5 The continue statement 8.6 Conditional flow control 8. 7 Using the if Statement 8.8 Using if.. else . Statements 8.9 Using if.. else if.. Statements 8.10 The guard Statement 8.11 Summary 9. The swift switch statement 9. 1 Why Use a switch Statement? 9.2 Using the switch Statement Syntax 9. 3 A Swift switch Statement Example 9.4 Combining case Statements 9.5 Range Matching in a switch Statement 9. 6 Using the where statement 9.7 Fallthrough 9. 8 Summary 10. An Overview of swift 2 functions. methods and closures 10. 1 What is a Function? 10.2 What is a method? 10.3 How to declare a swift function 10.4 Calling a swift Function 10.5 Local and external parameter names 0.6 Declaring Default Function Parameters 10.7 Returning Multiple results from a Function 10.8 Variable numbers of function parameters 10.9 Parameters as variables 10.10 Working with In-Out Parameters 0.11 Functions as parameters 0.12 Closure Expressions 10.13 Closures in swift 10. 14 Summary 11. The Basics of Object Oriented Programming in Swift 11. 1 What is an Object 11.2 What is a Class? 1.3 Declaring a Swift Class 11. 4 Adding Instance Properties to a Class 11.5 Defining methods 11.6 Declaring and initializing a class instance 11. 7 Initializing and deinitializing a Class Instance 1.8 Calling Methods and Accessing Properties 11.9Stored and Computed Properties 11.10 Using self in Swift 11.11 Summary 12. An Introduction to Swift Subclassing and Extensions 12.1 Inheritance. Classes and Subclasses 2.2A Swift Inheritance EXample 12.3 Extending the Functionality of a Subclass 2.4 Overriding Inherited methods 2.5 Initializing the Subclass 12.6 Using the SavingsAccount Class 2.7 Swift class extensions 2. 8 Summary 3. Working with Array and Dictionary Collections in Swift 3.1 Mutable and immutable collections 3.2 Swift Array initialization 3.3 Working with Arrays in Swift 13.3.1 Array Item Count 13.3.2 Accessing Array Items 13. 4 Appending Items to an Array 13. 4.1 Inserting and Deleting Array Items 13.4.2 Array Iteration 13.5 Creating Mixed Type arrays 13.6 Swift Dictionary Collections 3.7 Swift Dictionary Initialization 13. 7.1 Dictionary Item Count 3.Z2 Accessing and Updating Dictionary Items 3.7. 3 Adding and Removing Dictionary entries 3.7.4 Dictionary Iteration 3. 8 Summary 14. Understanding Error Handling in Swift 2 4.1 Understanding Error Handling 14.2 Declaring Error Types 14.3 Throwing an error 14.4 Calling Throwing methods and Functions 14.5 Accessing the Error object 14.6 Disabling error catching 14. 7 Using the defer Statement 14. 8 Summary 15.The ios 9 Application and Development Architecture 15.1 An Overview of the ios9 Operating System Architecture 15.2 Model View Controller(Mvc 15.3 The Target-Action pattern, IBOutlets and ibactions 15.4 Subclassing 15.5 Delegation 15.6 Summary 16. Creating an Interactive ios 9 App 16. 1 Creating the New Project 16.2 Creating the User Interface 16.3 Building and running the Sample application 16.4 Adding Actions and Outlets 16.5 Building and running the finished application 16.6 Hiding the Keyboard 16. 7 Summary 17. Understanding ioS 9 Views, Windows and the view hierarchy 7. 1 An Overview of views and the UIKit Class hierarchy 17.2 The uiwindow class 17.3 The View Hierarchy 7.4 Viewing hierarchy ancestors in Interface Builder 7.5 View Types 7.5.1 The window 7.5.2 Container views 17.5. 3 Controls 17.5. 4 Display views 17.5.5 Text and Web views 7.5.6 Navigation Views and Tab Bars 75.7 Alert views 17.6 Summary 8. An Introduction to Auto Layout in ioS 9 8. 1 An Overview of Auto Layout 18.2 Alignment Rects 18. 3 Intrinsic content size 18.4 Content Hugging and Compression Resistance Priorities 18.5 Three Ways to Create Constraints 18.6 Constraints in more detail 18.7 Summary 19. Working with ioS 9 Auto Layout Constraints in Interface Builder 9.1 A Simple Example of Auto Layout in Action 9.2 Enabling and Disabling Auto Layout in Interface Builder 9.3 The Auto Layout Features of Interface builder 9.3.1 Suggested Constraints 19.3.2 Visual cues 19.3.3 Highlighting Constraint Problems 19.3. 4 Viewing. Editing and Deleting Constraints 19.4 Creating New Constraints in Interface Builder 19.5 Adding aspect ratio Constraints 19.6 Resol ving Auto Layout Problems 19.7 Summary 20. An iOS 9 Auto Layout Example 20. 1 Preparing the project 20.2 Designing the User Interface 20.3 Adding Auto Layout Constraints 20.4 Adjusting Constraint priorities 20.5 Testing the application 20.6 Summary 21. Implementing iOs 9 Auto Layout Constraints in Code 21.1 Creating Constraints in Code 21.2 Adding a constraint to a view 21.3 Turning off Auto Resizing Translation 21.4 An Example application 21.5 Creating the Views 21.6 Creating and Adding the Constraints 21.7 Removing Constraints 21. 8 Summary 22. Implementing Cross-Hierarchy Auto Layout Constraints in ioS 9 22. 1 The Example Application 22.2 Establishing Outlets 22.3 Writing the Code to Remove the Old Constraint 22. 4 Adding the Cross Hierarchy Constraint 22.5 Testing the application 22.6 Summary 23. Understanding the ioS 9 Auto Layout Visual Format Language 23. 1 Introducing the Visual Format Language 23. 2 Visual Format Language Examples 23.3 Using the constraints With VisualFormat Method 23. 4 Summary 24. Using Size Classes to Design Adaptable Universal ioS User Interfaces 24. 1 Understanding Size Classes 24.2 Size classes in lnterface builder 24.3 Setting"Any Defaults 24. 4 Working with Size Classes in Interface Builder 24. A Universal user interface tutorial 24.6 Designing the iPad layout 24.7 Adding Universal Image Assets 24.8 Designing the iPhone Layout 24.9 Adding a Size Class Specific Image File 24.10 Removing Redundant Constraints 24.11 Testing the Application 24.12 Summary 25. Using Storyboards in Xcode 7 25 1 Creating the Storyboard Example project 25.2 Accessing the Storyboard 25.3 Adding scenes to the storyboard 25.4 Configuring Storyboard Segues 25.5 Configuring Storyboard Transitions 25.6 Associating a view controller with a scene 25.7 Passing Data Between Scenes 25.8 Unwinding Storyboard Segues 25.9 Triggering a Storyboard Segue Programmatically 25 10 Summary 26. Organizing Scenes over Multiple Storyboard Files 26.1 Organizing Scenes into Multiple storyboards 26.2 Establishing a Connection between Different Storyboards 26.3 Summary 27. Using Xcode 7 Storyboards to Create an iosg Tab Bar application 27.1 An Overview of the tab bar 27. 2 Understanding View Controllers in a Multiview Application 27.3 Setting up the Tab Bar Example Application 27. 4 Reviewing the Project Files 27. 5 Adding the view Controllers for the Content Views 27.6 Adding the tab bar Controller to the storyboard 27.7 Designing the View Controller User interfaces 27.8 Configuring the Tab Bar Items 27. 9 Building and Running the application 27.10 Summary 28. An Overview of ios 9 Table views and Xcode 7 Storyboards 28.1 An Overview of the table view 28.2 Static vS. Dynamic Table views 28. 3 The Table view Delegate and data Source 28.4 TableⅤ iew styles 28.5 Self-Sizing Table Cells 28.6 Dynamic Type 28.7 Table View Cell Styles 28.8 Table view cell reuse 28.9 Summary 29. Using Xcode 7 Storyboards to Build Dynamic Table views 29. 1 Creating the Example project 29.2 Adding the Table view Controller to the Storyboard 29.3 Creating the UITable view Controller and UITable view Cell Subclasses 29. 4 Declaring the cell reuse identifier 29.5 Designing a Storyboard UiTableview Prototype cell 29.6 Modifying the Attraction Table View Cell class 29. 7 Creating the Table View Datasource 29.8 Downloading and Adding the Image Files 29. 9 Compiling and running the application 29.10 Summary 30. Implementing ios 9 Table view Navigation using Storyboards in Xcode 30. 1 Understanding the Navigation Controller 30.2 Adding the New scene to the Storyboard 30.3 Adding a navigation Controller 30. 4 Establishing the Storyboard Segue 30.5 Modifying the Attraction Detail View Controller Class 30.6 USing prepare forsegue to pass Data between Storyboard Scenes 30.7 Testing the application 30.8 Summary 31. Working with the ios 9 Stack view Class 31. 1 Introducing the UIStack View Class 31.2 Understanding Subviews and Arranged Subviews 31.3 Stack View Configuration Options 31.3,1axis 313.2 Distribution 31.3. 3 spacing 31.3.4 alignment 31.3.5 baseLine Arrangement 31.3.6 layoutMarginsrelativeArrangement 31.4 Creating a Stack view in Code 31.5 Adding Subviews to an Existing Stack View 31.6 Hiding and Removing Subviews 31.7 Summary 32. An ios 9 Stack View Tutorial 32 1 About the Stack View Example App 32.2 Creating the First Stack view 32.3 Creating the Banner Stack View 32. 4 Adding the Switch Stack Views 32.5 Creating the Top Level Stack view 32.6 Adding the Button Stack view 32.7 Adding the Final subviews to the Top level stack view 32.8 Dynamically Adding and Removing Subviews 32.9 Summary 33. An ios 9 Split View Master-Detail Example 33. 1 An Overview of Split View and Popovers

...展开详情
试读 127P iOS.9.App.Development.Essentials
立即下载 身份认证后 购VIP低至7折
一个资源只可评论一次,评论内容不能少于5个字
月亮是我掰弯的 很好的书,好资源
2017-07-19
回复
llittlestar 不错,很好的资源
2017-03-23
回复
fordownload12 挺好的資源,感謝
2017-02-03
回复
ggg888 感謝,非常有幫助。
2016-08-18
回复
我是谁不重要 正在学习ios开发,老师推荐的,学习ios必备书籍,值得入门
2016-04-12
回复
jiezhenqcy 好资料,正是我所想要的
2016-04-05
回复
brayden_mltr 书很不错,涵盖了最新的内容
2016-03-24
回复
mfc 这本书很好,它包括了iOS9,这个最新的系统
2015-11-30
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
  • 至尊王者

关注 私信
上传资源赚钱or赚积分
最新推荐
iOS.9.App.Development.Essentials 9积分/C币 立即下载
1/127
iOS.9.App.Development.Essentials第1页
iOS.9.App.Development.Essentials第2页
iOS.9.App.Development.Essentials第3页
iOS.9.App.Development.Essentials第4页
iOS.9.App.Development.Essentials第5页
iOS.9.App.Development.Essentials第6页
iOS.9.App.Development.Essentials第7页
iOS.9.App.Development.Essentials第8页
iOS.9.App.Development.Essentials第9页
iOS.9.App.Development.Essentials第10页
iOS.9.App.Development.Essentials第11页
iOS.9.App.Development.Essentials第12页
iOS.9.App.Development.Essentials第13页
iOS.9.App.Development.Essentials第14页
iOS.9.App.Development.Essentials第15页
iOS.9.App.Development.Essentials第16页
iOS.9.App.Development.Essentials第17页
iOS.9.App.Development.Essentials第18页
iOS.9.App.Development.Essentials第19页
iOS.9.App.Development.Essentials第20页

试读结束, 可继续阅读

9积分/C币 立即下载