realm/realm-cocoa — pull request #966 by tgoyne (2014-10-03 22:57:07+00:00)
Title: Get the accessor class name from the schema rather than the className method

Calling [objectClass className] returns the parent class's class name rather than the current class's if the parent class is initialized before the child, and the order that they're initialized depends on what order a dictionary happens to be enumerated.

@jpsim