Reputation: 385
I am creating my own custom library and I want to implement a QR Code Reader in it.
My plan was to add a QR Code reader cocoapod to my library, but I am struggling to do that.
Any tips?
Upvotes: 0
Views: 51
Reputation: 5017
You can certainly do this. You add the other pod as a dependency of your own pod in the podspec
file.
e.g. spec.dependency 'MyQRCodeReaderPod', '~> 1.0'
Here's the official guide: https://guides.cocoapods.org/syntax/podspec.html#dependency
Upvotes: 4