stencilproject / Stencil

Stencil is a simple and powerful template language for Swift.
https://stencil.fuller.li
BSD 2-Clause "Simplified" License
2.34k stars 221 forks source link

iOS Support? #236

Closed dmholmes closed 5 years ago

dmholmes commented 5 years ago

Does Stencil work in iOS?

AliSoftware commented 5 years ago

I haven't personally directly tested it on iOS, but given it's a portable library, with both macOS and Linux compatibility, and using mainly Foundation (no UI, only string processing mainly), I don't see any limitations for making it work on iOS.

Did you actually try? Maybe we just have to declare it in the podspec for it to work transparently

dmholmes commented 5 years ago

Swift Package Manager doesn't work for iOS that I can see. I have tried to install manually but dependency PathKit doesn't work via manual install. I can try CocoaPods if necessary.

dmholmes commented 5 years ago

Works via CocoaPods install.

AliSoftware commented 5 years ago

🎉