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".
  • Playing Audio on iOS 9 using AVAudioPlayer - Techotopia
    Begin by launching Xcode and creating a new Universal Single View Application named AudioDemo using the Swift programming language Adding an Audio File to the Project Resources In order to experience audio playback it will be necessary to add an audio file to the project resources For this purpose any supported audio format file will be suitable Having identified a suitable audio file drag and drop it into the Project Navigator panel of the main Xcode window For the purposes of this tutorial we will be using an MP3 file named Moderato mp3 which can be found in the audiofiles folder of the sample code archive downloadable from the following URL http www ebookfrenzy com code iOS9BookSamples zip Having downloaded and unzipped the file locate it in a Finder window and drag and drop it onto the Project Navigator panel Designing the User Interface The application user interface is going to comprise two buttons labeled Play and Stop and a slider to allow the volume of playback to be adjusted Select the Main storyboard file display the Object Library View Utilities Show Object Library drag and drop components from the Library onto the View window and modify properties so that the interface appears as illustrated in Figure 94 1 Figure 94 1 With the scene view selected within the storyboard canvas display the Auto Layout Resolve Auto Layout Issues menu and select the Reset to Suggested Constraints menu option listed in the All Views in View Controller section of the menu Select the slider object in the view canvas display the Assistant Editor panel and verify that the editor is displaying the contents of the ViewController swift file Ctrl click on the slider object and drag to a position just below the class declaration line in the Assistant Editor Release the line and in the resulting connection dialog establish an outlet connection named volumeControl Ctrl click on the Play button object and drag the line to the area immediately beneath the viewDidLoad method in the Assistant Editor panel Release the line and within the resulting connection dialog establish an Action method on the Touch Up Inside event configured to call a method named playAudio Repeat these steps to establish an action on the Stop button to a method named stopAudio Ctrl click on the slider object and drag the line to the area immediately beneath the newly created actions in the Assistant Editor panel Release the line and within the resulting connection dialog establish an Action method on the Value Changed event configured to call a method named adjustVolume Close the Assistant Editor panel and select the ViewController swift file in the project navigator panel and add an import directive and delegate declaration together with a property to store a reference to the AVAudioPlayer instance as follows import UIKit import AVFoundation class ViewController UIViewController AVAudioPlayerDelegate IBOutlet weak var volumeControl UISlider var audioPlayer AVAudioPlayer eBookFrenzy com Purchase the full edition of this iOS 9 App Development Essentials book in eBook 12

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


  • Recording Audio on iOS 9 with AVAudioRecorder - Techotopia
    displaying the contents of the ViewController swift file Ctrl click on the Record button object and drag to a position just below the class declaration line in the Assistant Editor Release the line and in the resulting connection dialog establish an outlet connection named recordButton Repeat these steps to establish outlet connections for the Play and Stop buttons named playButton and stopButton respectively Continuing to use the Assistant Editor establish Action connections from the three buttons to methods named recordAudio playAudio and stopAudio Close the Assistant Editor panel select the ViewController swift file and modify it to import the AVFoundation framework declare adherence to some delegate protocols and to add properties to store references to AVAudioRecorder and AVAudioPlayer instances import UIKit import AVFoundation class ViewController UIViewController AVAudioPlayerDelegate AVAudioRecorderDelegate var audioPlayer AVAudioPlayer var audioRecorder AVAudioRecorder eBookFrenzy com Purchase the full edition of this iOS 9 App Development Essentials 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 AVAudioRecorder Instance When the application is first launched an instance of the AVAudioRecorder class needs to be created This will be initialized with the URL of a file into which the recorded audio is to be saved Also passed as an argument to the initialization method is an NSDictionary object indicating the settings for the recording such as bit rate sample rate and audio quality A full description of the settings available may be found in the appropriate Apple iOS reference materials As is often the case a good location to initialize the AVAudioRecorder instance is the viewDidLoad method of the view controller located in the ViewController swift file Select the file in the project navigator locate this method and modify it so that it reads as follows override func viewDidLoad super viewDidLoad playButton enabled false stopButton enabled false let fileMgr NSFileManager defaultManager let dirPaths fileMgr URLsForDirectory DocumentationDirectory inDomains UserDomainMask let soundFileURL dirPaths 0 URLByAppendingPathComponent sound caf let recordSettings AVEncoderAudioQualityKey AVAudioQuality Min rawValue AVEncoderBitRateKey 16 AVNumberOfChannelsKey 2 AVSampleRateKey 44100 0 let audioSession AVAudioSession sharedInstance do try audioSession setCategory AVAudioSessionCategoryPlayAndRecord catch let error as NSError print audioSession error error localizedDescription do try audioRecorder AVAudioRecorder URL soundFileURL settings recordSettings as String AnyObject audioRecorder prepareToRecord catch let error as NSError print audioSession error error localizedDescription Since no audio has yet been recorded the above method disables the play and stop buttons It then identifies the application s documents directory and constructs a URL to a file in that location named sound caf An NSDictionary object is then created containing the recording quality settings before an audio session and an instance of the AVAudioRecorder class are created Assuming no errors are encountered the audioRecorder instance is prepared to begin recording when requested to do so by the user Implementing the Action Methods The next step is to implement the action methods connected to the three button objects Select the ViewController swift file and modify it as outlined in the following

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

  • Preparing and Submitting an iOS 9 Application to the App Store - Techotopia
    Ctrl click on the catalog and select Import from the menu to import multiple files At a minimum you will need to add 40 x 40 76 x 76 120 x 120 and 152 x 152 PNG icon files in order to pass the archive validate stage Designing the Launch Screen The launch screen contains the content that appears when the application is starting up The design for this screen is contained in the LaunchScreen storyboard file which will have been generated automatically during the project creation process Load the file into interface Builder and modify it to meet your requirements including adding any images that may be required and keeping in mind that the layout must use Auto Layout and Size Classes to ensure that the layout appears correctly on all screen sizes Note also that the layout is limited to UIKit classes and cannot include a UIWebView object Assign the Project to a Team As part of the submission process the project must be associated with a development team to ensure that the correct signing credentials are used In the project navigator panel select the project name to display the project settings panel Click the General tab and within the Identity section select a team from the menu as shown in Figure 105 5 Figure 105 5 Archiving the Application for Distribution The application must now be rebuilt using the previously installed distribution profile To generate the archive select the Xcode Product Archive menu option Note that if the Archive menu is disabled this is most likely because a simulator option is currently selected as the run target in the Xcode toolbar Changing this menu either to a connected device or the generic iOS Device target option should enable the Archive option in the Product menu Xcode will proceed to archive the application ready for submission Once the process is complete the archive will be displayed in the Archive window ready for upload and distribution Figure 105 6 Configuring the Application in iTunes Connect Before an application can be submitted to the App Store for review it must first be configured in iTunes Connect Enrollment in the Apple Developer program automatically results in the creation of an iTunes Connect account using the same login credentials iTunes Connect is a portal where developers enter tax and payment information input details about applications and track the status of those applications in terms of sales and revenues Access iTunes Connect by navigating to http itunesconnect apple com in a web browser and entering your Apple Developer program login and password details First time users should click on the Agreements Tax and Banking option and work through the various tasks to accept Apple s terms and conditions and to input appropriate tax and banking information for the receipt of sales revenue Once the administrative tasks are complete select the My Apps option and click on the button followed by New iOS App to enter information about the application Begin by entering a

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

  • IOS 9 App Development Essentials - Techotopia
    to the Detail View Modifying the DetailViewController Class Testing the Application A Guide to Multitasking in iOS 9 Using iPad Multitasking Picture In Picture Multitasking iPad Devices with Multitasking Support Multitasking and Size Classes Multitasking and the Master Detail Split View Handling Multitasking in Code willTransitionToTraitCollection withTransitionCoordinator viewWillTransitionToSize withTransitionCoordinator traitCollectionDidChange Lifecycle Method Calls Enabling Multitasking Support Opting Out of Multitasking An iOS 9 Multitasking Example Creating the Multitasking Example Project Adding the Image Files Designing the Regular Width Size Class Layout Designing the Compact Width Size Class Testing the Project in a Multitasking Environment Implementing a Page based iOS 9 Application with UIPageViewController The UIPageViewController Class The UIPageViewController DataSource Navigation Orientation Spine Location The UIPageViewController Delegate Protocol An Example iOS 9 UIPageViewController Application The Xcode Page based Application Template Creating the Project Adding the Content View Controller Creating the Data Model Initializing the UIPageViewController Running the UIPageViewController Application Working with Directories in Swift on iOS 9 The Application Documents Directory The NSFileManager NSFileHandle and NSData Classes Understanding Pathnames in Swift Obtaining a Reference to the Default NSFileManager 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 in Swift on iOS 9 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 9 Directory Handling and File I O in Swift A Worked Example The Example Application Setting up the Application Project Designing the User Interface Checking the Data File on Application Startup Implementing the Action Method Building and Running the Example Preparing an iOS 9 App to use iCloud Storage iCloud Data Storage Services Preparing an Application to Use iCloud Storage Enabling iCloud Support for an iOS 9 Application Reviewing the iCloud Entitlements File Accessing Multiple Ubiquity Containers Ubiquity Container URLs Managing Files using the iOS 9 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 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 9 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 Running the iCloud Application Reviewing and Deleting iCloud Based Documents Making a Local File Ubiquitous Synchronizing iOS 9 Key Value Data using iCloud An Overview of iCloud Key Value Data Storage Sharing Data Between Applications Data Storage Restrictions Conflict Resolution Receiving Notification of Key Value Changes An iCloud Key Value Data Storage Example Enabling the Application for iCloud Key Value Data Storage Designing the User Interface Implementing the View Controller Modifying the viewDidLoad Method Implementing the Notification Method Implementing the saveData Method Testing the Application iOS 9 Database Implementation using SQLite What is SQLite Structured Query Language SQL Trying SQLite on MacOS X Preparing an iOS Application Project for SQLite Integration SQLite Swift and Wrappers Key FMDB Classes Creating and Opening a Database Creating a Database Table Extracting Data from a Database Table Closing a SQLite Database An Example SQLite based iOS 9 Application using Swift and FMDB About the Example SQLite Application Creating and Preparing the SQLite Application Project Checking Out the FMDB Source Code Designing the User Interface Creating the Database and Table Implementing the Code to Save Data to the SQLite Database Implementing Code to Extract Data from the SQLite Database Building and Running the Application Working with iOS 9 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 Generating a Managed Object Subclass Setting the Attributes of a Managed Object Saving a Managed Object Fetching Managed Objects Retrieving Managed Objects based on Criteria Accessing the Data in a Retrieved Managed Object An iOS 9 Core Data Tutorial The Core Data Example Application Creating a Core Data based Application Creating the Entity Description Generating the Managed Object Subclass Designing the User Interface Accessing the Managed Object Context Saving Data to the Persistent Store using Core Data Retrieving Data from the Persistent Store using Core Data Building and Running the Example Application An Introduction to CloudKit Data Storage on iOS 9 An Overview of CloudKit CloudKit Containers CloudKit Public Database CloudKit Private Databases Data Storage and Transfer Quotas CloudKit Records CloudKit Record IDs CloudKit References CloudKit Assets Record Zones CloudKit Subscriptions Obtaining iCloud User Information CloudKit Dashboard An iOS 9 CloudKit Example About the Example CloudKit Project Creating the CloudKit Example Project Designing the User Interface Establishing Outlets and Actions Accessing the Public Database Hiding the Keyboard Implementing the selectPhoto method Saving a Record to the Cloud Database Implementing the notifyUser Method Testing the Record Saving Method Searching for Cloud Database Records Updating Cloud Database Records Deleting a Cloud Record Testing the Application An iOS 9 CloudKit Subscription Example Push Notifications and CloudKit Subscriptions Registering an App to Receive Push Notifications Configuring a CloudKit Subscription Handling Remote Notifications Implementing the didReceiveRemoteNotification Method Fetching a Record From a Cloud Database Completing the didFinishLaunchingWithOptions Method Testing the Application An Overview of iOS 9 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 Touch Prediction Touch

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

  • Pages that link to "IOS 9 App Development Essentials" - Techotopia
    7 and the iOS 9 SDK links A Guided Tour of Xcode 7 links An Introduction to Xcode 7 Playgrounds links Swift 2 Data Types Constants and Variables links Swift 2 Operators and Expressions links Swift 2 Flow Control links The Swift 2 Switch Statement links An Overview of Swift 2 Functions Methods and Closures links The Basics of Object Oriented Programming in Swift 2 links An Introduction to Swift Subclassing and Extensions links Working with Array and Dictionary Collections in Swift 2 links Creating an Interactive iOS 9 App links An Introduction to Auto Layout in iOS 9 links Working with iOS 9 Auto Layout Constraints in Interface Builder links An iOS 9 Auto Layout Example links Implementing iOS 9 Auto Layout Constraints in Code links Implementing Cross Hierarchy Auto Layout Constraints in iOS 9 links Understanding the iOS 9 Auto Layout Visual Format Language links Using Size Classes to Design Adaptable Universal iOS 9 User Interfaces links Using Storyboards in Xcode 7 links Organizing Scenes over Multiple Xcode Storyboard Files links Using Xcode 7 Storyboards to Create an iOS 9 Tab Bar Application links Working with the iOS 9 Stack View Class links An iOS 9 Stack View Tutorial links An iOS 9 Split View Master Detail Example links A Guide to Multitasking in iOS 9 links An iOS 9 Multitasking Example links Implementing a Page based iOS 9 Application with UIPageViewController links An Example iOS 9 UIPageViewController Application links Working with Directories in Swift on iOS 9 links Working with Files in Swift on iOS 9 links IOS 9 Directory Handling and File I O in Swift A Worked Example links Preparing an iOS 9 App to use iCloud Storage links Managing Files using the iOS 9 UIDocument Class links Using iCloud Storage in an iOS 9

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

  • IOS 9 App Development Essentials - Techotopia
    and Size Classes Multitasking and the Master Detail Split View Handling Multitasking in Code willTransitionToTraitCollection withTransitionCoordinator viewWillTransitionToSize withTransitionCoordinator traitCollectionDidChange Lifecycle Method Calls Enabling Multitasking Support Opting Out of Multitasking An iOS 9 Multitasking Example Creating the Multitasking Example Project Adding the Image Files Designing the Regular Width Size Class Layout Designing the Compact Width Size Class Testing the Project in a Multitasking Environment Implementing a Page based iOS 9 Application with UIPageViewController The UIPageViewController Class The UIPageViewController DataSource Navigation Orientation Spine Location The UIPageViewController Delegate Protocol An Example iOS 9 UIPageViewController Application The Xcode Page based Application Template Creating the Project Adding the Content View Controller Creating the Data Model Initializing the UIPageViewController Running the UIPageViewController Application Working with Directories in Swift on iOS 9 The Application Documents Directory The NSFileManager NSFileHandle and NSData Classes Understanding Pathnames in Swift Obtaining a Reference to the Default NSFileManager 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 in Swift on iOS 9 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 9 Directory Handling and File I O in Swift A Worked Example The Example Application Setting up the Application Project Designing the User Interface Checking the Data File on Application Startup Implementing the Action Method Building and Running the Example Preparing an iOS 9 App to use iCloud Storage iCloud Data Storage Services Preparing an Application to Use iCloud Storage Enabling iCloud Support for an iOS 9 Application Reviewing the iCloud Entitlements File Accessing Multiple Ubiquity Containers Ubiquity Container URLs Managing Files using the iOS 9 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 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 9 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 Running the iCloud Application Reviewing and Deleting iCloud Based Documents Making a Local File Ubiquitous Synchronizing iOS 9 Key Value Data using iCloud An Overview of iCloud Key Value Data Storage Sharing Data Between Applications Data Storage Restrictions Conflict Resolution Receiving Notification of Key Value Changes An iCloud Key Value Data Storage Example Enabling the Application for iCloud Key Value Data Storage Designing the User Interface Implementing the View Controller Modifying the viewDidLoad Method Implementing the Notification Method Implementing the saveData Method Testing the Application iOS 9 Database Implementation using SQLite What is SQLite Structured Query Language SQL Trying SQLite on MacOS X Preparing an iOS Application Project for SQLite Integration SQLite Swift and Wrappers Key FMDB Classes Creating and Opening a Database Creating a Database Table Extracting Data from a Database Table Closing a SQLite Database An Example SQLite based iOS 9 Application using Swift and FMDB About the Example SQLite Application Creating and Preparing the SQLite Application Project Checking Out the FMDB Source Code Designing the User Interface Creating the Database and Table Implementing the Code to Save Data to the SQLite Database Implementing Code to Extract Data from the SQLite Database Building and Running the Application Working with iOS 9 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 Generating a Managed Object Subclass Setting the Attributes of a Managed Object Saving a Managed Object Fetching Managed Objects Retrieving Managed Objects based on Criteria Accessing the Data in a Retrieved Managed Object An iOS 9 Core Data Tutorial The Core Data Example Application Creating a Core Data based Application Creating the Entity Description Generating the Managed Object Subclass Designing the User Interface Accessing the Managed Object Context Saving Data to the Persistent Store using Core Data Retrieving Data from the Persistent Store using Core Data Building and Running the Example Application An Introduction to CloudKit Data Storage on iOS 9 An Overview of CloudKit CloudKit Containers CloudKit Public Database CloudKit Private Databases Data Storage and Transfer Quotas CloudKit Records CloudKit Record IDs CloudKit References CloudKit Assets Record Zones CloudKit Subscriptions Obtaining iCloud User Information CloudKit Dashboard An iOS 9 CloudKit Example About the Example CloudKit Project Creating the CloudKit Example Project Designing the User Interface Establishing Outlets and Actions Accessing the Public Database Hiding the Keyboard Implementing the selectPhoto method Saving a Record to the Cloud Database Implementing the notifyUser Method Testing the Record Saving Method Searching for Cloud Database Records Updating Cloud Database Records Deleting a Cloud Record Testing the Application An iOS 9 CloudKit Subscription Example Push Notifications and CloudKit Subscriptions Registering an App to Receive Push Notifications Configuring a CloudKit Subscription Handling Remote Notifications Implementing the didReceiveRemoteNotification Method Fetching a Record From a Cloud Database Completing the didFinishLaunchingWithOptions Method Testing the Application An Overview of iOS 9 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 Touch Prediction Touch Coalescing 3D Touch iPad Pro and the Apple Pencil Stylus An Example iOS 9 Touch Multitouch and Tap Application The Example iOS 9 Tap and Touch Application Creating the Example iOS

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

  • Information for "IOS 9 App Development Essentials" - Techotopia
    236 Page ID 5585 Page content language English en Page content model wikitext Indexing by robots Allowed Number of redirects to this page 1 Counted as a content page Yes Page protection Edit Allow all users infinite Move Allow all users infinite Edit history Page creator Neil Talk contribs Date of page creation 20 54 27 July 2015 Latest editor Neil Talk contribs Date of latest edit 20 34 1

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

  • WatchOS 2 Apps – An Overview - Techotopia
    weather app would add a WatchKit app extension to the iOS app design a suitable user interface to display the information on the watch display and implement the logic to display the appropriate weather information and respond to any user interaction Instead of having to launch the iOS app from the iPhone device to check the weather the user can now launch the WatchKit app from the Apple Watch and view and interact with the information Clearly the display size of an Apple Watch is considerably smaller than that of even the smallest of iPhone models As such a WatchKit app will typically display only a subset of the content available on the larger iPhone screen For more detailed information the user would still need to make use of the iOS application The watchOS SDK Frameworks Running directly on the hardware of the Apple Watch is the watchOS 2 operating system Included with the operating system is a set of frameworks that combine to make up the watchOS SDK WatchKit apps are developed by making use of the various frameworks contained within the watchOS SDK This can best be presented visually as outlined in the diagram shown in Figure 2 1 Figure 2 1 The key layer for the app developer is the watchOS SDK which contains a number of different frameworks Figure 2 2 illustrates the frameworks contained within the watchOS 2 SDK that are available for use when developing apps for watchOS Figure 2 2 With the exception of the WatchKit and Watch Connectivity frameworks many of these frameworks will be familiar to iOS developers though it is important to be aware that not all of the features of a framework that are available on iOS are supported on watchOS The Key Components of a WatchKit App A WatchKit app is comprised of the Watchkit app and a WatchKit extension Extensions are a feature introduced as part of the iOS 8 SDK release and were originally intended solely to allow certain capabilities of an application to be made available for use within other applications running on the same device The developer of a photo editing application might for example have devised some unique image filtering capabilities and decide that those features would be particularly useful to users of the iOS Photos app To achieve this the developer would implement these features in a Photo Editing extension which would then appear as an option to users when editing an image within the Photos app Other extension types are also available for performing document storage creating custom keyboards and embedding information from an application into the iOS notification panel With the introduction of the Apple Watch and watchOS however the concept of extensions has now been extended to make the functionality of an iOS app available in the form of a WatchKit app Extensions are separate executable binaries that run independently of the corresponding iOS application Although extensions take the form of an individual binary they must be supplied and

    Original URL path: http://www.techotopia.com/index.php/WatchOS_2_Apps_%E2%80%93_An_Overview (2016-02-13)
    Open archived version from archive



  •