AlexDenisov / iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite
http://alexdenisov.github.com/iActiveRecord/
MIT License
354 stars 50 forks source link

Support for primitive C-style tyles #63

Open jklimke opened 10 years ago

jklimke commented 10 years ago

Hi,

i noticed that there is a support for c-style types (e.g. Properties like BOOL, char, short, double ...etc

Is this true ? Why should i use encapsulated NSNumber types ? Is there a reason why this is not documented up to now ? Otherwise i would like to add some sentences about the possibility to use primitive typed propterties

AlexDenisov commented 10 years ago

Hi, @jklimke. You're able to use primitive types, but under the hood they will be boxed/unboxed into NSNumber.

jklimke commented 10 years ago

Thank you, this eases handling, e.g., double typed properties a lot.