From 5aced69cc6b94ba1934df407194677b05578c9c0 Mon Sep 17 00:00:00 2001 From: herrernst Date: Thu, 30 Jan 2020 11:51:31 +0100 Subject: [PATCH] Add note for NSObject bug when using with CocoaPods https://github.com/groue/GRMustache.swift/issues/28 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 01b109e3..0feddd6c 100644 --- a/README.md +++ b/README.md @@ -1003,6 +1003,8 @@ The rendering of NSObject depends on the actual class: With support for Objective-C runtime, templates can render object properties: `{{ user.name }}`. Subclasses can alter this behavior by overriding the `mustacheBox` method of the `MustacheBoxable` protocol. For more information, check the rendering of [Custom Types](#custom-types) below. + + Note that when using GRMustache.swift via CocoaPods, you may run into issue [#28](https://github.com/groue/GRMustache.swift/issues/28). Custom Types @@ -1032,6 +1034,7 @@ When extracting values from your NSObject subclasses, GRMustache.swift uses the Subclasses can alter this default behavior by overriding the `mustacheBox` method of the `MustacheBoxable` protocol, described below: +Note that when using GRMustache.swift via CocoaPods, you may run into issue [#28](https://github.com/groue/GRMustache.swift/issues/28). ### Pure Swift Values and MustacheBoxable