Download - Cocoaheads
extensions
Cocoaheads RJ
• Fagner Moura• data science - Hotel Urbano• web, mobile iOS • @seufagner
what?• go beyond your app• contextualized use• publish one app (extension comes together)• change user experience• disabled by default
today widget• Notification Center• quick information• can open containing app• updates through snapshot• live information?• don’t support keyboard entries
• make sense
today widget
share• forget custom controls• edit, validate, post
action• view and transform content • by content type
photoediting
• edit photo or video• custom filters• keeps multiple versions
documentprovider
• Document Picker• import and export• File Provider
• open and move
customkeyboard
• replace native keyboard• respond tap, gestures
zoo000m• couldn’t delivered without a containing app
• ..but is independent binary (own target)• choose only one extension points• called indirectly by host app • three files, at least, is enough
• Controller, plist, interface file (xib or storyboard)
xcode templates
the code
the code
life cycle
communication
< > NSExtensionContext
communication
* System framework
communication
communication
communication
shared data
* App Group
continue…
q&a