NSObject-AutomagicCoding
NSObject-AutomagicCoding copied to clipboard
Ability to save every object to PLIST without any special coding.
This pull request corrects the capitalization of **Xcode** :sweat_smile: https://developer.apple.com/xcode/ Created with [`xcode-readme`](https://github.com/dkhamsing/xcode-readme).
Subj, originally from #21 If ok - will close #23
One of the thoughts is take a deep look at MTLJSONAdapter and combine best from both. Model & external nature of it is interesting for me. Feel free to comment...
Subj, if anyone needs it - here's how it can be done: https://github.com/psineur/NSObject-AutomagicCoding/pull/21
I'm using AMC to convert my objects to JSON and do some stuff with it in Javascript after that. The JSON is already huge, and one thing I really don't...
When getting struct value with memory footprint not multiple of 4 ( i.e. ccColor3B - 3 bytes) with valueForKey: via property's/method name (not via ivar name) - isa pointer can...
Subj. Need to test against nil before processing any value. TODO: 1. Add testCase, that fails with current AMC version. 2. Fix AMC - test should pass.
Unit Tests are running each build in Mac project. But in iOS project you **must press CMD+U** to run the tests on **Simulator** . # Unit tests doesn't work on...
Subj. This is needed, because AMC uses objc_property_t to determine struct type string ( structName ).
Subject. Don't know now how to do this. ;)