
iOS Programming Cookbook
Beschreibung
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Alle Preise
Weitere Details
Weitere Ausgaben
Inhalt
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Swift Programming Language
- Introduction
- Using closures to create self-contained code
- Getting ready
- How to do it...
- How it works...
- There's more...
- Inferring type
- Omitting the return keyword
- Shorthand arguments
- Creating enumerations to write readable code
- Getting ready
- How to do it...
- How it works...
- There's more...
- Enum raw values
- Assigning raw values
- Using Enums with raw values
- Enums with associated values
- Working with protocols and delegates
- Getting ready
- How to do it...
- How it works...
- There's more...
- Mutating methods
- Delegation
- Class-only protocols
- Checking protocol conformance
- Optional requirements
- Using extensions to extend classes functionality
- Getting ready
- How to do it...
- How it works...
- There's more...
- Mutating instance methods
- Adding new initializer
- Define subscripts
- Working with memory management and ARC
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using error handling
- Getting ready
- How to do it...
- How it works...
- There's more...
- Multiple catch statements
- Disable error propagation
- Using generics to write generic and reusable code
- Getting ready
- How to do it...
- How it works...
- Chapter 2: The Essentials
- Introduction
- Using UIView via code or interface builder to build your own custom views
- Getting ready
- How to do it...
- How it works...
- There's more...
- Working with navigation controller and navigation bar
- Getting ready
- How to do it...
- How it works...
- There's more...
- Push and pop
- Hiding navigation bar
- Navigation bar color
- Working with stack views
- How to do it
- How it works...
- Working with UICollectionView
- How to do it...
- How it works...
- There's more...
- Customizable layouts
- Working with gestures like swipe, pan, rotation, and tap
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using 3D touch
- How to do it...
- How it works...
- There's more...
- Home screen quick actions
- Chapter 3: Integrating with Messages App
- Introduction
- Integrating iMessage app with sticker pack
- Getting ready
- Stickers
- How to do it...
- How it works...
- There's more...
- Integrating iMessage app with iMessage app
- Getting ready
- How to do it...
- How it works...
- There's more...
- Showing progress indicator
- Request files with pagination
- Chapter 4: Working with Interface Builder
- Introduction
- Using storyboards
- Getting ready
- How to do it...
- How it works...
- There's more...
- Segues attributes
- Preparing for a segue
- Unwind segues (exit segues)
- Custom segues
- Working with Autolayout and constraints
- Getting ready
- How to do it...
- How it works...
- There's more...
- Updating constraints
- Designing your interface builder for any size classes in one storyboard
- Getting ready
- How to do it...
- How it works...
- Embedding view controllers using container view
- How to do it...
- How it works...
- There's more...
- Chapter 5: Working with UITableView
- Introduction
- Working with scroll view
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using TableView sections, headers and footers
- Getting ready
- How to do it...
- How it works...
- There's more...
- Custom section header and footer
- Using custom cells
- Getting ready
- How to do it...
- How it works...
- Resizing table view cells dynamically
- How to do it...
- How it works...
- Editing table views
- Getting ready
- How to do it...
- Inserting cells with animation
- Removing cells with animation
- Dragging and dropping to reorder cells
- How it works...
- There's more...
- Chapter 6: Animations and Graphics
- Introduction
- Drawing text, images, lines, rectangles, and gradients
- Getting ready
- How to do it...
- How it works...
- There's more...
- Animating shapes drawn with UIBezierPath
- Getting ready
- How to do it...
- How it works...
- Animating UIViews
- How to do it...
- How it works...
- Chapter 7: Multimedia
- Introduction
- Working with audio capabilities
- Getting ready
- How to do it...
- How it works...
- There's more...
- Recognizing speech
- Playing videos
- Getting ready
- How to do it...
- How it works...
- There's more...
- Slide Over
- Split View
- Picture-in-Picture
- Capturing photos and videos
- How to do it...
- How it works...
- Using filters with CoreImage
- How to do it...
- How it works...
- Chapter 8: Concurrency
- Introduction
- Using Dispatch queues
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using Operation queues
- Getting ready
- How to do it...
- How it works...
- Using Operation subclassing
- How to do it...
- How it works...
- Chapter 9: Location Services
- Introduction
- Detecting user location
- How to do it...
- How it works...
- Displaying pins in map view
- Getting ready
- How to do it...
- How it works...
- Getting directions between locations
- How to do it...
- How it works...
- Working with geofencing
- How to do it...
- How it works...
- Chapter 10: Security and Encryption
- Introduction
- Using Touch ID for user authentication
- Getting ready
- How to do it...
- How it works...
- Working with Keychain
- Getting ready
- How to do it...
- How it works...
- Encryption
- Getting ready
- How to do it...
- How it works...
- Chapter 11: Networking
- Introduction
- Using NSURLSession API for network connections
- Getting ready
- How to do it...
- How it works...
- Parsing JSON data
- Getting ready
- How to do it...
- How it works...
- Social sharing
- Getting ready
- How to do it...
- How it works...
- Chapter 12: Persisting Data with Core Data
- Introduction
- Designing data models
- How to do it...
- How it works...
- Reading and inserting records to Core Data
- How to do it...
- How it works...
- Updating and deleting records from Core Data
- How to do it...
- How it works...
- Chapter 13: Notifications
- Introduction
- Setting up Push Notifications
- Getting ready
- How to do it...
- How it works...
- Setting up a local server to send Push Notifications
- Getting ready
- How to do it...
- How it works...
- Working with interactive Push Notifications
- How to do it...
- How it works...
- Working with local notifications
- How to do it...
- How it works...
- Chapter 14: App Search
- Introduction
- App indexing using NSUserActivity
- Getting ready
- How to do it...
- How it works...
- There's more...
- App indexing using Core Spotlight APIs
- How to do it...
- How it works...
- Chapter 15: Optimizing Performance
- Introduction
- Memory management with ARC
- Getting ready
- Retain cycles
- Working with closures
- How to do it...
- How it works...
- Measuring performance
- How to do it...
- How it works...
- Measuring energy impact
- How to do it...
- How it works...
- On-demand resources
- Getting ready
- How to do it...
- How it works...
- Index
Systemvoraussetzungen
Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.