archive-com.com » COM » T » TECHOTOPIA.COM

Total: 1018

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • IPad iOS 5 Development Essentials - Techotopia
    Functionality of the Second View Controller Adding the Navigation Code Controlling the Navigation Controller Stack Programmatically An iPad iOS 5 Split View and Popover Example An Overview of Split View and Popovers About the Example iPad Split View and Popover Project Creating the Project Reviewing the Project Reviewing the Application Delegate Class Configuring Master View Items Configuring the Detail View Controller Connecting Master Selections to the Detail View Popover Implementation Testing the Application Implementing a Page based iOS 5 iPad Application using UIPageViewController The UIPageViewController Class The UIPageViewController DataSource Navigation Orientation Spine Location The UIPageViewController Delegate Protocol An Example iOS 5 iPad UIPageViewController Application The Xcode Page based Application Template Creating the Project Adding the Content View Controller Creating Data Model Initializing the UIPageViewController Running the UIPageViewController Application Using the UIPickerView and UIDatePicker Components in iOS 5 iPad Applications The DatePicker and PickerView Components A DatePicker Example Designing the User Interface Coding the Date Picker Example Functionality Modifying viewDidUnload Building and Running the iPad Date Picker Application An iOS 5 iPad UIPickerView Example Creating the iPad PickerView Project UIPickerView Delegate and DataSource The pickerViewController h File Designing the User Interface Initializing the Arrays Implementing the DataSource Protocol Implementing the Delegate Updating viewDidUnload Testing the Application Working with Directories on iOS 5 The Application Documents Directory The Objective C NSFileManager NSFileHandle and NSData Classes Understanding Pathnames in Objective C Creating an NSFileManager Instance Object Identifying the Current Working Directory Identifying the Documents Directory Identifying the Temporary Directory Changing Directory Creating a New Directory Deleting a Directory Listing the Contents of a Directory Getting the Attributes of a File or Directory Working with iPad Files on iOS 5 Creating an NSFileManager Instance Checking for the Existence of a File Comparing the Contents of Two Files Checking if a File is Readable Writable Executable Deletable Moving Renaming a File Copying a File Removing a File Creating a Symbolic Link Reading and Writing Files with NSFileManager Working with Files using the NSFileHandle Class Creating an NSFileHandle Object NSFileHandle File Offsets and Seeking Reading Data from a File Writing Data to a File Truncating a File iOS 5 iPad Directory Handling and File I O A Worked Example The Example iPad Application Setting up the Application Project Defining the Actions and Outlets Designing the User Interface Checking the Data File on Application Startup Implementing the Action Method Building and Running the Example Preparing an iOS 5 App to use iCloud Storage What is iCloud iCloud Data Storage Services Preparing an Application to Use iCloud Storage Creating an iOS 5 iCloud enabled App ID Creating and Installing an iCloud Enabled Provisioning Profile Creating an iCloud Entitlements File Manually Creating the Entitlements File Accessing Multiple Ubiquity Containers Ubiquity Container URLs Managing Files using the iOS 5 UIDocument Class An Overview of the UIDocument Class Subclassing the UIDocument Class Conflict Resolution and Document States The UIDocument Example Application Creating a UIDocument Subclass Declaring the Outlets and Actions Designing the User Interface Implementing the Application Data Structure Implementing the contentsForType Method Implementing the loadFromContents Method Loading the Document at App Launch Saving Content to the Document Testing the Application Using iCloud Storage in an iOS 5 iPad Application iCloud Usage Guidelines Preparing the iCloudStore Application for iCloud Access Configuring the View Controller Implementing the viewDidLoad Method Implementing the metadataQueryDidFinishGathering Method Implementing the saveDocument Method Enabling iCloud Document and Data Storage on an iPad Running the iCloud Application Reviewing and Deleting iCloud Based Documents Making a Local File Ubiquitous Synchronizing iPad iOS 5 Key Value Data using iCloud An Overview of iCloud Key Value Data Storage Sharing Data Between Applications Data Storage Restriction Conflict Resolution Receiving Notification of Key Value Changes An iCloud Key Value Data Storage Example Enabling the Application for iCloud Key Value Data Storage Implementing the View Controller Modifying the viewDidLoad Method Implementing the Notification Method Implementing the saveData Method Designing the User Interface Testing the Application iOS 5 iPad Data Persistence using Archiving An Overview of Archiving The Archiving Example Application Implementing the Actions and Outlets Memory Management Designing the User Interface Checking for the Existence of the Archive File on Startup Archiving Object Data in the Action Method Testing the Application iOS 5 iPad Database Implementation using SQLite What is SQLite Structured Query Language SQL Trying SQLite on MacOS X Preparing an iPad Application Project for SQLite Integration Key SQLite Functions Declaring a SQLite Database Opening or Creating a Database Preparing and Executing a SQL Statement Creating a Database Table Extracting Data from a Database Table Closing a SQLite Database An Example SQLite based iOS 5 iPad Application About the Example SQLite iPad Application Creating and Preparing the SQLite Application Project Importing sqlite3 h and declaring the Database Reference Creating the Outlets and Actions Updating viewDidUnload Creating the Database and Table Implementing the Code to Save Data to the SQLite Database Implementing Code to Extract Data from the SQLite Database Designing the User Interface Building and Running the Application Working with iOS 5 iPad Databases using Core Data The Core Data Stack Managed Objects Managed Object Context Managed Object Model Persistent Store Coordinator Persistent Object Store Defining an Entity Description Obtaining the Managed Object Context Getting an Entity Description Creating a Managed Object Getting and Setting the Attributes of a Managed Object Fetching Managed Objects Retrieving Managed Objects based on Criteria An iOS 5 iPad Core Data Tutorial The iPad Core Data Example Application Creating a Core Data based iPad Application Creating the Entity Description Adding a View Controller Adding Actions and Outlets to the View Controller Designing the User Interface Saving Data to the Persistent Store using Core Data Retrieving Data from the Persistent Store using Core Data Updating viewDidUnload Building and Running the Example Application An Overview of iOS 5 iPad Multitouch Taps and Gestures The Responder Chain Forwarding an Event to the Next Responder Gestures Taps Touches Touch Notification Methods touchesBegan method touchesMoved method touchesEnded method touchesCancelled method An Example iOS 5 iPad Touch Multitouch and Tap Application The Example iOS 5

    Original URL path: http://www.techotopia.com/index.php?title=IPad_iOS_5_Development_Essentials&printable=yes (2016-02-13)
    Open archived version from archive


  • Introduction to iPad App Development Essentials - Xcode 4 Edition - Techotopia
    has been talking about tablet computers for many years and has even made a few largely unsuccessful forays into the market The single event that triggered this market shift was the introduction of the iPad in April 2010 Within the first year Apple sold 15 million first generation iPad units The iPad 2 shipped in March 2011 and was sold out within the first weekend of sales in each of the countries in which it was launched The tablet market will of course not be left entirely to Apple At the CES 2011 trade show in Las Vegas approximately 70 new tablet computers were previewed many of which were expected to reach the market within the following 12 months The fact remains however that if not for the success of the iPad few if any of these tablets would even have been created More importantly none of these tablets will be running iOS most will run the Honeycomb release of Google s Android OS and perhaps most significantly none will be part of Apple s formidable ecosystem When developing for the iPad it is important to understand that you are not just targeting a hardware device In essence you are leveraging an entire ecosystem consisting of the device hardware the iOS operating system software development kit SDK iTunes platform and perhaps most importantly the App Store No longer is the success of a mobile device platform a matter of simply the operating system and hardware Instead a platform will succeed or fail based on the ecosystem to which it belongs Google s understanding of the importance of the applications market for example has contributed significantly to the success of Android based devices Conversely Nokia s failure to create a successful ecosystem was cited by CEO Stephen Elop as a contributing

    Original URL path: http://www.techotopia.com/index.php/Introduction_to_iPad_App_Development_Essentials_-_Xcode_4_Edition (2016-02-13)
    Open archived version from archive

  • The Anatomy of an iPad 2 - Techotopia
    network the device can connect at either 802 11b 802 11g or 802 11n speeds For models with cellular support the AT T device supports GSM EDGE connectivity otherwise known as 2G For faster speeds support is also provided for connectivity via Universal Mobile Telecommunications System UMTS High Speed Downlink Packet Access HSDPA and High Speed Uplink Packet Access HSUPA This is better known as 3G and provides data transfer speeds of up to 7 2 megabits per second The Verizon model supports CDMA EV DO Rev A The iPad 2 also includes Bluetooth v2 1 support with Enhanced Data Rate EDR technology Wired Connectivity Given the wide array of wireless options it is not surprising that the iPad has little need for wired connections In fact the iPad only has two One is a standard 3 5 mm headset jack for the attachment of headphones or other audio devices The second is a proprietary 30 pin dock connector that by default is used to provide a USB connection for synching with a computer system and battery charging In practice however this connection also provides audio and TV output via specialty third party cables Memory The iPad 2 comes in six configurations divided into Wi Fi only and Wi Fi 3G categories Each category of device is available in 16GB 32GB and 64GB versions The memory is in the form of a flash drive Unlike some devices the iPad lacks the ability to supplement the installed memory by inserting additional flash memory cards Cameras The iPad 2 contains both front and back facing cameras The Back camera is capable of recording video at a resolution of 720p and at a rate of 30 frames per second and can also act a still camera with 5x digital zoom The front facing camera is VGA resolution also at 20 fps Sensors Sensors built into the iPad 2 consist of an accelerometer that uses the pull of gravity to detect when the device is moved or rotated a three axis gyroscope and an ambient light sensor that detects current environmental light levels eBookFrenzy com Purchase the fully updated iOS 9 Swift 2 Xcode 7 edition of this book in eBook 12 99 or Print 39 99 format iOS 9 App Development Essentials Print and eBook ePub PDF Kindle edition contains 105 chapters Location Detection All iPad 2 models contain a digital compass and the ability to identify approximate location information using Wi Fi The Wi Fi 3G models however also support location detection via GPS support with Assisted GPS A GPS support Essentially this enables the iPad to identify the current location by detecting radio signals from GPS satellites Central Processing Unit CPU The central processing unit CPU of the iPad 2 is the Apple A5 an Apple designed 1Ghz dual core system on a chip SoC consisting of an ARM Cortex A9 MPCore chip combined with an Imagination Technologies PowerVR Graphics Processing Unit GPU This Cortex A9 MPCore processor is designed by

    Original URL path: http://www.techotopia.com/index.php/The_Anatomy_of_an_iPad_2 (2016-02-13)
    Open archived version from archive

  • Creating a Simple iPad iOS 4 App (Xcode 4) - Techotopia
    plist file extension These are Property List files that contain key value pair information For example the HelloWorld info plist file contains resource settings relating to items such as the language icon file executable name and app identifier The list of files is displayed in the Project Navigator located in left hand panel of the main Xcode project window A toolbar at the top of this panel contains options to display other information such as build and run history breakpoints compilation errors and warnings symbol navigator and a search panel The center panel of the window by default shows a summary of the settings for the application This includes the identifier specified during the project creation process and the target device Options are also provided to configure the orientations of the device that are to be supported by the application together with options to upload an icon the small image the user selects on the device screen to launch the application and splash screen image displayed to the user while the application loads for the application In addition to the Summary screen tabs are provided to view and modify additional settings consisting of Info Build Settings Build Phases and Build Rules As we progress through subsequent chapters of this book we will explore some of these other configuration options in greater detail To return to the Summary panel at any future point in time make sure the Project Navigator is selected in the left hand panel and select the top item the application name in the navigator list When a source file is selected from the list in the main panel the contents of that file will appear in the center panel where it may then be edited To open the file in a separate editing window simply double click on the file in the list eBookFrenzy com Purchase the fully updated iOS 9 Swift 2 Xcode 7 edition of this book in eBook 12 99 or Print 39 99 format iOS 9 App Development Essentials Print and eBook ePub PDF Kindle edition contains 105 chapters Creating the iOS App User Interface Simply by the very nature of the environment in which they run iPad apps are almost exclusively visually oriented As such a key component of just about any iPad based app involves a user interface through which the user will interact with the application and in turn receive feedback Whilst it is possible to develop user interfaces by writing code to create and position items on the screen this is a complex and error prone process In recognition of this Apple provides a tool called Interface Builder that allows a user interface to be visually constructed by dragging and dropping components onto a canvas and setting properties to configure the appearance and behavior of those components Interface Builder was originally developed some time ago for creating Mac OS X applications but has now been updated to allow for the design of iOS app user interfaces for the iPhone

    Original URL path: http://www.techotopia.com/index.php/Creating_a_Simple_iPad_iOS_4_App (2016-02-13)
    Open archived version from archive

  • An Overview of the iPad iOS 4 Application Development Architecture - Techotopia
    single model view and controller In fact an app can consist of multiple view objects controller objects and model objects The way that a view controller object interacts with a Model is through the methods and properties exposed by that model object This in fact is no different from the way one object interacts with another in any object oriented programming environment In terms of the view controller s interactions with the view however things get a little more complicated In practice this is achieved using the Target Action pattern together with Outlets and Actions eBookFrenzy com Purchase the fully updated iOS 9 Swift 2 Xcode 7 edition of this book in eBook 12 99 or Print 39 99 format iOS 9 App Development Essentials Print and eBook ePub PDF Kindle edition contains 105 chapters The Target Action pattern IBOutlets and IBActions When you create an iOS iPad app you will typically design the user interface the view using the Interface Builder tool and write the view controller and model code in Objective C using the Xcode code editor The previous section looked briefly at how the view controller interacts with the model In this section we will look at how the view created in Interface Builder and our view controller code interact with each other When a user interacts with objects in the view for example touching and releasing a button control an event is triggered in this case the event is called a Touch up Inside event The purpose of the Target Action pattern is to allow you to specify what happens when such events are triggered In other words this is how you connect the objects in the user interface you have designed in the Interface Builder tool to the back end Objective C code you have written in the Xcode environment Specifically this allows you to define which method of which controller object gets called when a user interacts in a certain way with a view object The process of wiring up a view object to call a specific method on a view controller object is achieved using something called an Action An action is a method defined within a view controller object that is designed to be called when an event is triggered in a view object This allows us to connect a view object created within a nib file using Interface Builder to the code that we have written in the view controller object This is one of the ways that we bridge the separation between the View and the Controller in our MVC design pattern As we will see in Creating an Interactive iOS 4 iPad App action methods are declared using the IBAction keyword The opposite of an Action is the Outlet As previously described an Action allows a view object to call a method on a controller object An Outlet on the other hand allows a view controller object method to directly access the properties of a view object A view

    Original URL path: http://www.techotopia.com/index.php/An_Overview_of_the_iPad_iOS_4_Application_Development_Architecture (2016-02-13)
    Open archived version from archive

  • IPad iOS 4 App development Essentials - Xcode 4 Edition - Techotopia
    with iOS 4 The Application Documents Directory The Objective C NSFileManager NSFileHandle and NSData Classes Understanding Pathnames in Objective C Creating an NSFileManager Instance Object Identifying the Current Working Directory Identifying the Documents Directory Identifying the Temporary Directory Changing Directory Creating a New Directory Deleting a Directory Listing the Contents of a Directory Getting the Attributes of a File or Directory Working with Files on the iPad with iOS 4 Creating an NSFileManager Instance Checking if a File Exists Comparing the Contents of Two Files Checking if a File is Readable Writable Executable Deletable Moving Renaming a File Copying a File Removing a File Creating a Symbolic Link Reading and Writing Files with NSFileManager NSFileHandle File Offsets and Seeking Reading Data from a File Writing Data to a File Truncating a File iPad iOS 4 SDK Directory Handling and File I O A Worked Example The Example iPad Application Setting up the Application project Designing the User Interface Checking for the Data File on Application Startup Implementing the Action Method Data Persistence on the iPad using Archiving with iOS 4 An Overview of Archiving The iPad Object Archiving Example Application Implementing the Actions and Outlets Releasing Memory Designing the iPad User Interface Checking for the Existence of the Archive File on Startup Archiving Object Data in the Action Method Testing the Application iOS 4 iPad Database Implementation using SQLite What is SQLite Structured Query Language SQL Trying SQLite on MacOS X Preparing an iPad Application Project for SQLite Integration Key SQLite Functions Declaring a SQLite Database Opening or Creating a Database Preparing and Executing a SQL Statement Creating a Database Table Extracting Data from a Database Table Closing a SQLite Database An Example SQLite based iOS 4 iPad Application About the Example SQLite iPad Application Creating and Preparing the SQLite Application Project Importing sqlite3 h and declaring the Database Reference Creating the Outlets and Actions Releasing Memory Creating the Database and Table Implementing the Code to Save Data to the SQLite Database Implementing Code to Extract Data from the SQLite Database Designing the User Interface Building and Running the Application Working with iOS 4 iPad Databases using Core Data The Core Data Stack Managed Objects Managed Object Context Managed Object Model Persistent Store Coordinator Persistent Object Store Defining an Entity Description Obtaining the Managed Object Context Getting an Entity Description Creating a Managed Object Getting and Setting the Attributes of a Managed Object Fetching Managed Objects Retrieving Managed Objects based on Criteria An iOS 4 iPad Core Data Tutorial The iPad Core Data Example Application Creating a Core Data based iPad Application Creating the Entity Description Adding a View Controller Connecting the View Adding Actions and Outlets to the View Controller Designing the User Interface Saving Data to the Persistent Store using Core Data Retrieving Data from the Persistent Store using Core Data Releasing Memory Building and Running the Example Application An Overview of iOS 4 iPad Multitouch Taps and Gestures The Responder Chain Forwarding an Event to the Next

    Original URL path: http://www.techotopia.com/index.php?title=IPad_iOS_4_App_development_Essentials_-_Xcode_4_Edition&oldid=22129 (2016-02-13)
    Open archived version from archive

  • Pages that link to "IPad iOS 4 App development Essentials - Xcode 4 Edition" - Techotopia
    Windows and the View Hierarchy Xcode 4 links IOS 4 iPad Rotation View Resizing and Layout Handling Xcode 4 links Creating an iOS 4 iPad Multiview Application using the Tab Bar Xcode 4 links Identifying iPad Gestures using iOS 4 Gesture Recognizers Xcode 4 links An iPad iOS 4 Gesture Recognition Tutorial Xcode 4 links Basic iPad Animation using Core Animation Xcode 4 links An iOS 4 iPad Core Animation Tutorial Xcode 4 links Integrating iAds into an iOS 4 iPad App Xcode 4 links An iOS 4 iPad Multiple Component UIPickerView Example Xcode 4 links Working with Directories on the iPad with iOS 4 Xcode 4 links Working with Files on the iPad with iOS 4 Xcode 4 links IPad iOS 4 SDK Directory Handling and File I O A Worked Example Xcode 4 links Data Persistence on the iPad using Archiving with iOS 4 Xcode 4 links Creating a Simple iOS 4 iPad Table View Application Xcode 4 links An iPad iOS 4 Split View and Popover Example Xcode 4 links Creating a Navigation based iOS 4 iPad Application using TableViews Xcode 4 links IOS 4 iPad Database Implementation using SQLite Xcode 4 links An Example SQLite based iOS 4 iPad Application Xcode 4 links Working with iOS 4 iPad Databases using Core Data Xcode 4 links Working with Maps on the iPad with MapKit and the MKMapView Class Xcode 4 links Getting iPad Location Information using the iOS 4 Core Location Framework Xcode 4 links An Example iOS 4 iPad Location Application Xcode 4 links An Overview of iOS 4 iPad Multitasking Xcode 4 links Playing Audio on an iPad using AVAudioPlayer Xcode 4 links Video Playback from within an iOS 4 iPad Application Xcode 4 links Scheduling iOS 4 iPad Local Notifications Xcode 4 links Drawing

    Original URL path: http://www.techotopia.com/index.php/Special:WhatLinksHere/IPad_iOS_4_App_development_Essentials_-_Xcode_4_Edition (2016-02-13)
    Open archived version from archive

  • IPad iOS 4 App development Essentials - Xcode 4 Edition - Techotopia
    Directory Identifying the Temporary Directory Changing Directory Creating a New Directory Deleting a Directory Listing the Contents of a Directory Getting the Attributes of a File or Directory Working with Files on the iPad with iOS 4 Creating an NSFileManager Instance Checking if a File Exists Comparing the Contents of Two Files Checking if a File is Readable Writable Executable Deletable Moving Renaming a File Copying a File Removing a File Creating a Symbolic Link Reading and Writing Files with NSFileManager NSFileHandle File Offsets and Seeking Reading Data from a File Writing Data to a File Truncating a File iPad iOS 4 SDK Directory Handling and File I O A Worked Example The Example iPad Application Setting up the Application project Designing the User Interface Checking for the Data File on Application Startup Implementing the Action Method Data Persistence on the iPad using Archiving with iOS 4 An Overview of Archiving The iPad Object Archiving Example Application Implementing the Actions and Outlets Releasing Memory Designing the iPad User Interface Checking for the Existence of the Archive File on Startup Archiving Object Data in the Action Method Testing the Application iOS 4 iPad Database Implementation using SQLite What is SQLite Structured Query Language SQL Trying SQLite on MacOS X Preparing an iPad Application Project for SQLite Integration Key SQLite Functions Declaring a SQLite Database Opening or Creating a Database Preparing and Executing a SQL Statement Creating a Database Table Extracting Data from a Database Table Closing a SQLite Database An Example SQLite based iOS 4 iPad Application About the Example SQLite iPad Application Creating and Preparing the SQLite Application Project Importing sqlite3 h and declaring the Database Reference Creating the Outlets and Actions Releasing Memory Creating the Database and Table Implementing the Code to Save Data to the SQLite Database Implementing Code to Extract Data from the SQLite Database Designing the User Interface Building and Running the Application Working with iOS 4 iPad Databases using Core Data The Core Data Stack Managed Objects Managed Object Context Managed Object Model Persistent Store Coordinator Persistent Object Store Defining an Entity Description Obtaining the Managed Object Context Getting an Entity Description Creating a Managed Object Getting and Setting the Attributes of a Managed Object Fetching Managed Objects Retrieving Managed Objects based on Criteria An iOS 4 iPad Core Data Tutorial The iPad Core Data Example Application Creating a Core Data based iPad Application Creating the Entity Description Adding a View Controller Connecting the View Adding Actions and Outlets to the View Controller Designing the User Interface Saving Data to the Persistent Store using Core Data Retrieving Data from the Persistent Store using Core Data Releasing Memory Building and Running the Example Application An Overview of iOS 4 iPad Multitouch Taps and Gestures The Responder Chain Forwarding an Event to the Next Responder Gestures Taps Touches Touch Notification Methods touchesBegan method touchesMoved method touchesEnded method touchesCancelled method An Example iOS 4 iPad Touch Multitouch and Tap Application The Example iOS iPad Tap and Touch Application

    Original URL path: http://www.techotopia.com/index.php?title=IPad_iOS_4_App_development_Essentials_-_Xcode_4_Edition&printable=yes (2016-02-13)
    Open archived version from archive



  •