Brian Morton
cf98c5ac16
Merge pull request #587 from cfis/connectRelationshipContext
...
connectRelationship Using Incorrect ManagedObjectContext
2012-03-11 14:05:54 -07:00
Jawwad Ahmad
612f74e6c0
Made NSAssert statements in RKTestFixture more specific.
...
- Also updated fixtureBundle to be accessed through the getter
2012-03-09 18:49:31 -05:00
Blake Watters
88ab404ea1
Load the Core Data momd from RestKitResources.bundle
2012-03-09 17:48:51 -05:00
Blake Watters
eeecff7bd0
Added support for loading resolution independent images ([UIImage imageWithContentsOfFile:] is broken) via UIImage
...
category and updated NSBundle additions to leverage the support.
2012-03-09 17:48:50 -05:00
Blake Watters
5ae94287e9
Added NSBundle helpers to Support.h. Introduced convenience method for retrieving reference to RestKitResources.bundle
2012-03-09 17:48:50 -05:00
Greg Combs
28989c5440
Reworked pull-to-refresh to use gestures
...
Gesture recognizers clean up some of the view hierarchy related to pull-to-refresh. This replaces EGOPullToRefresh
2012-03-09 17:48:38 -05:00
Jawwad Ahmad
d5690e4b20
Added nil check for sourceObject and mapping in RKMappingTest. refs #318
2012-03-09 13:21:53 -05:00
Jawwad Ahmad
89fef19b94
Add nil check for fixture bundle in RKTestFixture
2012-03-09 12:10:44 -05:00
Blake Watters
39d2311860
Added support for immediate verification of expectations. Expanded header documentation. refs #318
2012-03-09 09:04:24 -05:00
Blake Watters
1c59f5fc1e
Cleaned up the naming on RKManagedObjectStore to primaryManagedObjectContext and managedObjectContextForCurrentThread
2012-03-09 09:02:21 -05:00
Charlie Savage
0337689343
Make sure that ConnectRelationship is using the correct managed object context. Currently it assumes the default managedObjectContext, but that is not correct when multiple databases are open using different managedObjectContexts.
2012-03-07 23:35:16 -07:00
Blake Watters
9b6992a166
Added the designated initializer to the header file. fixes #575
2012-02-29 19:47:42 -05:00
Blake Watters
6db4a0a170
Fix broken XML mapping in RKTwitter example. fixes #400
2012-02-25 14:16:09 -05:00
Robert Altman
99a108096f
Added support for parser class specification by regular expression. closes #489
2012-02-25 13:27:41 -05:00
Blake Watters
53bbeca099
Clean up build issues on OS X
2012-02-25 12:07:06 -05:00
Blake Watters
6723502372
Merge branch 'hotfix/545-conditional-nsorderedset' into development
2012-02-25 12:03:48 -05:00
Blake Watters
e66f65bb5e
Use runtime checks for NSOrderedSet class to enable building against iOS 4.x and OS X 10.6. fixes #568 , #545
2012-02-25 11:44:13 -05:00
Blake Watters
161ea6aa95
Conditionally compile RKDotNetDateFormatter.h for iOS > 4.0 and OS X > 10.6. fixes #378 , refs #568
2012-02-25 11:42:44 -05:00
Blake Watters
caf5186cb9
Remove unnecessary warning when arguments dictionary is nil
2012-02-24 12:19:00 -05:00
Blake Watters
c0ae954fb9
API cleanup work in progress on Table Controller
2012-02-23 23:25:31 -05:00
Blake Watters
2040283e9e
Add RKManagedObjectMappingCache.h to Public/ headers and add RKObjectMappingProvider+CoreData.h to CoreData.h
2012-02-23 22:50:17 -05:00
Jeff Arena
32ab17fe0b
Incorporate code review feedback
2012-02-23 22:39:27 -05:00
Jeff Arena
1cd22d5b33
First pass at replacing RKManagedObjectCache with a more flexible block approach that leverages the new resource path pattern matching approach to registering objectMappings.
2012-02-23 22:30:08 -05:00
Blake Watters
c2e1cb0e4f
Inform the delegate of object mapping events when relationships are set
2012-02-23 20:50:43 -05:00
Blake Watters
6c4461956f
Recreate the retained MOC reference on store deletion
2012-02-23 20:49:59 -05:00
Blake Watters
07a18a75b0
Added category introducing convenience methods for initializing table controller from the object manager
2012-02-23 20:47:58 -05:00
Blake Watters
c779462eea
Eliminated block setter methods necessary due to strange library linkage dependencies in GateGuru
2012-02-23 15:29:50 -05:00
Blake Watters
5b655f1a23
Decoupled managed object contexts from the sharedManager instance. Various minor cleanups in CD.
2012-02-23 15:25:41 -05:00
Blake Watters
62c9dc4b9c
Improved error output for failed expectations
2012-02-23 15:24:50 -05:00
Blake Watters
9e50b8cd4f
Introduce RestKit unit testing classes
2012-02-17 20:16:31 -05:00
Blake Watters
e904394b6b
Miscellaneous cleanups
2012-02-17 16:34:03 -05:00
Blake Watters
44ff8826f7
Invalidate timeout timer when POST body data is sent. fixes #535
2012-02-16 11:07:16 -05:00
Blake Watters
d456c37a20
Minor documentation cleanup for paginator
2012-02-16 10:48:24 -05:00
Blake Watters
4d48ef4729
Fixed breakage in OS X support
2012-02-15 17:48:59 -05:00
Rui D Lopes
693d839364
Adding the ability to set a default content decoding other than NSUTF8StringEncoding whenever HTTP headers do not contain any information. closes #547
2012-02-15 14:28:03 -05:00
Blake Watters
948cc85873
Added new pre-flight delegate callbacks for customization of RKRequest and RKObjectLoader instances before dispatch
2012-02-15 12:06:24 -05:00
Blake Watters
789b0b99eb
Implemented support for hydrating to-many relationships. closes #284
2012-02-15 11:09:21 -05:00
Blake Watters
efdf5157d3
Added documentation for RKClient block methods
2012-02-14 14:04:30 -05:00
Blake Watters
9d9dac257b
Added documentation for wasSentToResourcePath:method:
2012-02-13 13:25:28 -05:00
Blake Watters
4142ffdb42
Reorganization and cleanups of Unit Tests
...
* Reorganized tests to accommodate split into Logic & Application.
* Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest.
* Pulled majority of testing support classes up into the library and documented them.
* Introduced RKApplicationTests app for running the RKTableController UI tests
2012-02-10 17:32:23 -05:00
Blake Watters
6a762105a8
Remove Three20 managed object code
2012-02-10 16:30:59 -05:00
Blake Watters
36dfd9528e
Change managed object context merge policy from NSOverwriteMergePolicy to NSMergeByPropertyStoreTrumpMergePolicy
2012-02-10 16:30:58 -05:00
Christopher Swasey
983b7913a2
Skip handling individual change notifications if we're using a sortSelector and just reload the table afterwards
2012-02-10 16:30:58 -05:00
Blake Watters
8670b233e0
Switched retrieval of table views cells during row selection events to lookup by indexPath on the tableView
...
rather than through table controller plumbing
2012-02-10 16:30:58 -05:00
Blake Watters
5ae15be560
Perform row deselection before processing onSelectCell events as the table may be reloaded/changed by the event and cause a crash during deselection
2012-02-10 16:30:58 -05:00
Jeff Arena
1e43c58039
Fixes for issues identified during static analysis
2012-02-10 16:30:58 -05:00
Blake Watters
a5cb5f5060
Implemented helper functions for converting between Strings and RKRequestMethod enum types.
2012-02-10 16:30:58 -05:00
Jeff Arena
b18479f448
Remove duplicate RKAbstractTableController API, objectAtIndexPath: in favor of the existing objectForRowAtIndexPath: method. Add empty implementation of RKTableView class. Pull in UDTableView implementation into Vendor/ and use as a base class for our new RKTableView class, enabling multiple selection support in pre-iOS 5 tableViews.
2012-02-10 16:30:57 -05:00
Jeff Arena
fdd3f4e1e5
Roll back errant fix for cell reuse issues.
2012-02-10 16:30:57 -05:00
Blake Watters
66235530d4
Handle deletion of Managed Objects enclosed in an RKForm
2012-02-10 16:30:57 -05:00