I get a compilation error in the code below when I try to declare an sqlite3 object. Is a "database" not an object type? Why is this happening, and how can I fix it?
#import <Foundation/Foundation.h>
#import <sqlite3.h>
@interface BasicDao : NSObject
@property (nonatomic, retain) sqlite3 *database;
@end
source
share