You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by this WWDC session, the following code snippets actually do successfully execute NSObject's implementation of valueForKey: on NSArray, NSSet and NSOrderedSet (this trick helps us evaluating tags like {{ items.count }}):
+[GRMustacheKeyAccess valueForMustacheKey:inFoundationCollectionObject:] does work if you cast the call to objc_msgSend() properly.
WWDC 2014, Session 417, "What's new in LLVM".
"objc_msgSend without a typecast is usually an error."
ENABLE_STRICT_OBJC_MSGSEND can help
The text was updated successfully, but these errors were encountered: