nicklockwood / FastCoding

A faster and more flexible binary file format replacement for NSCoding, Property Lists and JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastCoding fails to decode NSColorSpace properly

adamwulf opened this issue · comments

I've submitted a unit test with pull request #29

I've stepped through the reading and writing functions, and FCReadNSCodedObject is pulling out the correct properties and keys into decoder->_properties but the FC_AUTORELEASE([[NSClassFromString(className) alloc] initWithCoder:decoder]) line still builds an invalid NSColorSpace for some reason. It's not clear to me why it's breaking.

Thanks for the test case! This is fixed in version 3.3.