LoginSignup
0
0

More than 5 years have passed since last update.

Day07 (网络第05天)

Last updated at Posted at 2015-07-30

==============================
注意 : (hrApp工程中)

 FMResultSet * rs = [self.db executeQuery:sql,dept.no];//注意要传对象

//用NsNumber null 值会自动转成0

dept.total = [NSNumber numberWithInt:[rs intForColumn:@"total"]];

coreDataApp

注意:勾选use core data
在下面创建模型直接生成

系统的   (CoreDataApp工程中)

三方库  MagicalRecord-master  和 ObjectiveRecord-master(更简单)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0