You are previewing iPad Enterprise Application Development BluePrints.
O'Reilly logo
iPad Enterprise Application Development BluePrints

Book Description

Design and build your own enterprise applications for the iPad.

  • Learn how to go about developing some simple, yet powerful applications with ease.

  • Each chapter explains about the technology in-depth, whilst providing you with enough information and examples to help grasp the technology.

  • Get to grips with integrating Facebook, iCloud, Twitter and Airplay into your applications.

  • Lots of step-by-step examples with images and diagrams to get you up to speed in no time, with helpful hints along the way.

In Detail

With the release of the iPad and the iOS 5, this latest release comes packed with some great new features and improvements to the various frameworks and contains over 1,500 new APIs. You will learn how to integrate iCloud storage and how to go about using the Facebook and the OpenGraph APIs, as well as applying the various image and transition effects using Core Image into your own applications. Using the book’s step-by-step approach, you will soon master the technology and the skills needed to create some amazing applications.

"iPad Enterprise Application Development BluePrints" will help you learn how to build some powerful applications using iOS 5 and the various frameworks. You will soon master how to incorporate iCloud, Facebook and the OpenGraph APIs and apply various image filters and transitions using Core Image integration within your applications by using the book’s step-by-step approach, and you will soon master the technology and the skills needed to create some amazing applications.

You will start by learning how to go about downloading and installing the Xcode development tools onto your computer, Task Priorities App, Audio Recording and Playback, Using Core Data, Monitoring the iOS battery, implementing Route tracking, Facebook APIs, iCloud Storage and External displays. After which, we jump straight in and develop an application using Storyboarding and Interface Builder. We then finish up by learning how to test your application using the Xcode instruments and how to distribute your application to the AppStore.

This book will teach you how you can use the new features of iOS 5 to build simple, yet powerful applications for the iPad from scratch using these technology features. You will learn how to download the Xcode 4 iOS 5 Development tools, and how to build great user interfaces using the storyboarding feature of Interface Builder. We will learn how to create a database that integrates into our application using Core Data. We will also learn how to integrate and use the Facebook and OpenGraph APIs to post messages and send notifications, as well as interacting with the iOS devices battery to determine the current state and battery level.

After reading "iPad Enterprise Application Development BluePrints", you will be able to write applications that have the ability to store user documents wirelessly and push any changes made on one device to all other devices and computers at the same time using the iCloud Storage APIs. You will also learn how to integrate the Facebook APIs and post messages directly to your Facebook wall as well as sending notification messages to all your friends on Facebook directly from your applications as well as mapping out the route taken using the GPS feature of your iOS device using the MapKit framework. Finally, you will learn how to stream photos to a monitor using the VGA port of the iOS device and learn how to use the AirPlay feature to wirelessly stream Videos to Apple TV using the AV Foundation framework, as well as learning how to use the Core Image framework to create some amazing image effects and transitions to enhance photos using the several built-in filters. This book contains loads of examples and images provided to get you up to speed in no time.

Table of Contents

  1. iPad Enterprise Application Development BluePrints
    1. Table of Contents
    2. iPad Enterprise Application Development BluePrints
    3. Credits
    4. Foreword
    5. About the Author
    6. Acknowledgement
    7. About the Reviewers
    8. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
        3. Instant Updates on New Packt Books
    9. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    10. 1. Getting and Installing the iOS SDK
      1. Getting and installing the iOS SDK
      2. The iOS Simulator
        1. Layers of the iOS architecture
          1. The Core OS layer
          2. The Core Services layer
          3. The Media layer
          4. The Cocoa-Touch layer
      3. Building the HelloWorld application
        1. Placing objects within the View
        2. Removing the Xcode Developer Tools
      4. Summary
    11. 2. Task Priorities – Building a TaskPriorities iOS App
      1. Building the TaskPriorities app
        1. Adding the required frameworks
          1. Creating the main application screen
          2. Handling multiple screen orientations when the device is rotated
          3. Adding the table control to hold item data
          4. Adding the Add button
          5. Adding the Refresh button
          6. Navigating between screens using Storyboards
          7. Implementing the Save record method
          8. Implementing the Add a record to the table method
          9. Implementing the Cancel method
          10. Implementing the Refresh button method
          11. Implementing the Delete row method
        2. Finishing up
      2. Summary
    12. 3. VoiceRecorder App – Audio Recording and Playback
      1. Overview of the technologies
        1. Building the VoiceRecorder app
        2. Adding the AVFoundation and MessageUI frameworks
          1. Creating the main application screen
          2. Adding the Start Recording button
          3. Adding the Play button
          4. Adding the Stop button
          5. Adding the E-mail button
          6. Implementing the View Controller class
          7. Implementing the voiceRecord method
          8. Implementing the voicePlayback method
          9. Implementing the voicePlaybackStop method
          10. Implementing the e-mailRecording method
          11. Implementing the VoiceVisualizer class
      2. Finishing up
      3. Summary
    13. 4. Enhanced AddressBook App – Core Data
      1. Overview of the Core Data technologies
      2. Building the AddressBook application
        1. Adding the GameKit framework
        2. Building the Core Data model
          1. Creating our Core Data model files
          2. Adding the Storyboard screen
          3. Creating the main application screen
          4. Adding a table control to hold the item data
          5. Adding the Add button
          6. Adding the Action button
          7. Navigating between screens using Storyboards
          8. Implementing the save record method
          9. Implementing the cancel method
          10. Implementing the delete row method
          11. Implementing the didSelectRowAtIndexPath method
      3. Transferring contact details using Bluetooth
        1. Implementing the connect method
        2. Implementing the Action button method
      4. Finishing up
        1. Implementing the search functionality
      5. Summary
    14. 5. BatteryMonitor Application
      1. Overview of the technologies
        1. Building the BatteryMonitor application
        2. Adding the MessageUI framework to the project
          1. Creating the main application screen
          2. Adding the Enable Monitoring UISwitch control
          3. Adding the Send E-mail Alert UISwitch control
          4. Adding the Fill Gauge Levels UISwitch control
          5. Adding the Increment Bars UIStepper control
          6. Adding the System Information (UITextView) control
        3. Building the Battery Monitor functionality
          1. Implementing the View Controller class
          2. Implementing the determineBatteryStatus: method
          3. Implementing the enableMonitoring: method
          4. Implementing the sendEmailAlert: method
          5. Implementing the fillGauge: method
          6. Implementing the totalNoBars: method
          7. Implementing the Battery Gauge class
      2. Finishing up
      3. Summary
    15. 6. RouteTracker Application
      1. Overview of the technologies
        1. Building the RouteTracker application
        2. Adding the Core Location and MapKit frameworks
          1. Creating the main application screen
          2. Adding the Start Tracking button
          3. Adding the Refresh Map button
          4. Adding the Change Map Type button
        3. Building the RouteTracker functionality
          1. Implementing the View Controller class
          2. Implementing the startTracking: method
          3. Implementing the refreshMap: method
          4. Implementing the changeMapType: method
          5. Implementing the locationManager: method
          6. Implementing the locationManager:didFailWithError: method
          7. Implementing the shouldAutorotateToInterfaceOrientation: method
          8. Implementing the TrackMapView class
      2. Finishing up
      3. Summary
    16. 7. VeterinaryClinic Application
      1. Overview of the technologies
      2. Building the VeterinaryClinic application
        1. Building the Core Data model
          1. Creating our Core Data model files
          2. Adding the Storyboard screen
          3. Creating the main application screen
          4. Adding the table control to hold pet information
          5. Adding the Add button
          6. Adding the Edit button
          7. Navigating between screens using Storyboards
        2. Functionality
          1. Implementing the btnSavePet: method
          2. Implementing the btnCancel: method
          3. Implementing the btnAddPhoto: method
          4. Implementing the btnCameraPhoto: method
          5. Implementing the Delete row method
      3. Finishing up
      4. Summary
    17. 8. Social Networking Application
      1. Overview of the technologies
      2. Downloading the Facebook iOS SDK
        1. Registering your iOS app with Facebook
      3. Building the Social Networking application
        1. Adding the Facebook iOS SDK to our project
        2. Creating the main application screen
          1. Adding the Sign-in button
          2. Adding the Sign-out button
          3. Adding the Action button
        3. Building the Facebook app functionality
          1. Implementing SSO within your app
          2. Implementing the Application Delegate class
          3. Implementing the View Controller class
          4. Adding the LogOut functionality to your app
          5. Requesting additional permissions
          6. Using the Graph API
          7. Integrating with social channels
          8. How to handle errors
          9. Implementing the postMessageButton: method
          10. Implementing the loginButton: method
      4. Finishing up
      5. Summary
    18. 9. External Displays using Airplay and Core Image
      1. Overview of the technologies
      2. Building the ExternalDisplays application
        1. Adding the Media Player framework to our project
        2. Creating the main application screen
          1. Adding the Browse button
          2. Adding the Camera button
          3. Adding the Play Video button
          4. Adding the Transitions button
          5. Adding the VGA Out button
        3. Functionality
          1. Implementing the View Controller class
          2. Implementing the btnBrowse: method
          3. Implementing the btnCamera: method
          4. Implementing the btnPlayVideo: method
        4. Using AirPlay to present application content to Apple TV
          1. Implementing the btnTransitions: method
        5. Understanding the Core Image framework
        6. Applying image filter effects using the CIImage class
          1. Applying transitions to images
        7. Presenting content out to an external monitor device
          1. Implementing the shouldAutorotateToInterfaceOrientation: method
      3. Finishing up
      4. Summary
    19. 10. Storing Documents within the Cloud
      1. Overview of the technologies
        1. Methods to store and use documents within iCloud
          1. The file coordinator
          2. The file presenter
        2. Using the iCloud storage APIs
        3. Handling iCloud file-version conflicts
      2. Building the ScratchPad application
        1. Creating the main application screen
        2. Adding the table control to hold iCloud document data
        3. Adding the Add button
        4. Adding the Edit button
        5. Navigating between screens using Storyboards
        6. Functionality
          1. Implementing the btnSave method
          2. Implementing the btnCancel: method
          3. Implementing the AddDocumentDetails: method
          4. Implementing the EditDocumentDetails: method
      3. Finishing up
      4. Requesting entitlements for iCloud storage
        1. Configuring your iOS device to use iCloud
        2. iCloud storage space
      5. Summary
    20. Index