The TilemapKit Roadmap is yours! All the ideas and discussions
3 votes Vote

TK: Assign Tiled properties to node properties/ivars via KVC/reflection

[ assignToObject:objectNode];

That would take the object's Tiled properties and tries to assign those properties matching both name and type to corresponding @property or ivars in the given target object.

Also perhaps make TKProperties enumerable.

sitterheim, 18.07.2015, 15:57
Idea status: completed


sitterheim, 15.08.2015, 16:54
This will be in v0.89. See class docs:

Will assign properties with the "self." prefix to distinguish such properties. Uses KVC to apply the property value, so it's possible to override the usual KVC methods in the class in question to further relay assignment or apply proper conversion.

Leave a comment