Objective-C and sqlite's DATETIME type.

Posted by sant0sk1 on Stack Overflow See other posts from Stack Overflow or by sant0sk1
Published on 2008-11-19T17:17:49Z Indexed on 2010/04/13 4:32 UTC
Read the original article Hit count: 632

Filed under:
|

I have a sqlite3 table that I'm trying to map to an object in objective-C. One attribute of the table is 'completed_at' which is stored as a DATETIME.

I want to create a property on my objective-C class (which inherits from NSObject) that will map well to the 'completed_at' attribute.

Objective-C has an NSDate type but I'm not sure if that will map directly?

© Stack Overflow or respective owner

Related posts about sqlite

Related posts about objective-c