ole Make @keypath macro more resilient when combined with other expressions
The nullability warnings fix for the `@keypath` macro introduced in #134 makes the macro more likely to break when used in larger expressions because we can't wrap the entire macro in parentheses anymore. This commit improves the situation a little. By reversing the condition of the ternary operator, the significant branch now stands at the end of the macro. This means that continuations of the form `@keypath(...).someProperty` have a bigger chance of doing the right thing.

Admittedly, the macro is still more brittle than before the nullability fix. If a `@keypath` usage in your code behaves weirdly, try wrapping it in parentheses.

Thanks to @barakwei for suggesting this change (Lightricks#10 (comment)).
Latest commit 8d3d597 Jun 29, 2018
Permalink
..
Failed to load latest commit information.
EXTADT.h Relicensed project under the MIT license Aug 21, 2012
EXTADT.m Relicensed project under the MIT license Aug 21, 2012
EXTConcreteProtocol.h Relicensed project under the MIT license Aug 21, 2012
EXTConcreteProtocol.m Relicensed project under the MIT license Aug 21, 2012
EXTCoroutine.h Relicensed project under the MIT license Aug 21, 2012
EXTKeyPathCoding.h Make @keypath macro more resilient when combined with other expressions Jun 29, 2018
EXTNil.h add a explicit declaration for -[EXTNil self] Jan 7, 2016
EXTNil.m
EXTRuntimeExtensions.h Suspress -Wpadded warnings in EXTRuntimeExtensions; (#125) Sep 13, 2016
EXTRuntimeExtensions.m
EXTSafeCategory.h
EXTSafeCategory.m
EXTScope.h fixe fixed xCode project warnings Jul 6, 2017
EXTScope.m Make the same to old. - =/ Jul 21, 2016
EXTSelectorChecking.h
EXTSelectorChecking.m
EXTSynthesize.h EXTSynthesize: staticify the unique key Nov 6, 2014
NSInvocation+EXT.h
NSInvocation+EXT.m Relicensed project under the MIT license Aug 21, 2012
NSMethodSignature+EXT.h Relicensed project under the MIT license Aug 21, 2012
NSMethodSignature+EXT.m
extobjc.h Remove all experimental/unsupported modules Aug 2, 2013
extobjc_Prefix.pch More project setup, EXTSwizzle module Nov 10, 2010
metamacros.h Remove conditional inclusion of config.h Jan 17, 2014