Blake Watters
4773542a9e
Fix breakage in Core Data
2011-06-23 09:21:54 -04:00
Duncan Lewis
61de21f0d1
Applied fix for RestKit issue #89
2011-06-16 18:29:21 -04:00
Blake Watters
f3c0995d5e
Implementation of Object Mapping 2.0 design:
...
* Removed RestKit from inheritance hierarchy
* Mappings are implemented as concrete classes
* Mapper is much more flexible & powerful
* Much more robust error handling
* Serialization is reimplemented as an object mapping operation
* Added ability to serialize to JSON natively
* Reworked Core Data integration
* Simplified the codebase substantially
2011-06-11 19:26:56 -04:00
Greg Combs
d780586da4
Deleting persistent store will now permit using a store seed.
2011-05-01 20:49:32 -05:00
Sixten Otto
cef335d02b
Allow storage in non-Documents directories
...
Add a new class method that takes a directory parameter, and add a corresponding parameter to the private initializer. The other class methods pass nil for that new parameter. The value for the pathToStoreFile property is now calculated in the initializer, and stored in an instance variable.
2011-04-12 20:02:48 -04:00
Sixten Otto
ecb0a5bd5e
Improve RKManagedObjectStore's error handling
...
Add RKManagedObjectStoreDelegate protocol and a delegate property. Right now, all of the notifications are of errors/failures. Some code has been restructured so that return values are always consulted BEFORE the error parameter is examined.
2011-04-12 20:02:37 -04:00
Blake Watters
88a1b013fc
Merge remote branch 'origin/0.9' into core-data-cleanup
...
Conflicts:
Code/CoreData/CoreData.h
Code/CoreData/RKManagedObjectStore.h
Code/CoreData/RKManagedObjectStore.m
Code/CoreData/RKObjectSeeder.h
Code/CoreData/RKObjectSeeder.m
Code/ObjectMapping/RKObjectLoader.m
Code/ObjectMapping/RKObjectManager.m
Code/ObjectMapping/RKObjectMapper.m
RestKit.xcodeproj/project.pbxproj
2011-03-19 21:26:13 -04:00
Blake Watters
a94456a01e
Committing changes to sync against 0.9
2011-03-19 20:59:54 -04:00
Blake Watters
3cf66e5385
More improvements to the managed object store and seeding API's
2011-03-05 17:05:31 -05:00
Blake Watters
6c351c1ef9
Merge branch 'updates' of https://github.com/ahinz/RestKit into seeding
...
Conflicts:
Code/CoreData/RKManagedObjectStore.h
Code/CoreData/RKManagedObjectStore.m
2011-03-05 13:06:21 -05:00
Blake Watters
c6546feb70
Added new initializer for starting from a seed database. Need to finish cleaning up API and add example app.
2011-03-04 07:16:52 -05:00
Adam Hinz
166eeeb566
Provide more generic constructors for the object store and object
...
manager
2011-02-05 15:31:47 -05:00
Jeremy Ellison
ac53cf9f2e
Always return an NSManagedObjectContext from the NSThreadDictionary. Do not bless the one on the main thread. Ensure merges happen on the main thread.
...
Clean up error alert because of removal of goOffline support (as it was broken).
2011-01-13 14:33:28 -05:00
Jeremy Ellison
6a5ee2af7e
Revert "Remove per-file copyrights"
...
This reverts commit 91e7c6bb5e .
2011-01-12 15:27:19 -05:00
Jeremy Ellison
91e7c6bb5e
Remove per-file copyrights
2011-01-12 15:05:22 -05:00
Jeff Arena
fbe8457dd7
fix for updating thread dictionary cache of existing managed objects to ensure objects created during a single mapping operation are not duplicated
2010-11-17 14:31:12 -08:00
Jeff Arena
57e2403624
add support to core data component to hook up relationships from foreign keys present in the server payload
2010-10-27 17:00:31 -07:00
Blake Watters
2fbdfb9c37
Work in progress
2010-10-19 14:27:17 -04:00
Jeff Arena
1a6fdeafd4
introduce RKManagedObjectCache protocol to CoreData component; cleanup remaining NSFetchRequest ivars that are now unused; add RKURL class for making resourcepath and baseurl params available to higher level components; cleanup Three20 library to incorporate latest updates from GateGuru codebase
2010-10-18 16:36:24 -04:00
Blake Watters
bd93d43f94
Finished split into more logical components. Library now copies Headers to Build/RestKit and you can selectively link against the components your app needs. libRestKit.a contains everything from the core library.
2010-10-01 13:02:24 -04:00