Skip to content

Instantly share code, notes, and snippets.

@andyarvanitis
Last active February 6, 2020 23:52
Show Gist options
  • Select an option

  • Save andyarvanitis/5771435 to your computer and use it in GitHub Desktop.

Select an option

Save andyarvanitis/5771435 to your computer and use it in GitHub Desktop.
A couple ReactiveCocoa macro un/defines needed for Eero, and used for these examples.
#undef _RACAbleObject
#define _RACAbleObject(object, property) (object.rac_signalForKeyPath:@keypath(object, property), observer:self)
#undef keypath1
#define keypath1(PATH) \
(((void)(NO && ((void)PATH, NO)), strchr(# PATH, *".") + 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment