Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
save your object to sqlite easily
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
FMDB
MXSQL
MXSQLDemo
LICENSE
README.md

README.md

MXSQL

save your object to sqlite easily.

This is a sql data to NSObject mapper base on FMDB.

Usage

#import "NSObject+MXSQL.h"

@interface Man : NSObject

@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) int age;
@property (nonatomic, assign) double money;
@property (nonatomic, assign) BOOL gfs;
@property (nonatomic, strong) NSMutableArray *houses;

@end

and than you can new one and save it

Man *diaosi = [Man new];
[diaosi save];

License

MXSQL is available under the MIT license. See the LICENSE file for more info.

Something went wrong with that request. Please try again.