This PR brings GRMustache.swift to Swift 3, and addresses #32.
New
Swift 3
Templates learned to render Int64, UInt64, Float, and CGFloat (on iOS, macOS, tvOS).
The Box() function is no longer necessary when feeding templates:
// Still supported
let rendering = try template.render(Box(["name": "Arthur"]))
// New:
let rendering = try template.render(["name": "Arthur"])
Breaking Changes
The only collections that can feed Mustache templates are arrays, sets, dictionaries, and Foundation collections that adopt NSFastEnumeration such as NSArray, SSet, NSOrderedSet, NSDictionary, etc. Other Swift collections such as ranges can no longer feed templates.
This PR brings GRMustache.swift to Swift 3, and addresses #32.
New
The Box() function is no longer necessary when feeding templates:
Breaking Changes
The following APIs were modified: