Open Zandor300 opened 5 years ago
Are there any plans for this already?
I am not sure what CocoaPods are, @amrit-1901 ?
https://cocoapods.org “CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 57 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.”
I think this is the official introduction video but I’m not sure: https://youtu.be/iEAjvNRdZa0
For a guide on creating a Cocoapod, you can checkout their documentation: https://guides.cocoapods.org/making/using-pod-lib-create.html
For an example, you could look at my personal Tools pod: https://git.zsinfo.nl/Zandor300/GeneralToolsFramework
Sorry for the late response here. Creating a CocoaPods pod sounds like a good idea, but it's not our priority yet. I'll keep you posted if this will happen in the future.
@amrit-1901
Just thought of another advantage: Since Apple won't accept copies of the sample iOS app, creating a Cocoapod would make it easier for developers to implement the WhatsApp sticker framework into their apps. They won't have to pick code from the sample app and are instead able to get started right away after adding the pod to their existing app through their Podfile
.
Then, providing the StickerPackViewController through the pod and pushing or presenting it from (for example) their settings page would become really easy.
It might be handy to create a CocoaPods pod for the framework that is inside the iOS sample app for creating the Sticker and StickerPack objects and sending them over to WhatsApp. That way, creating your own app will become much easier for the less experienced developers that do know how to get along with CocoaPods and for the ones that don't, referring them to one of the many "Getting Started" tutorial videos for CocoaPods wouldn't be such a bad idea.
If you are planning on doing this. Where would you place the pod source? In this repository under an
iOS-Pod
directory in the root of this repo, or create an entirely new repository?