Browse files

Answer to FAQ: "Why does GRMustache need JRSwizzle?"

  • Loading branch information...
1 parent 887bcdb commit 9f3dcafb40759d3e16fa6f15eaab783448649160 @groue committed Jul 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -88,6 +88,10 @@ FAQ
A: When GRMustache has to try several objects until it finds the one that provides a `{{key}}`, several NSUndefinedKeyException are raised and caught. Let us double guess you: it's likely that you wish Xcode would stop breaking on those exceptions. This use case is covered in [Guides/runtime/](GRMustache/blob/master/Guides/runtime/
+- **Q: Why does GRMustache need JRSwizzle?**
+ A: GRMustache will [swizzle]( the implementation of `valueForUndefinedKey:` in the NSObject and NSManagedObject classes when you invoke `[GRMustache preventNSUndefinedKeyExceptionAttack]`. This use case is covered in [Guides/runtime/](GRMustache/blob/master/Guides/runtime/ The dreadful swizzling happens in [src/classes/GRMustacheNSUndefinedKeyExceptionGuard.m](GRMustache/blob/master/src/classes/GRMustacheNSUndefinedKeyExceptionGuard.m).
Contribution wish-list

0 comments on commit 9f3dcaf

Please sign in to comment.