Hi Everyone,
EtoileSerialise now builds a framework, and some interface
documentation. It works for my test cases (see Sources/
ETSerialiserTest.m), but there are probably a lot of objects in
Foundation that need categories writing to help the serialiser over
difficulties, and some that should work but don't due to bugs.
It would be helpful it people could test this framework with a
variety of objects and see what happens.
The following test cases pass:
The storing and loading (using the binary file back end) of:
ints,
BOOLs
floats,
doubles,
int arrays,
Simple structs,
More complex (named) structs with a custom serialiser / deserialiser
function.
Strings (objects),
Complete storing (checked using the human readable output backend) of:
All intrinsic types,
NSStrings,
NSNumbers,
NSData
Aliased objects (aliased non-objects need special handling)
Using the CoreObject proxy to record messages sent to an
NSMutableString and replay them (only appendString: tested so far,
but others should work). The invocation, including arguments, is
stored with full type information.
David
P.S. It still probably won't work on non-x86 platforms. I'll try to
fix this when I tidy up and document the code during the week.
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev