Commit Graph

20 Commits

Author SHA1 Message Date
Blake Watters
6084225df6 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
2011-10-05 23:14:44 -04:00
Blake Watters
d9d0f7a650 Eliminated the global sharedQueue in favor of allowing each RKClient to own its a private queue. This eliminates problems where multiple clients are tracking reachability notifications and mutating the suspension state on a single queue. If you want to use a single queue across multiple RKClient instances, you can assign a single queue to both and worry about suspension and reachability yourself. fixes #278 2011-09-03 15:52:45 -04:00
Blake Watters
670234b775 Added support for polymorphic object mapping (Github #105, #244). This enables you to dynamically map objects to different destination classes or using different mapping strategies via configuration or callbacks. See Docs/Object Mapping.md for details.
Other changes include:
* Eliminated the RKObjectFactory protocol and implementations. Object mapping instances themselves are
now responsible for instantiating target objects for mapping.
* Introduced RKObjectAbstractMapping superclass for RKObjectMapping and RKObjectPolymorphicMapping.
* Updated example applications to use block object loaders (RKTwitter and RKTwitterCoreData)
* Refactored method signatures of RKObjectMapper, RKObjectMapping, and RKObjectMappingProvider to reflect the
existence of abstract mapping types. This was necessary to make polymorphic mappings integrate cleanly.
* Fixed overlap in RestKit error domains between network and object mapping. fixes #208
2011-07-30 16:00:36 -04:00
bmctigue
f1fdbe96ca Adjusted seed database code so the seed database is saved with the default seed database name. 2011-07-01 11:42:24 -07:00
Blake Watters
bea40036a9 Fixing breakage and log silence on Twitter Core Data seeding example. 2011-07-01 09:25:56 -04:00
Blake Watters
4773542a9e Fix breakage in Core Data 2011-06-23 09:21:54 -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
Blake Watters
ab655307c2 Updated Twitter examples to show off the automatic activity indicator support 2011-04-19 13:56:20 -04:00
Blake Watters
9141cea6e3 Merge branch 'unit-testing' of github.com:twotoasters/RestKit into unit-testing 2011-03-24 15:00:37 -04:00
Blake Watters
aeef581ef8 Updated to match RKTwitter 2011-03-22 21:58:43 -04:00
Blake Watters
55c180a8e5 Trim whitespace 2011-03-17 07:35:45 -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
e07d87939f Removed killed method 2011-03-05 16:14:02 -05:00
Blake Watters
1405c0b404 Overhauled the object seeder API. It's much cleaner. Added example code to the RKTwitterCoreDataExample 2011-03-05 16:11:00 -05:00
Jeremy Ellison
b31e6426a5 Add new RKReachabilityState, RKReachabilityIndeterminate.
Make RKRequestQueue smart, don't start dequeuing requests until reachability state has been determined.
Simplify examples.
2011-01-06 14:12:14 -05:00
Jeremy Ellison
2367ba4293 Make SCNetworkReachability use just the hostname.
Fix examples to check for network connectivity.
2010-12-30 14:22:22 -05:00
Blake Watters
a61728aa28 Fix incorrect comments about retaining object loaders. Fixed deprecated references to globalManager/globalClient 2010-12-27 21:56:38 -05:00
Patrick Shields
c0d160da29 Cleaning up twitter core data example. Added missing frameworks, static lib builds, and fixed out of date api calls. 2010-11-03 22:05:43 -04:00
Jeremy Ellison
30c96c8bf1 Core Data example updates: Parse dates properly. Sort fetched statuses. 2010-10-05 15:19:17 -04:00
Jeremy Ellison
7c0768a004 Create RKTwitterCoreData project. It's a clone of the RKTwitter example, but using core data. 2010-10-05 15:05:57 -04:00