Commit Graph

42 Commits

Author SHA1 Message Date
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
Brian Morton
54d9ee7c52 Update RKTwitter project settings as recommended by Xcode. 2012-03-22 09:13:32 -07:00
Brian Morton
075636c13b Manually apply fixes from zorn to fix the RKTwitter example's mapping when using Twitter's JSON feed. Closes #606. 2012-03-22 09:11:55 -07:00
Blake Watters
6db4a0a170 Fix broken XML mapping in RKTwitter example. fixes #400 2012-02-25 14:16: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
5b718890ac Checking in work in progress on the library reorganization 2011-12-02 09:26:35 -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
eb887e38c6 Refactored OAuth support for merge into master. fixes #84, #211
Cleaned up @rodchile's excellent work integration OAuth 1.0 and 2.0 into RestKit. Changes
are as follows:

* Introduced new RKRequestAuthenticationType to replace the forceBasicAuthentication and other
    methods for influencing how authorization works.
* Moved TDOAuth code into Vendor/
* Renamed authorization code flow classes and delegate methods for clarity.
2011-09-20 15:52:17 -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
ef11b13c8e Reworked installation and build process to eliminate the need to configure the Header and Library search paths. Updated all example projects to match. This makes the use of the DerivedData directory a requirement going forward. fixes #323 2011-09-01 21:54:45 -04:00
Blake Watters
b96940cc64 Eliminated requirement to use -all_load linker flag. Fixed breakage in OS X builds due to ivar/property name disagreement. Removed references to all_load from the install docs. fixes #239 2011-09-01 20:52:46 -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
Blake Watters
2a8ece97c1 Improvements to reachability, the request queue, logging throughout the network layer, decoupling of components via notifications, reliability improvements for unit tests in the cache layer. Improved thread-local cleanup routines inside the managed object store. Changing base URL's is now more reliable. fixes #171, #158, #113, #104, #102 2011-06-29 13:28:14 -04:00
Janos Rusiczki
52666d6147 replaced deprecated methods with the current ones 2011-06-21 04:25:15 -07: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
4da1b1a3c6 Fix for building RKTwitter with non DerivedData location. 2011-04-15 15:01:34 -04:00
Blake Watters
b41ff0f5e2 Fix broken project references for RKTwitter 2011-04-15 14:40:13 -04:00
Blake Watters
c90ec2770d Finished cleanup of HTTP AUTH and XML Support. Ready to tag 0.9.1 2011-03-28 23:29:06 -04:00
Blake Watters
227f35a20d Merge branch '0.9' into xml-parser
Conflicts:
	Examples/RKTwitter/Classes/RKTwitterViewController.m
	README.md
	RestKit.xcodeproj/project.pbxproj
2011-03-27 22:29:19 -04:00
Blake Watters
3635801a4d cleaned up example projects while verifying archive operations 2011-03-24 13:13:08 -04:00
Blake Watters
e143a51d10 Worked through remaining issues with Archive builds by switching RestKit aggregate target to a real target, avoiding the copy issues with RestKit.h. Made Skip Install a project level default. Believe we are all set finally 2011-03-24 12:09:07 -04:00
Blake Watters
6d520c2657 Added missing dealloc methods 2011-03-23 22:46:48 -04:00
Jeremy Ellison
6a4b3d78b3 Merge branch 'unit-testing' into xml-parser
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-23 10:34:02 -04:00
Blake Watters
deec82c8d3 Switched timeline load to RestKit instead of Two Toasters. Added refresh button 2011-03-22 21:54:14 -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
cb0f30c470 Updates to simplify integration with Derived Data
Conflicts:

	RestKit.xcodeproj/project.pbxproj
2011-03-18 07:52:47 -04:00
Blake Watters
d359f0403a Updating gitignore workspaces 2011-03-09 15:14:48 -05:00
Jeremy Ellison
bc482efd31 Working XML Support. Twitter example working (XML and JSON) 2011-03-01 13:54:00 -05:00
Blake Watters
b9e4f57fb0 Work in progress factoring Core Data dependencies out of the Object Mapping layer 2011-02-13 01:19:37 -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
340e587704 Refactor JSONRepresentation to stringFromObject: on RKParser. Fixes https://github.com/twotoasters/RestKit/issues/#issue/6 2011-01-03 12:40:20 -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
Blake Watters
979d79d414 Updated example project Base SDK 2010-12-27 21:23:57 -05:00
Patrick Shields
16ce43aedd Non core data example works, but relies on core data lib. 2010-11-03 22:12:21 -04:00
Blake Watters
069978ec07 Adding dependency back for SBJSON target 2010-10-13 12:06:36 -04:00
Jeremy Ellison
5dc77ed536 Update RKTwitter Example:
Hook up table view
Spruce Up UI
Get rid of nibs.
2010-10-05 14:18:48 -04:00
Blake Watters
93e5c472b1 Checking in first version of RKTwitter sample app. Object loading is working fine, but it needs a table view dropped in... 2010-09-06 17:45:28 -04:00