Reputation: 27285
I would like to develop a swift cocoa pod, however I'm having trouble figuring out out how to get started.
Cocoapods pre-release now has support for swift however they do not currently have directions explaining how to create a new swift project pod.
The current guide on creating a pod is here but its obj-c focused.
I posted a question to the repo and they said they do not currently have any example projects so I figured I'd turn to the community.
Thanks
Upvotes: 0
Views: 455
Reputation: 2809
The guide now appears to be up to date. Guide
The trick is to create a swift framework (swift must be used in a framework cocoa pod).
Follow the pod init guide and set the path to your classes as required (.swift instead of .h|.m
Upvotes: 1