Entity-System--RDBMS-Inspired--Objective-C- icon indicating copy to clipboard operation
Entity-System--RDBMS-Inspired--Objective-C- copied to clipboard

Would prefer ENTITY IDs to be something less vague than a uint

Open adamgit opened this issue 13 years ago • 0 comments

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

adamgit avatar Jul 31 '11 19:07 adamgit