Entity-System--RDBMS-Inspired--Objective-C-
Entity-System--RDBMS-Inspired--Objective-C- copied to clipboard
Would prefer ENTITY IDs to be something less vague than a uint
I'm currently using a:
define ENTITY_ID uint
...and using ENTITY_ID throughout as a type instead. Works fine.
I tried using Apple's CFUUID / CFUUIDRef objects, but they're designed to be used as strings only, and Apple has provided no methods for using them as int's.
But they may be a smoother way to handle entity ID's, since Apple has increased support for strings-as-keys throughout their libraries