##Two examples: One in Swift and one in Objective-C
Examples in Swift and Objective-C of sending selected text to an iOS 8 action extension
###How to use
- Open the Xcode project file in either example (Swift or Objective-C).
- Select the
textSelectionSafariActionExtensionObjCExample
target, then build and run. - Hit stop.
- Select the
textSelectionSafariActionExtensionObjCExampleExt
target (safarActionExtensionSwiftExampleExt
in the Swift example), then build and run. - Open Safari.
- Select text within a web page, then tap the "share" button.
- If this is the first time using the extension, tap the "More" button, then toggle the extension on.
- Tap the extension button.