JohnSundell / SwiftPlate

Easily generate cross platform Swift framework projects from the command line
MIT License
1.77k stars 88 forks source link

Objective-C Support? #2

Open SoneeJohn opened 7 years ago

SoneeJohn commented 7 years ago

I am assuming this doesn't work with Objective-C projects? If so it would be great if it could. 🙂

JohnSundell commented 7 years ago

The only thing you need to do to use Objective-C is to replace the 2 generated Swift files (one for source + one for tests) with Objective-C ones, so it's very easy. 👍 But we could always make it even easier by letting the user supply a -objc flag or something when running swiftplate, and if so generate Objective-C files intead of Swift ones. 🤔