Closed tconkling closed 12 years ago
Hi tconkling, thanks for the pull request!
You're right, operations like that are done frequently; nevertheless, I'd like to keep that part out of the core API, to keep it as minimal as possible. Thankfully, you can make changes like that very easily through Objective-C's categories -- so my recommendation is for users to create such utility methods themselves in custom categories.
I hope that's OK with you! Anyway, thanks for the suggestion!!
No worries - Categories is fine with me! Thanks, Tim
I find myself frequently doing things like:
myDisplayObj.x = loc.x; myDisplayObj.y = loc.y;
which becomes a one-liner with this change:
myDisplayObj.loc = loc;