CocoaPods trunk is moving to be read-only. Read more on the blog, there are 2 months to go.

SLComposable 1.0.0

SLComposable 1.0.0

TestsTested ✗
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2016
SPMSupports SPM ✗

Maintained by Stuart Breckenridge.



SLComposable

Requirements

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 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, [email protected]

License

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