Skip to content

Commit

Permalink
Add note for NSObject bug when using with CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
herrernst committed Jan 30, 2020
1 parent 671e2c5 commit 5aced69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5aced69

Please sign in to comment.