CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | May 2017 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by tanchao.
To run the example project, clone the repo, and run pod install from the Example directory first.
TCScreenShotTools is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TCScreenShotTools"import UIKit
import TCScreenShotTools
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
TCScreenShotTools.shared.enable = true
TCScreenShotTools.shared.delegate = self
return true
}
}
extension AppDelegate: TCScreenShotToolsDelegate{
func screenShotTools(_tools: TCScreenShotTools, didClickShareBtn withShareType: TrickyShareType, withIcon: UIImage, in shareView: TrickyShareView) {
print(withShareType)
print(withIcon)
}
}itanchao, [email protected]
TCScreenShotTools is available under the MIT license. See the LICENSE file for more info.