Latest 0.3.4
License MIT
Platforms ios 8.0
Dependencies SnapKit, Kanna



Its really simple you just need to push the ViewController by a static method with content and options:

      .presentShareViewController(from: self,
                                  shareContent: shareContentWithoutMetaData,
                                  options: shareOptionsNoMetadata) { (completed, updatedContent) in

Share options

Options to customize the popup

public struct ShareOptions {

  // Buttons tint color
  public var tintColor: UIColor?

  // Composer title
  public var title: String

  // Dismiss button text
  public var dismissText: String

  // Completion button text
  public var confirmText: String

  // Parse link metadata and show image
  public var showMetadata = true

  // Keyboard appearence
  public var keyboardAppearance: UIKeyboardAppearance


Content to present to user

public struct ShareContent {
  // Starting text - and after a send is tapped the resulting text of user input
  public var text: String

  // If you want to specify a URL to the content - This url does no show in the editor
  // With this url the metadata will be fetched
  public let link: NSURL?

  // If you are sending a message to a specific user add it here
  public let destinationUserId: String?


BOShareComposer is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "BOShareComposer"


Bruno Oliveira, [email protected]


BOShareComposer is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "BOShareComposer",
    "version": "0.3.4",
    "summary": "A simple text + URL share composer",
    "description": "Composer like share to do custom shares, example: share via direct message twitter they dont havenany composer to send direct messages",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Bruno Oliveira": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.3.4"
    "social_media_url": "",
    "platforms": {
        "ios": "8.0"
    "source_files": "BOShareComposer/Classes/**/*",
    "dependencies": {
        "SnapKit": [
            "= 0.21.1"
        "Kanna": [
            "~> 1.1"

Pin It on Pinterest

Share This