There are two problems in the code.
Firstly, the announcement is incorrect;
@property ( nonatomic, retain ) database;
Compilation generates an error message:
error: expected specifier-qualifier-list before 'database'
There is no type specifier in the code. In particular, it should look like this:
@property ( nonatomic, retain ) sqlite3 *database;
Now that this is fixed, you will see an error, also referred to as kevindtim:
error: property 'database' with 'retain' attribute must be of object type
@property assign retain.
, , Core Data. SQLite - , , SQLite - .