GRMustache.swift icon indicating copy to clipboard operation
GRMustache.swift copied to clipboard

Flexible Mustache templates for Swift

Results 27 GRMustache.swift issues
Sort by recently updated
recently updated
newest added

When we compile this Framework as Static Library (Mach-O Type as staticlib), at run time it doesn't type cast String, Int, Number as MustacheBox. I made a hot fix by...

This PR fixes warning: `Tag.swift:56:22: Using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead`

First off, great library! I might be missing some obvious syntax here, but given the following example: ``` {{#someOptionalValue}} The value is {{someOptionalValue}} {{/someOptionalValue}} ``` The output we get (assuming...

In several places `URL(string:)` is called when constructing file paths. I believe these should instead be `URL(fileURLWithPath:)` calls. The existing code crashes when the filename string contains spaces (or other...

When installing the framework via Cocoapods, NSObject subclasses aren't properly boxed, due to the [compiler conditional in Box.swift](https://github.com/groue/GRMustache.swift/blob/4b0543fa25b25bbae4a82f8137af1a62d83d30c2/Sources/Box.swift#L527-L541). Here's a temporary workaround hook for a project's Podfile: ``` ruby post_install...

bug
help wanted

https://github.com/groue/GRMustache.swift/issues/28

@fumito-ito @groue Thanks for updating GRMustache to Swift 5. Picking up something that we dropped long ago. GRMustache doesn't build on Linux yet. Though I've been spending some time getting...

This is a first look at the https://github.com/groue/GRMustache.swift/issues/69 issue. With this PR it is possible to enable throwing when a box is empty, which means either **the key is not...

Is it possible to throw an error when a tag inside a template is missing? I could not find any issues mentioning this topic. For example, using the example in...