Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extobjc/EXTKeyPathCoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ NSString *lowercaseStringPath = @keypath(NSString.new, lowercaseString);
({ char *__extobjckeypath__ = strchr(# PATH, '.'); NSCAssert(__extobjckeypath__, @"Provided key path is invalid."); __extobjckeypath__ + 1; })))

#define keypath2(OBJ, PATH) \
(((void)(NO && ((void)OBJ.PATH, NO)), # PATH))
(((void)(NO && ((void)(((typeof(OBJ))nil).PATH), NO)), # PATH))

/**
* \@collectionKeypath allows compile-time verification of key paths across collections NSArray/NSSet etc. Given a real object
Expand Down