Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the correct mapping type in model class for integer16, 32 and 64?

Tags:

ios

core-data

I get the following error message:

CoreData: error: Property 'type' is a scalar type on class 'Time' that does not match its Entity's property's scalar type. Dynamically generated accessors do not support implicit type coercion. Cannot generate a getter method for it.

I think the problem is, that the type NSInteger of my attribute "Type" does not match with the integer 32 type of my Core data data model.

But what is the correct data type?

like image 321
Gerrit Avatar asked Jan 14 '12 08:01

Gerrit


1 Answers

The correct types would beint16_t, int32_t, int64_t etc.

like image 117
heiko harrison Avatar answered Nov 26 '22 15:11

heiko harrison