
Learning iOS Programming
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Preface
- Third Edition
- Notes from the Second Edition
- Who Should Read This Book?
- What Should You Already Know?
- What Will You Learn?
- What's in This Book?
- Conventions Used in This Book
- Using Code Examples
- How to Contact Us
- Safari® Books Online
- Acknowledgments
- Chapter 1. Why Go Native?
- The Pros and Cons
- Why Write Native Applications?
- The Release Cycle
- Build It and They Will Come
- Chapter 2. Becoming a Developer
- Registering as an iOS Developer
- Enrolling in the iOS Developer Program
- The Mac Developer Program
- Installing the iOS SDK
- What Happens When There Is a Beta?
- Preparing Your iOS Device
- Creating a Development Certificate
- Getting the UDID of Your Development Device
- Creating an App ID
- Creating a Mobile Provisioning Profile
- Making Your Device Available for Development
- Chapter 3. Your First iOS App
- Objective-C Basics
- Object-Oriented Programming
- The Objective-C Object Model
- The Basics of Objective-C Syntax
- Creating a Project
- Exploring the Project in Xcode
- Our Project in Interface Builder
- Building the User Interface
- Connecting the User Interface to the Code
- Running the Application in the Simulator
- Putting the Application on Your iPhone
- Chapter 4. Coding in Objective-C
- Declaring and Defining Classes
- Declaring a Class with the Interface
- Defining a Class with the Implementation
- Object Typing
- Properties
- Synthesizing Properties
- The Dot Syntax
- Declaring Methods
- Calling Methods
- Calling Methods on nil
- Memory Management
- Creating Objects
- The Autorelease Pool
- The alloc, retain, copy, and release Cycle
- Automatic Reference Counting
- The dealloc Method
- Responding to Memory Warnings
- Fundamental iOS Design Patterns
- The Model-View-Controller Pattern
- Views and View Controllers
- The Delegates and DataSource Pattern
- Conclusion
- Chapter 5. Table View-Based Applications
- Creating the Project
- Creating a Table View
- Running the Code
- Populating the Table View
- Building a Model
- Adding Cities to the Guide
- Adding Images to Your Projects
- Connecting the Controller to the Model
- Mocking Up Functionality with Alert Windows
- Adding Navigation Controls to the Application
- Adding a City View
- Edit Mode
- Deleting a City Entry
- Adding a City Entry
- The "Add New City" Interface
- Capturing the City Data
- Chapter 6. Other View Controllers
- Utility Applications
- Making the Battery Monitoring Application
- Tab Bar Applications
- Adding Another Tab Bar Item
- Combining View Controllers
- Modal View Controllers
- Modifying the City Guide Application
- The Image Picker View Controller
- Adding the Image Picker to the City Guide Application
- Master-Detail Applications
- Creating a Universal Application
- Popover Controllers
- Chapter 7. Connecting to the Network
- Detecting Network Status
- Apple's Reachability Class
- Embedding a Web Browser in Your App
- A Simple Web View Controller
- Displaying Static HTML Files
- Getting Data Out of a UIWebView
- Sending Email
- Getting Data from the Internet
- Synchronous Requests
- Asynchronous Requests
- Using Web Services
- Chapter 8. Handling Data
- Data Entry
- UITextField and Its Delegate
- UITextView and Its Delegate
- Parsing XML
- Parsing XML with libxml2
- Parsing XML with NSXMLParser
- Parsing JSON
- NSJSONSerialization
- The JSON Framework
- Retrieving Twitter Trends
- Using the Social Framework
- The Twitter Trends Application
- Regular Expressions
- Introduction to Regular Expressions
- Storing Data
- Using Flat Files
- Storing Information in a SQL Database
- Core Data
- Chapter 9. Using Sensors
- Hardware Support
- Network Availability
- Camera Availability
- Audio Input Availability
- GPS Availability
- Magnetometer Availability
- Setting Required Hardware Capabilities
- Persistent WiFi
- Background Modes
- Differences Between iPhone and iPad
- Using the Camera
- The Core Motion Framework
- Pulling Motion Data
- Pushing Motion Data
- The Accelerometer
- The Gyroscope
- The Magnetometer
- Accessing the Proximity Sensor
- Using Vibration
- Chapter 10. Geolocation and Mapping
- The Core Location Framework
- Device Heading
- Location-Dependent Weather
- Reverse Geocoding
- Forward Geocoding
- CLPlacemark Objects
- Modifying the Weather Application
- User Location and MapKit
- Annotating Maps
- Chapter 11. Introduction to iCloud
- How Can I Use iCloud?
- iCloud Backup
- Provisioning Your Application for iCloud
- Using Key-Value Storage
- Wrapping Up
- Chapter 12. Integrating Your Application
- Application Preferences
- The Accounts Framework
- The Social Framework
- Sending Tweets
- Making Posts to Facebook
- Custom URL Schemes
- Using Custom Schemes
- Registering Custom Schemes
- Media Playback
- Using the Address Book
- Interactive People Picking
- Programmatic People Picking
- Sending Text Messages
- Chapter 13. Distributing Your Application
- Adding Missing Features
- Adding an Icon
- Adding a Launch Image
- Changing the Display Name
- Enabling Rotation
- Building and Signing
- Ad Hoc Distribution
- Developer-to-Developer Distribution
- App Store Distribution
- Submitting to the App Store
- Building Your Application for App Store Distribution
- The App Store Resource Center
- Reasons for Rejection
- Chapter 14. Going Further
- Cocoa and Objective-C
- The iOS SDK
- Web Applications
- PhoneGap
- Core Data
- In-App Purchase
- MKStoreKit
- Core Animation
- Game Kit
- Writing Games
- Look and Feel
- Hardware Accessories
- Index
- About the Author
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.