Sams teach yourself Cocoa touch programming in 24 hours

In Full Color Code samples are syntax highlighted as in Xcode!! In just 24 sessions of one hour or less, learn how to build powerful mobile applications with Apple’s Cocoa Touch technology for the iPhone and iPod touch! Using this book’s straightforward, step-by-step approach, you’ll master every sk...

Full description

Bibliographic Details
Other Authors: Baring-Gould, Sengan Author (author), Baring-Gould, Sengan. Author
Format: eBook
Language:Inglés
Published: [Place of publication not identified] Sams 2010
Edition:1st edition
Series:Sams teach yourself in 24 hours
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629147706719
Table of Contents:
  • Intro
  • Cover
  • Table of Contents
  • Introduction
  • About This Book
  • About You
  • About Objective-C
  • What You Need
  • How to Read This Book
  • Conventions Used in This Book
  • PART I: Understanding the Objective-C Language
  • HOUR 1: Starting Your First Application: A Calculator
  • Setting Up Your Development Tools
  • Using Xcode
  • Using Interface Builder
  • Summary
  • Workshop
  • Exercise
  • HOUR 2: Handling Interaction
  • Objective-C
  • Binding an Object to the User Interface
  • Basic Memory Management
  • Invoking Methods on nil
  • Type Checking Rules
  • Type Equivalence
  • Type Checking
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • HOUR 3: Simplifying Your Code
  • Managing Memory with NSAutoReleasePools
  • Objective-C Strings
  • Introducing the Debugger
  • Understanding Messaging
  • Debugging a Real Bug
  • Using Shorthands
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 4: Making the Calculator Calculate
  • A Simple Calculator
  • Mutable Classes: Making a "Printing" Calculator
  • Dynamic Objective-C
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 5: Adding Variables to the Calculator
  • A Better Model/Controller Split
  • Using an NSDictionary to Add Variables to the Calculator
  • The Key-Value Coding and Observing Protocols
  • Summary
  • Workshop
  • Exercise
  • PART II: User-Interface Foundations
  • HOUR 6: Understanding How the User Interface Is Built
  • User-Interface Building-Blocks: Views
  • Building the UI from Views
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • HOUR 7: Understanding How Events Are Processed
  • Run Loops and Core Foundation
  • How Cocoa Uses the Run Loop
  • Touch Event Dispatching
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 8: Drawing User-Interface Elements
  • Adding Images to UIButton
  • Core Graphics
  • Drawing Your Own Button
  • Summary
  • Q&amp
  • A
  • Workshop.
  • Exercises
  • HOUR 9: Layers and Core Animation: Creating a Cover Flow Clone
  • Placing Layers in 3D Space
  • Using Core Animation
  • Creating a Cover Flow Clone
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • PART III: Advanced User-Interface Elements
  • HOUR 10: Using View Controllers
  • View Controllers
  • Adding a Scientific Mode to the Calculator
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 11: Displaying Tables
  • Creating Tables
  • Using Table Cells
  • Creating a Twitter Application
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 12: Adding Navigation and Tab Bar Controllers
  • Using Modal View Controllers
  • Saving Application Defaults
  • Using Tab Bars
  • Using Navigation Bars
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 13: Adding Undo and Redo Functionality
  • Creating Your Own Undo/Redo Manager
  • Using NSUndoManager
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • PART IV: Accessing the Internet
  • HOUR 14: Accessing the Network
  • How Networks Work
  • How the Web Works
  • Using Cocoa Touch to Access the Web
  • Making the Twitter Application Deal with Errors
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 15: Showing a Web Page
  • Understanding UIWebView
  • Using UIWebViews
  • Using WebKit Extensions
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • PART V: Saving and Retrieving Data
  • HOUR 16: Adding Application Preferences
  • Retrieving Settings Set by the Settings Application
  • Creating a Settings Bundle for the Settings Application
  • Dynamically Updating Data from the Network
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 17: Using the SQLite Database
  • Saving and Reading Data from Files
  • Saving and Reading Data from an SQLite Database
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • HOUR 18: Using Core Data
  • Using NSSortDescriptor and NSPredicate.
  • Using Core Data
  • Using Xcode to Design Objects
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • PART VI: Interacting with the World
  • HOUR 19: Playing and Recording Media
  • Playing and Recording Audio
  • Playing Video Files
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 20: Sensing the World
  • Using the iPhone's Accelerometer
  • Determining the iPhone's Location
  • Taking Photos and Making Short Videos
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • HOUR 21: Sharing Data
  • Using Custom URLs
  • Using Pasteboards
  • Exporting Data
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercises
  • PART VII: Completing Your Application
  • HOUR 22: Debugging
  • Using gdb, dtrace, valgrind, and nib2objc
  • Resolving Cocoa Misunderstandings
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • HOUR 23: Optimizing Performance
  • Profiling Your Code
  • Optimizing Your Memory Usage
  • Optimizing Your Code's Speed
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • HOUR 24: Shipping Your Application
  • Polishing Your Application for Submission
  • Localizing Your Application
  • Submitting Your Application to the App Store
  • Summary
  • Q&amp
  • A
  • Workshop
  • Exercise
  • APPENDIX A: C Primer (Online)
  • Functions
  • Primitive Types
  • Basic Operators
  • Function Signatures
  • Interface Files
  • System Libraries
  • Composite Structures
  • Memory Access
  • Arrays
  • Dynamic Memory Allocation
  • Strings
  • Types
  • New Kinds of Errors
  • APPENDIX B: Troubleshooting Xcode (Online)
  • Logging in to the Developer Website
  • Obtaining Permission to Upload Your Application to Your Device
  • Building Your Application to Run on a Device
  • Updating Mobile Provisions
  • Debugging the Ambiguous Matches Error
  • Uploading Your Application to Your Device
  • Checking Changes That Do Not Show Up
  • Checking the App Store Executable
  • APPENDIX C: Resources.
  • This Book's Website
  • Books and Papers
  • Web Resources
  • APPENDIX D: Advanced Topics (Online)
  • Testing String Mutability with Exceptions
  • Uncaught Exceptions
  • The Implementation of Exceptions
  • NSZones
  • Creating Singletons by Overriding allocWithZone:
  • Extending Objects by Overriding allocWithZone:
  • How Applications Start
  • Threads
  • pthreads
  • NSThreads
  • Deciding Whether to Use Threading or One-Shot Invocation
  • Types of Layers
  • View Controller Hierarchy Used in the Twitter Application
  • Index.