Latest 0.4.3
Homepage https://github.com/Jasdev/JDSActivityVC
License MIT
Platforms ios 8.0, requires ARC

JDSActivityViewController

by @jasdev

JDSActivityViewController is a lightweight UIActivityViewController subclass,
which can be configured to display a URL to be shared. This was inspired by
Tweetbot and Tumblr’s usage of this customization.

Screenshots

Installation

CocoaPods

pod 'JDSActivityVC'

Usage

import JDSActivityVC

/* Inside of a UIViewController */
let imageURL = NSURL(string: "http://i.imgur.com/aJYZ20v.gif")!

// Normal UIActivityViewController initializer
let sampleActivityViewController = JDSActivityViewController(activityItems: ["Two Dogs", imageURL], applicationActivities: nil)

// Set display URL
sampleActivityViewController.link = imageURL

presentViewController(sampleActivityViewController, animated: true, completion: nil)

Latest podspec

{
    "name": "JDSActivityVC",
    "version": "0.4.3",
    "summary": "JDSActivityViewController is a lightweight UIActivityViewController subclass,n  which can be configured to display a URL to be shared.",
    "description": " This was inspired by Tweetbot and Tumblr's usage of this customization. I wanted to create my own version and open source it :) Feel free to make pull requests!",
    "homepage": "https://github.com/Jasdev/JDSActivityVC",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Jasdev Singh",
    "social_media_url": "http://twitter.com/jasdev",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Jasdev/JDSActivityVC.git",
        "tag": "0.4.3"
    },
    "source_files": "*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This