by yapcguy · 12y ago · 0 comments
"CDTDatastore is available through CocoaPods, to install it add the following line to your Podfile:
Why CocoaPods? What is wrong with a static library? Or simply adding the relevant class files to a project?
I don't want to have Ruby infrastructure just to add a bunch of files to a project! Why are Ruby folk obsessed with doing things their 'Gems' way? They bring the same mentality to Go(lang). I always hear (ex)-Ruby folk asking questions at meetups about packaging and versioning...
While far from perfect, I chose to use Cocoapods as it's becoming the defacto standard in the iOS community. I've used it in my apps, and have found it easier to manage my deps than a bunch of git submodules or copying source code into my projects.
The problems with static libraries on iOS have been well documented at [1]. Essentially, that you can't build static libraries as a third-party for iOS without resorting to low-level trickery. This seemed like it would become a maintenance burden vs. the Cocoapods approach.
[1]: http://landonf.bikemonkey.org/code/ios/Radar_15800975_iOS_Fr...