Skip to content

Instantly share code, notes, and snippets.

@scottfister
Last active April 25, 2017 04:14
Show Gist options
  • Save scottfister/566f1398c47cf32c9c268588458db332 to your computer and use it in GitHub Desktop.
Save scottfister/566f1398c47cf32c9c268588458db332 to your computer and use it in GitHub Desktop.
override func configurationItems() -> [Any]! {
if let deck = SLComposeSheetConfigurationItem() {
deck.title = "Selected Deck"
deck.value = "Deck Title"
deck.tapHandler = {
let vc = ShareSelectViewController()
vc.userDecks = self.userDecks
self.pushConfigurationViewController(vc)
}
return [deck]
}
return nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment