I would like a way to get a string from a class at compile time, but would also want an error if that class doesn't exist in the scope, so this is not enough:
#define CLASS_STR(c) # c
I guess I could write a post build script as a static analyzer of some sort.
An example would be keypath checking in libextobjc http://devetc.org/code/2014/05/17/safe-and-sane-key-paths.html
It should be simple to grasp, really. Instead of writing "MyClass", one should utilize a macro that can return the class name in a string, while also making sure that class is visible in the scope.