SLComposable provides a simpler API for creating and presenting SLComposeViewControllers.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
SLComposable
Sources
.gitignore
.travis.yml
LICENSE
README.md
SLComposable.podspec
_Pods.xcodeproj

README.md

SLComposable

CI Status Version License Platform

Installation

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

pod "SLComposable"

In any View Controller, import SLComposable, and then, when you need to create an SLComposeViewController, simply call:

composePost(text: String?, image: UIImage?, url: NSURL?, network: SLComposableServiceType)

This will present an SLComposeViewController if the user has an account setup in Settings. Otherwise, it will present an UIAlertController.

Author

Stuart Breckenridge, dev@stuart.sg

License

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