Programming iOS 10 - Matt Neuberg

Programming iOS 10

Dive Deep into Views, View Controllers, and Frameworks. Covers iOS 10, Xcode 8, Swift 3

(Autor)

Buch | Softcover
1090 Seiten
2016
O'Reilly Media (Verlag)
978-1-4919-7016-4 (ISBN)
49,35 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
If you’re grounded in the basics of Swift, 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 add features from iOS frameworks.

Stay up-to-date on iOS 10 innovations, such as property animators, force touch, speech recognition, and the User Notification framework, as well as Xcode 8 improvements for autolayout and asset catalogs. All example code (now rewritten in Swift 3) is available on GitHub for you to download, study, and run.
  • Create, arrange, draw, layer, and animate views that respond to touch
  • Use view controllers to manage multiple screens of interface
  • Master interface classes for scroll views, table views, text, popovers, split views, web views, and controls
  • Dive into frameworks for sound, video, maps, and sensors
  • Access user libraries: music, photos, contacts, and calendar
  • Explore additional topics, including files, networking, and threads

Matt Neuburg started programming computers in 1968, when he was 14 years old, as a member of a literally underground high school club, which met once a week to do timesharing on a bank of PDP-10s by way of primitive teletype machines. He also occasionally used Princeton University's IBM-360/67, but gave it up in frustration when one day he dropped his punch cards. He majored in Greek at Swarthmore College, and received his Ph.D. from Cornell University in 1981, writing his doctoral dissertation (about Aeschylus) on a mainframe. He proceeded to teach Classical languages, literature, and culture at many well-known institutions of higher learning, most of which now disavow knowledge of his existence, and to publish numerous scholarly articles unlikely to interest anyone. Meanwhile he obtained an Apple IIc and became hopelessly hooked on computers again, migrating to a Macintosh in 1990. He wrote some educational and utility freeware, became an early regular contributor to the online journal TidBITS, and in 1995 left academe to edit MacTech Magazine. He is also the author of Frontier: The Definitive Guide and REALbasic: The Definitive Guide. In August 1996 he became a freelancer, which means he has been looking for work ever since. He is the author of Frontier: The Definitive Guide and REALbasic: The Definitive Guide, both for O'Reilly & Associates.

Views
Chapter 1Views
The Window
Experimenting with Views
Subview and Superview
Visibility and Opacity
Frame
Bounds and Center
Window Coordinates and Screen Coordinates
Transform
App Rotation
Trait Collections and Size Classes
Layout
Configuring Layout in the Nib
Nib Editor View Features
Layout Events
Chapter 2Drawing
Images and Image Views
Graphics Contexts
UIImage Drawing
CGImage Drawing
Snapshots
CIFilter and CIImage
Blur and Vibrancy Views
Drawing a UIView
Graphics Context Commands
Points and Pixels
Content Mode
Chapter 3Layers
View and Layer
Layers and Sublayers
Drawing in a Layer
Transforms
Shadows, Borders, and Masks
Layer Efficiency
Layers and Key–Value Coding
Chapter 4Animation
Drawing, Animation, and Threading
Image View and Image Animation
View Animation
Implicit Layer Animation
Core Animation
Actions
Emitter Layers
CIFilter Transitions
UIKit Dynamics
Motion Effects
Animation and Autolayout
Chapter 5Touches
Touch Events and Views
Receiving Touches
Restricting Touches
Interpreting Touches
Gesture Recognizers
3D Touch Press Gesture
Touch Delivery
Hit-Testing
Initial Touch Event Delivery
Gesture Recognizer and View
Touch Exclusion Logic
Gesture Recognition Logic
Touches and the Responder Chain
Interface
Chapter 6View Controllers
View Controller Responsibilities
View Controller Hierarchy
View Controller Creation
How a View Controller Obtains Its View
How Storyboards Work
View Resizing
View Controller Manual Layout
Presented View Controller
Tab Bar Controller
Navigation Controller
Custom Transition
Page View Controller
Container View Controllers
Peek and Pop
Storyboards
View Controller Lifetime Events
View Controller Memory Management
State Restoration
Chapter 7Scroll 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 8Table Views and Collection Views
Table View Cells
Table View Data
Table View Sections
Refreshing a Table View
Variable Row Heights
Table View Cell Selection
Table View Scrolling and Layout
Table View State Restoration
Table View Searching
Table View Editing
Table View Menus
Collection Views
Collection View Classes
Using a Collection View
Custom Collection View Layouts
Switching Layouts
Collection Views and UIKit Dynamics
Chapter 9iPad Interface
Popovers
Split Views
iPad Multitasking
Chapter 10Text
Fonts and Font Descriptors
Attributed Strings
Labels
Text Fields
Text Views
Text Kit
Chapter 11Web Views
WKWebView
Safari View Controller
Developing Web View Content
Chapter 12Controls and Other Views
UIActivityIndicatorView
UIProgressView
UIPickerView
UISearchBar
UIControl
Bars
Tint Color
Appearance Proxy
Chapter 13Modal Dialogs
Alerts and Action Sheets
Quick Actions
Local Notifications
Today Extensions
Activity Views
Some Frameworks
Chapter 14Audio
System Sounds
Audio Session
Audio Player
Remote Control of Your Sound
Playing Sound in the Background
AVAudioEngine
MIDI Playback
Text to Speech
Speech to Text
Further Topics in Sound
Chapter 15Video
AVPlayerViewController
Introducing AV Foundation
UIVideoEditorController
Chapter 16Music Library
Music Library Authorization
Exploring the Music Library
Music Player
MPVolumeView
Playing Songs with AV Foundation
Media Picker
Chapter 17Photo Library and Camera
Browsing with UIImagePickerController
Photos Framework
Using the Camera
Chapter 18Contacts
Contact Classes
Fetching Contact Information
Saving Contact Information
Contact Sorting, Groups, and Containers
Contacts Interface
Chapter 19Calendar
Calendar Database Contents
Calendar Database Changes
Creating Calendars and Events
Recurrence
Fetching Events
Reminders
Proximity Alarms
Calendar Interface
Chapter 20Maps
Displaying a Map
Annotations
Overlays
Map Kit and Current Location
Communicating with the Maps App
Geocoding, Searching, and Directions
Chapter 21Sensors
Core Location
Acceleration, Attitude, and Activity
Final Topics
Chapter 22Persistent Storage
The Sandbox
User Defaults
Simple Sharing and Previewing of Files
Document Architecture
iCloud
XML
SQLite
Core Data
Image File Formats
Chapter 23Basic Networking
HTTP Requests
On-Demand Resources
In-App Purchases
Chapter 24Threads
Main Thread
Why Threading Is Hard
Blocking the Main Thread
Manual Threading
Operation
Grand Central Dispatch
Threads and App Backgrounding
Chapter 25Undo
Undo Manager
Undo Interface
Appendix Application Lifetime Events
Application States
App Delegate Events
App Lifetime Scenarios
Appendix Some Useful Utility Functions
Launch Without Main Storyboard
Core Graphics Initializers
Center of a CGRect
Adjust a CGSize
Delayed Performance
Dictionary of Views
Constraint Issues
Configure a Value Class at Point of Use
Drawing Into an Image Context
Finite Repetition of an Animation
Remove Multiple Indexes From Array
Appendix How Asynchronous Works

Erscheinungsdatum
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 150 x 250 mm
Gewicht 666 g
Einbandart kartoniert
Themenwelt Informatik Programmiersprachen / -werkzeuge Mac / Cocoa Programmierung
Informatik Software Entwicklung Mobile- / App-Entwicklung
Informatik Weitere Themen Smartphones / Tablets
Schlagworte App Entwicklung • Apple • iOS 10; Handbuch/Lehrbuch • iPhone • Programmieren • Swift 3 • Xcode
ISBN-10 1-4919-7016-2 / 1491970162
ISBN-13 978-1-4919-7016-4 / 9781491970164
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Apps programmieren für macOS, iOS, watchOS und tvOS

von Thomas Sillmann

Buch (2023)
Carl Hanser (Verlag)
59,99
Das umfassende Handbuch. Apps entwickeln für iOS, macOS und tvOS. …

von Michael Kofler

Buch | Hardcover (2019)
Rheinwerk (Verlag)
49,90
The Big Nerd Ranch Guide

von Matthew Mathias; Mikey Ward; John Gallagher

Buch | Softcover (2020)
Big Nerd Ranch Guides (Verlag)
48,75