creating extensions in ios jesse dietrichson |

24
// Creating Extensions in iOS Jesse Dietrichson | [email protected]

Upload: ralph-houston

Post on 18-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Creating Extensions in iOS Jesse Dietrichson |

//

Creating Extensions in iOS

Jesse Dietrichson | [email protected]

Page 2: Creating Extensions in iOS Jesse Dietrichson |

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+

Page 3: Creating Extensions in iOS Jesse Dietrichson |

An area in the system that supports extensions is called an extension point.

Extension Points

Today Share Photo Editing Custom Keyboard

Action

Page 4: Creating Extensions in iOS Jesse Dietrichson |

An area in the system that supports extensions is called an extension point.

Extension Points

Today Share Photo Editing Custom Keyboard

Action

A widget that appears on the Today view of the Notification Center.

Page 5: Creating Extensions in iOS Jesse Dietrichson |

An area in the system that supports extensions is called an extension point.

Extension Points

Today Share Photo Editing Custom Keyboard

Action

Allows content to be shared through your application.

Page 6: Creating Extensions in iOS Jesse Dietrichson |

An area in the system that supports extensions is called an extension point.

Extension Points

Today Share Photo Editing Custom Keyboard

Action

Allows photos and videos to be edited in the Photos app.

Page 7: Creating Extensions in iOS Jesse Dietrichson |

An area in the system that supports extensions is called an extension point.

Extension Points

Today Share Photo Editing Custom Keyboard

Action

Replace the iOS system keyboard with a custom keyboard.

Page 8: Creating Extensions in iOS Jesse Dietrichson |

An area in the system that supports extensions is called an extension point.

Extension Points

Today Share Photo Editing Custom Keyboard

Action

Manipulate or view content. Ex) translate a web page.

Page 9: Creating Extensions in iOS Jesse Dietrichson |

Creating an extension will result in creating two projects.

Creating an Extension

Container Project Extension Project

Page 10: Creating Extensions in iOS Jesse Dietrichson |

Creating an extension will result in creating two projects.

Creating an Extension

Container Project Extension ProjectReferences

Page 11: Creating Extensions in iOS Jesse Dietrichson |

Creating an extension will result in creating two projects.

Creating an Extension

Container Project Extension ProjectReferences

Automatic with new wizard in

Xamarin 4

Page 12: Creating Extensions in iOS Jesse Dietrichson |

Extensions are loaded, executed, and terminated.

Extension Lifecycle

Page 13: Creating Extensions in iOS Jesse Dietrichson |

Extensions are loaded, executed, and terminated.

Extension Lifecycle

Suspended State

Page 14: Creating Extensions in iOS Jesse Dietrichson |

Extensions can communicate with the host application through the ExtensionContext property.

Extension Communication

Page 15: Creating Extensions in iOS Jesse Dietrichson |

Extensions can communicate with the host application through the ExtensionContext property.

Extension Communication

The application starting the extension.

Page 16: Creating Extensions in iOS Jesse Dietrichson |

Extensions can communicate with the host application through the ExtensionContext property.

Extension Communication

Communication with container app

Page 17: Creating Extensions in iOS Jesse Dietrichson |

Extensions can communicate with the host application through the ExtensionContext property.

Extension Communication

Communication with container app

The application shipped with the extension.

Page 18: Creating Extensions in iOS Jesse Dietrichson |

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.

Page 19: Creating Extensions in iOS Jesse Dietrichson |

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.

Page 20: Creating Extensions in iOS Jesse Dietrichson |

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.

Page 21: Creating Extensions in iOS Jesse Dietrichson |

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.

Page 22: Creating Extensions in iOS Jesse Dietrichson |

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.

Page 23: Creating Extensions in iOS Jesse Dietrichson |

Demonstration

Page 24: Creating Extensions in iOS Jesse Dietrichson |

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

//

Questions?