Commit Graph

35 Commits

Author SHA1 Message Date
Blake Watters
fe6e8597ee Fix incorrectly configuring identification attribute in Twitter Core Data example 2012-12-06 23:52:08 -05:00
Blake Watters
cbb3f70571 Eliminate the RKEntityIdentifier class and migrate the functionality into properties on RKEntityMapping 2012-12-02 13:08:52 -05:00
Blake Watters
b6d4412415 Refresh Twitter examples and port to RKEntityIdentifier 2012-11-28 23:25:48 -05:00
Blake Watters
c44f4010fa Add support for specifying a configuration and customizing the options when adding a SQLite persistent store to the managed object store. closes #984 2012-10-29 00:32:56 -04:00
Blake Watters
4d5d76671c Modernize and restore all example projects. closes #1007 2012-10-25 10:07:15 -04:00
Blake Watters
3b686125b8 Fix references in Examples/ to eliminated RKDirectory class 2012-08-15 08:03:07 -04:00
Blake Watters
99738db1cc Update examples projects to reflect Core Data API changes 2012-08-07 10:01:05 -04:00
Jawwad Ahmad
abb46c382c Ensure the stars for all pointers belong to the variable rather than the type. Refs #614 2012-06-04 22:47:30 -04:00
Jawwad Ahmad
eaa5484b01 Placing opening braces on a new line for methods to match Apple convention. Refs #614
Used uncrustify's "nl_fdef_brace = add" option to detect issues.
2012-06-04 00:36:19 -04:00
Blake Watters
016f13dad0 Convert all tabs to four spaces. refs #743 2012-05-17 18:10:59 -04:00
Blake Watters
fcb973056b Cleanup trailing whitespace. refs #743 2012-05-17 18:00:16 -04:00
Blake Watters
457a6126cf Refresh copyright notices for all source files 2012-04-04 09:08:54 -04:00
Beat Besmer
75bc2ddd36 Fix CoreData example project
- Update "Header Search Path"
- Link against QuartzCore
- Use the new `mappingForClass: inManagedObjectStore:`
2012-02-25 14:22:09 -05:00
Blake Watters
7c5ad95816 Updated all example projects to reflect changes. 2012-01-20 10:21:19 -05:00
Blake Watters
563f5e909b Updated all example projects to build against the new project. Cleaned up header imports for flattened project structure 2011-12-02 09:26:36 -05:00
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