mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 20:31:13 +08:00
Minor example project refresh
* Fixed invalid use of dateFormatStrings in Twitter examples * Cleared some deprecation warnings * Reapplied header search paths to fix Code Sense issues
This commit is contained in:
@@ -54,7 +54,7 @@ static NSString* const kDBAccessTokenHTTPHeaderField = @"X-USER-ACCESS-TOKEN";
|
||||
// We are using the Core Data support, so we have initialized a managed object store backed
|
||||
// with a SQLite database. We are also utilizing the managed object cache support to provide
|
||||
// offline access to locally cached content.
|
||||
objectManager.objectStore = [[[RKManagedObjectStore alloc] initWithStoreFilename:@"DiscussionBoard.sqlite"] autorelease];
|
||||
objectManager.objectStore = [RKManagedObjectStore objectStoreWithStoreFilename:@"DiscussionBoard.sqlite"];
|
||||
objectManager.objectStore.managedObjectCache = [[DBManagedObjectCache new] autorelease];
|
||||
|
||||
// Set Up the Object Mapper
|
||||
|
||||
@@ -1337,7 +1337,10 @@
|
||||
"DB_ENVIRONMENT=0",
|
||||
"DEBUG=1",
|
||||
);
|
||||
HEADER_SEARCH_PATHS = Libraries/three20;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"\"$(SOURCE_ROOT)/../../../Build\"",
|
||||
Libraries/three20,
|
||||
);
|
||||
INFOPLIST_FILE = "Resources/DiscussionBoard-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
LIBRARY_SEARCH_PATHS = (
|
||||
@@ -1360,7 +1363,10 @@
|
||||
"DB_ENVIRONMENT=2",
|
||||
"DEBUG=1",
|
||||
);
|
||||
HEADER_SEARCH_PATHS = Libraries/three20;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"\"$(SOURCE_ROOT)/../../../Build\"",
|
||||
Libraries/three20,
|
||||
);
|
||||
INFOPLIST_FILE = "Resources/DiscussionBoard-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
LIBRARY_SEARCH_PATHS = (
|
||||
|
||||
Reference in New Issue
Block a user