Programming iOS 8 Dive Deep into Views, View Controllers, and Frameworks Год издания: 2014 Автор: Matt Neuburg Издательство: O'Reilly Media ISBN: 978-1-4919-0871-6, 978-1-4919-0873-0 Язык: Английский Формат: ePub Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 783 Описание: Start building apps for iOS 8 with Apple’s Swift programming language. If you’re grounded in the basics of Xcode and the Cocoa framework, this book provides a structured explanation of all essential real-world iOS app components. Through deep exploration and copious code examples, you’ll learn how to create views, manipulate view controllers, and use iOS frameworks for adding features such as audio and video, access to user calendars and photos, and tracking the device’s location. Example code is available on GitHub in the form of full projects that you can download, study, and run.
Примеры страниц
Оглавление
Views Chapter 1 Views The Window Experimenting With Views Subview and Superview Visibility and Opacity Frame Bounds and Center Window Coordinates and Screen Coordinates Transform Trait Collections and Size Classes Layout Chapter 2 Drawing UIImage UIImageView Graphics Contexts UIImage Drawing CGImage Drawing Snapshots CIFilter and CIImage Blur and Vibrancy Views Drawing a UIView Graphics Context Settings Paths and Shapes Clipping Gradients Colors and Patterns Graphics Context Transforms Shadows Erasing Points and Pixels Content Mode Chapter 3 Layers View and Layer Layers and Sublayers Drawing in a Layer Transforms Shadows, Borders, and Masks Layer Efficiency Layers and Key–Value Coding Chapter 4 Animation Drawing, Animation, and Threading UIImageView and UIImage Animation View Animation Implicit Layer Animation Core Animation Actions Emitter Layers CIFilter Transitions UIKit Dynamics Motion Effects Animation and Autolayout Chapter 5 Touches Touch Events and Views Receiving Touches Restricting Touches Interpreting Touches Gesture Recognizers Touch Delivery Interface Chapter 6 View Controllers View Controller Responsibilities View Controller Hierarchy View Controller Creation How a View Controller Gets Its View View Resizing Presented View Controller Tab Bar Controller Navigation Controller Custom Transition Page View Controller Container View Controllers Storyboards View Controller Lifetime Events View Controller Memory Management State Restoration Chapter 7 Scroll Views Creating a Scroll View in Code Scroll View in a Nib Scrolling Zooming Scroll View Delegate Scroll View Touches Floating Scroll View Subviews Scroll View Performance Chapter 8 Table Views and Collection Views Table View Cells Table View Data Table View Cell Selection Table View Scrolling and Layout Table View State Restoration Table View Searching Table View Editing Table View Menus Collection Views Chapter 9 Popovers and Split Views Popovers Split Views Chapter 10 Text Fonts and Font Descriptors Attributed Strings Labels Text Fields Text Views Text Kit Chapter 11 Web Views WKWebView UIWebView Developing Web View Content Chapter 12 Controls and Other Views UIActivityIndicatorView UIProgressView UIPickerView UISearchBar UIControl Bars Tint Color Appearance Proxy Chapter 13 Modal Dialogs Alerts and Action Sheets Local Notifications Activity Views Some Frameworks Chapter 14 Audio System Sounds Audio Session Audio Player Remote Control of Your Sound Playing Sound in the Background AVAudioEngine Speech Synthesis Further Topics in Sound Chapter 15 Video AVPlayerViewController Introducing AV Foundation UIVideoEditorController Chapter 16 Music Library Exploring the Music Library Music Player MPVolumeView Playing Songs With AV Foundation Media Picker Chapter 17 Photo Library and Image Capture Photo Library Authorization Choosing From the Photo Library Photos Framework Using the Camera Chapter 18 Address Book Address Book Database Address Book Interface Chapter 19 Calendar Calendar Database Calendar Interface Chapter 20 Mail and Messages Mail Message Text Message Twitter Post Chapter 21 Maps Displaying a Map Annotations Overlays Map Kit and Current Location Communicating With the Maps App Geocoding, Searching, and Directions Chapter 22 Sensors Core Location Acceleration and Attitude Final Topics Chapter 23 Persistent Storage The Sandbox User Defaults Simple Sharing and Previewing of Files Document Architecture iCloud XML SQLite Core Data Image File Formats Chapter 24 Basic Networking HTTP Requests Background App Refresh In-App Purchases Bonjour Chapter 25 Threads Main Thread Why Threading Is Hard Blocking the Main Thread NSOperation Grand Central Dispatch Threads and App Backgrounding Chapter 26 Undo Undo Manager Undo Interface Appendix Application Lifetime Events Appendix Some Useful Utility Functions Delayed Performance Center of a CGRect Adjust a CGSize Dictionary of Views Constraint Issues Drawing Into an Image Context Finite Repetition of an Animation Remove Multiple Indexes From Array Configure a Value Class At the Point of Use Cancelable Closure-Based Timer Generic Wrapper
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum