Presentation is loading. Please wait.

Presentation is loading. Please wait.

// Creating Extensions in iOS Jesse Dietrichson |

Similar presentations


Presentation on theme: "// Creating Extensions in iOS Jesse Dietrichson |"— Presentation transcript:

1 // Creating Extensions in iOS Jesse Dietrichson | Jesse.Dietrichson@Xamarin.com

2  Allows you to extend the functionality of your application to other applications or the system through an extension point. What is an Extension? Share  Available in iOS 8.0+

3  An area in the system that supports extensions is called an extension point. Extension Points TodaySharePhoto Editing Custom Keyboard Action

4  An area in the system that supports extensions is called an extension point. Extension Points TodaySharePhoto Editing Custom Keyboard Action A widget that appears on the Today view of the Notification Center.

5  An area in the system that supports extensions is called an extension point. Extension Points TodaySharePhoto Editing Custom Keyboard Action Allows content to be shared through your application.

6  An area in the system that supports extensions is called an extension point. Extension Points TodaySharePhoto Editing Custom Keyboard Action Allows photos and videos to be edited in the Photos app.

7  An area in the system that supports extensions is called an extension point. Extension Points TodaySharePhoto Editing Custom Keyboard Action Replace the iOS system keyboard with a custom keyboard.

8  An area in the system that supports extensions is called an extension point. Extension Points TodaySharePhoto Editing Custom Keyboard Action Manipulate or view content. Ex) translate a web page.

9  Creating an extension will result in creating two projects. Creating an Extension Container ProjectExtension Project

10  Creating an extension will result in creating two projects. Creating an Extension Container ProjectExtension Project References

11  Creating an extension will result in creating two projects. Creating an Extension Container ProjectExtension Project References Automatic with new wizard in Xamarin 4

12  Extensions are loaded, executed, and terminated. Extension Lifecycle

13  Extensions are loaded, executed, and terminated. Extension Lifecycle Suspended State

14  Extensions can communicate with the host application through the ExtensionContext property. Extension Communication

15  Extensions can communicate with the host application through the ExtensionContext property. Extension Communication The application starting the extension.

16  Extensions can communicate with the host application through the ExtensionContext property. Extension Communication Communication with container app

17  Extensions can communicate with the host application through the ExtensionContext property. Extension Communication Communication with container app The application shipped with the extension.

18  Heath Kit and EventKit UI are not available. Extension Limitations  Can’t use extended background modes.  Can’t access device’s camera or microphone.  Can’t receive Air Drop data.  UIActionSheet and UIAlertView are not available.

19  Heath Kit and EventKit UI are not available. Extension Limitations  Can’t use extended background modes.  Can’t access device’s camera or microphone.  Can’t receive Air Drop data.  UIActionSheet and UIAlertView are not available.

20  Heath Kit and EventKit UI are not available. Extension Limitations  Can’t use extended background modes.  Can’t access device’s camera or microphone.  Can’t receive Air Drop data.  UIActionSheet and UIAlertView are not available.

21  Heath Kit and EventKit UI are not available. Extension Limitations  Can’t use extended background modes.  Can’t access device’s camera or microphone.  Can’t receive Air Drop data.  UIActionSheet and UIAlertView are not available.

22  Heath Kit and EventKit UI are not available. Extension Limitations  Can’t use extended background modes.  Can’t access device’s camera or microphone.  Can’t receive Air Drop data.  UIActionSheet and UIAlertView are not available.

23 Demonstration

24 Thank You! Please complete the class survey in your profile: university.xamarin.com/profile // Questions?


Download ppt "// Creating Extensions in iOS Jesse Dietrichson |"

Similar presentations


Ads by Google