TimOliver / TOCropViewController

A view controller for iOS that allows users to crop portions of UIImage objects
http://www.timoliver.com.au/2015/06/21/tocropviewcontroller-an-open-source-image-cropper-for-ios/
MIT License
4.67k stars 929 forks source link

How to integrate this into my ios sdk #561

Closed tunglong007 closed 3 months ago

tunglong007 commented 9 months ago

I am trying to import the library into my custom iOS sdk in Swift. How can I achieve this?

TimOliver commented 3 months ago

Hi @tunglong007. It depends how you're distributing your SDK. You can potentially make your SDK define this library as a dependency in CocoaPods and SPM, and just require users also clone it with Carthage.

Short of that, you can just copy the source files to your own SDK.

Hope that helps!