extensions
TRANSCRIPT
ExtensionsManjula Jonnalagadda
What are they
• Plug in programs
• Run independently
• Universal
Types of Extensions• Today
• Appears in Notification centers
• Share
• Share in your app
• Action
• Change the View, Contents
• Photo Editing
• Add filters, etc
• Document Providers
• Custom Keyboards
Life cycle
Communication
App to Extension communication
APIs Unavailable• sharedApplication
• Anything with NS_EXTENSION_UNAVAILABLE
• Access to camera or microphone
• Long running background tasks
• Receive data via AirDrop
Remember• Shared frameworks cannot use restricted APIs
• Enable App groups and shared containers to share data using NSUserdefaults, Coredata, SQLite
• Get results from webpages by using Javascript
• Perform uploads and download using backgroundSessions
• Declare supported data types and use NSExtensionActivationRule predicate