GRMustache.swift
GRMustache.swift copied to clipboard
Flexible Mustache templates for Swift
Hey, great library! Would it be possible to ignore line breaks in a template when a line only contains a single {{# tag? This would mean you could write: ```...
Currently I use Mustache to display HTML articles that I retrieve from our web service. I wanted to know if there's a way to make Mustache detect URLs and/or telephones...
I updated the instruction to integrate GRMustache into a Swift Package project. I also removed following line, because I recommend to remove the example project, since SPM is now more...
Below are some of the test's that I wrote to show the issue that I'm seeing with the library. Please let me know if anyone else is seeing the issues....
When I tried to migrate my app to use Xcode 9 + Swift 4 I received the error **Declarations in extensions cannot override yet** in the files: Box.swift, Formatter.swift and...
I've migrated the Xcode to version 9 and my app starts give me the error: No such module 'Mustache'. I already erased the Pods files and I installed the Pods...
Running `swift package` results in: ``` error: the module at Tests/Carthage has an invalid name ('Carthage'): the name of a test module has no ‘Tests’ suffix fix: rename the module...
One does not generally trigger threading issues with GRMustache: ``` swift // Thread-safe let template = try Template(path: "/path/to/templates/document.mustache") let rendering = try template.render(data) ``` But should one go down...
The [Localizer](https://github.com/groue/GRMustache.swift/blob/master/Docs/Guides/goodies.md#localizer) filter brings localization to your mustache templates: ``` swift let template = ... template.register(StandardLibrary.Localizer(), forKey: "localize") ``` It can localize: - variables: `{{ localize(greeting) }}` renders the localization...