nicklockwood / AutoCoding

AutoCoding is a category on NSObject that provides automatic support for NSCoding and NSCopying to every object.
Other
1.07k stars 131 forks source link

In swift, it does not work with primitive data types like int and bool. #24

Open MANassar opened 8 years ago

MANassar commented 8 years ago

I have a class in swift, with several vars (strings, arrays, ints and bools). Strings and arrays are coded and decoded well. Ints and bools are not.

NSExceptional commented 8 years ago

I don't think it's possible to support Pure Swift objects with the public Swift API, you might wanna close this issue.

MANassar commented 8 years ago

I'm talking about primitive data types, not objects.

Types like bool, int, etc...

NSExceptional commented 8 years ago

Can you post the class?