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
d81079168c
Expanded rake validate task to build all the example projects. fixes #300
2011-08-16 21:11:21 -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
32e08d31a6
Fix issues with login/logout on discussion board and show off new block helpers and URL mutation in the DBUser class. fixes #214
2011-07-24 19:16: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
a78b4c654d
Added special 'App' logging component for logging messages via RKLog() from your app. closes #183
2011-06-30 15:11:58 -04:00
Blake Watters
42d4849f41
Fixing invalid instantiation of reachability observer
2011-06-30 10:37:37 -04:00
Blake Watters
5a2f937a52
Reworked notifications for consistency with Cocoa idioms. Simplified code paths through the queue. Tweaked the logging for easier info at the Debug level without having to drop down to Trace.
2011-06-29 16:18:18 -04:00
Blake Watters
853704b2fd
Rework notifications to allow request queue to observe only the requests it dispatches instead of all of them. Fixes incorrectly decrementing loading count.
2011-06-29 15:36:10 -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
Blake Watters
3dfbaf1810
Updated to support setting default value instead of nil when an attribute is missing in the payload. For Core Data backed models, we consult the entity definition to obtain the default value. closes #117
2011-06-28 15:22:04 -04:00
Blake Watters
4773542a9e
Fix breakage in Core Data
2011-06-23 09:21:54 -04:00
Janos Rusiczki
52666d6147
replaced deprecated methods with the current ones
2011-06-21 04:25:15 -07:00
Blake Watters
0954d4a063
Fixing more memory leaks
2011-06-20 15:03:35 -04:00
Blake Watters
99ae37037a
Fixes for memory leaks with RKParams related to HTTPBodyStream causing a retain
2011-06-20 13:41:42 -04:00
Blake Watters
2493828414
Make imports of RKParser relative so they resolve correctly outside of the library project
2011-06-13 08:33:34 -04:00
Blake Watters
8e5fa664e8
Cleaned up miscellaneous artifacts from squashing object mapping 2.0
2011-06-11 20:34:10 -04:00
Blake Watters
27ea307816
Fix crash in RKCatalog. Suppress warning about symbol visibility during linking.
2011-06-11 20:27:33 -04:00
Blake Watters
9299cabc11
Implemented flexible logging solution utilizing the excellent LibComponentLogging library.
2011-06-11 20:25:28 -04:00
Blake Watters
69ded29245
Improved Three20 integration by leveraging object mapping to instantiate TTTableItems
2011-06-11 19:33:42 -04:00
Blake Watters
8be34582a5
Ported DiscussionBoard to new Three20 class structure
2011-06-11 19:31: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
Victor Kryukov
16ee0d278c
Format lines better
2011-06-11 21:55:55 +04:00
Victor Kryukov
26e240d224
Customize view in loadView, not createModel
2011-06-11 21:55:31 +04:00
Victor Kryukov
71fb2d1a0c
Remove unused _tableTitleHeaderLabel from DBResourceListTableViewController
2011-06-11 21:55:05 +04:00
Victor Kryukov
b25be71bab
Use relative paths in #imports to prevent XCode 4.2 from complaining
2011-06-11 21:54:17 +04:00
Victor Kryukov
5db087a73a
Remove duplicate declarations for createdAt, updatedAt, userID and user from DBPost
...
DBPost inherits from DBContentObject which has these accessors already defined.
2011-06-11 21:41:20 +04:00
Victor Kryukov
eca655abbd
Add Three20.bundle to make sure TTAlert works
2011-06-11 14:47:41 +04:00
Blake Watters
ade94534a5
Cancel all requests during dealloc.
2011-05-10 22:58:33 -04:00
Blake Watters
16c8fff8ee
Restoring files from merge issue. refs #62
2011-04-22 11:34:33 -04:00
Blake Watters
e21b9c3202
Updated RKCatalog submodule. refs #62
2011-04-22 11:29:30 -04:00
Blake Watters
a63c53a7d6
Completed final draft of advanced tutorial text. refs #62
2011-04-22 11:29:27 -04:00
Blake Watters
56d0972e7f
Migrated RKCatalog server to Heroku. Referenced as a submodule in Examples/RKCatalog/Server for future development. refs #62
2011-04-22 11:29:21 -04:00
Blake Watters
c35d0bab1d
Implemented substantial catalog example application covering advanced usage of RestKit:
...
* Cleaned up remaining warnings about if (self = [super init])
* RKParamsExample - Highlights multi-part uploads
* RKRequestQueueExample - Working with the request queue
* RKBackgroundRequestExample - Examples of using the background policies for backgrounding requests
* RKReachabilityExample - Shows how to work with the reachability observer
* RKRelationshipMappingExample - Shows how to map related objects from JSON into an object graph
* RKCoreDataExample - Shows the basics of using RestKit's Core Data examples
Also rearranged dispatch of RKRequest delegate method for didStartLoad: to ensure requeue callbacks get invoked in a timely manner. refs #62
2011-04-22 11:28: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
9593612aab
Closes gh-47. Initial implementation of OS X build integrating changes submitted by Felix Holmgren ( https://github.com/Felixyz/RestKit ).
...
* Factored out display of alerts into RKAlert interface that hides the differences between UIKit and OS X Cocoa.
* Added macosx to supported platforms to enable build on OS X.
* Configured project to use conditional architectures to enable building on OS X and iOS from the same targets.
* Implemented a bare-bones OS X example app.
* Create `rake build` task for building RestKit against iOS and OS X SDK for quick testing.
2011-04-12 21:02:25 -04:00
Blake Watters
9ed062121e
Fix for crash based on set nil for missing element policy. Added specs covering the crash. Merging directly to 0.9.1 and tagging as 0.9.1.1
2011-03-29 10:47:11 -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
0795112df0
Merge branch '0.9' into unit-testing
...
Conflicts:
RestKit.xcodeproj/project.pbxproj
2011-03-24 22:21:16 -04:00
Blake Watters
4809d9e0a6
Run Copy Headers task after compilation of libRestKitThree20 to ensure they are copied into Build dir. Story #11526713
2011-03-24 21:54:51 -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
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
e8de63302d
Merge branch '0.9' into unit-testing
2011-03-24 07:28:56 -04:00