iOSアプリ開発のメモ置き場

ささたつがiOSアプリ開発で知ったObjective-Cのtipsなどを書いていく所存

2013-12-10から1日間の記事一覧

RestKit のマッピングメモ その2

RKObjectManager を継承した ObjectManager とか作って管理すると楽かも。 #import "ObjectManager.h" #import "Stock.h" @implementation ObjectManager - (instancetype)init { NSURL *baseURL = [NSURL URLWithString:@"https://qiita.com"]; AFHTTPClien…

RestKit のマッピングメモ

RKManagedObjectStore *managedObjectStore = [RKManagedObjectStore defaultStore]; RKEntityMapping *entityMapping = [RKEntityMapping mappingForEntityForName:@"Gist" inManagedObjectStore:managedObjectStore]; [entityMapping addAttributeMappings…

.xcdatamodeld ファイルとはいったい!?

Use Core Data ってすると生成されるみたいだなー。Core Data の保存先かな。