TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | May 2016 |
SPMSupports SPM | ✗ |
Maintained by Stuart Breckenridge.
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
.
Stuart Breckenridge, [email protected]
SLComposable is available under the MIT license. See the LICENSE file for more info.