In the docs it says Object:getClass() "Returns the class name of the instance as string".
http://docs.giderosmobile.com/reference/gideros/Object/getClassWhen I use it, however, it instead returns the name of the Gideros class it inherits from (ie. "Sprite") or, if a custom class, it returns "Object".
I strongly feel I'm missing something. Please help!
Comments
It only returns Gideros class names.
You can overwrite it though like
I opted for a similar workaround, returning the actual global class instead for easy instantiating: