Commit Graph

781 Commits

Author SHA1 Message Date
Jawwad Ahmad
3f29ccd42b Added a new cellMappingForReuseIdentifier convenience method to RKTableViewCellMapping 2012-03-15 12:38:06 -04:00
Blake Watters
9732ffa257 Appledoc update for RKParser 2012-03-15 00:21:03 -04:00
Blake Watters
450f31d3b3 Documentation for RKOrderedDictionary 2012-03-15 00:21:03 -04:00
Blake Watters
d63b3d4752 Documentation for RKSearchEngine 2012-03-15 00:21:03 -04:00
Jawwad Ahmad
0c16af2889 Added back predicateForSearchWithText:searchMode: and added documentation 2012-03-14 19:30:03 -04:00
Blake Watters
57183b364f Fix for warning emitted due to elimination of findOrCreateInstanceOfEntity:. Search Word functionality restored. closes #584
* Updates to the Core Data layer such that NSManagedObjectContexts now have a reference to the managed object store
they belong to.
* NSManagedObject instances can now return the managed object store they belong to.
* Relaxed the coupling to the sharedManager present within the RKSearchableManagedObject class.
* Expanded documentation of RKSearchableManagedObject
2012-03-14 17:08:02 -04:00
Brian Morton
80103bb6b3 Change test for allowing newly added date formatters priority so that it uses the updated fixture and reversable favoriteDate. Rearrange order of defaultDateFormatters to match their order before changing defaultDateFormatters to being prepended. 2012-03-13 09:43:37 -07:00
Brian Morton
10e3c17483 Merge pull request #577 from spenrose/date-formatter
Added default date formatter to start of NSArray
2012-03-13 09:24:20 -07:00
Blake Watters
c3b2ef164b Add conditional compilation for the Pull to Refresh trigger 2012-03-13 09:50:05 -04:00
Blake Watters
1bd3bfd514 Fix retain cycle issue with queued relationship connection. fixes #588 2012-03-12 20:42:52 -04:00
Blake Watters
5ffeee38d4 Ensure serializationMIMEType is configured when initializing object loaders via loaderWithURL: or loaderWithResourcePath: fixes #567 2012-03-12 20:34:31 -04:00
Blake Watters
896de8f1eb Respect modified values set for properties within key-value validation callbacks. fixes #565 2012-03-12 20:22:11 -04:00
Blake Watters
749c6e389f Fix retain cycle causing leak for backgroundPolicy RKRequestBackgroundPolicyContinue. closes #548 2012-03-12 18:50:33 -04:00
Blake Watters
0448090504 Disabled invalid caching behavior for PUT & POST responses. fixes #589 2012-03-12 18:33:35 -04:00
Blake Watters
f865eb9421 Merge pull request #590 from cfis/NSOrderedSet
NSOrderedSet and iOS 4.x Compatability (Again)
2012-03-12 10:26:17 -07:00
Brian Morton
cf98c5ac16 Merge pull request #587 from cfis/connectRelationshipContext
connectRelationship Using Incorrect ManagedObjectContext
2012-03-11 14:05:54 -07:00
Charlie Savage
08e65ac108 Remove references to NSOrderedSet to maintain iOS 4.x compatability. 2012-03-11 14:48:56 -06: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
Scott Penrose
5b8f1c34d6 Always add default date formatters to start of array to be tried first. RKISO8601DateFormatter will match a lot of different dates and most likely your default date formatter was not getting hit since it was last in the list. 2012-03-01 22:51:13 -05: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