Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2502 Fix CoreData concurrency issues in RKManagedObjectRequestOperation & RKManagedObjectResponseMapperOperation #2503

Open
wants to merge 38 commits into
base: development
Choose a base branch
from

Conversation

rubnov
Copy link

@rubnov rubnov commented Apr 15, 2017

No description provided.

@valeriomazzeo
Copy link
Member

@rubnov could you please update from development and make sure tests are green?

Also, a unit test that reproduces the problem that has been fixed would be greatly appreciated.

@rubnov
Copy link
Author

rubnov commented Jul 16, 2017

@valeriomazzeo done. Didn't have time to write specific unit tests to the fixes I've made though. I doubt I'll get to it any time soon. Sorry.

valeriomazzeo and others added 6 commits November 29, 2018 22:12
…estKit#2516)

* Changed the `RKStringTokenizer` method `- (NSSet *)tokenize:(NSString *)string` to use `kCFStringTokenizerUnitWordBoundary` instead of `kCFStringTokenizerUnitWord`. This then allows tokens to be created for symbols such as '@', '$' and '#' and therefore making them searchable.

As a result of using `kCFStringTokenizerUnitWordBoundary` instead of `kCFStringTokenizerUnitWord`, spaces are detected and a token created. As we don't want to be returning results that include a space, this token (if it exists) is removed before the tokens are returned.

Unit tests added to cover both the creating of tokens from strings that contain symbols and searching for managed objects that contain symbols.

* Core formatting - removed tabs from empty lines in RKStringTokenizer.

* Fixed assert mistake in RKSearchTest unit test `testSearchingForManagedObjectsWithSymbols`.
To fix Xcode 9 "The block declaration is not a prototype" warning
Change "to to" to "to"
…pletion block of the 'setImageWithURLRequest:placeholderImage:success:failure:' method on the AFNetworking UIImageView extension.
br-tyler-milner and others added 11 commits November 29, 2018 22:12
…s. The test is still failing at this point since I haven't yet fixed the bug.
…ImageWithURLRequest:placeholderImage:success:failure:' wasn't being returned in the 'success' completion block when the image was fetched from the cache. The unit test is passing now.
…d tests for the rest of the parameters in the 'success' block.
…working library's implementation of the UIImageView helper category for setting an image from a URL. This will be a breaking change, but should help make people aware of potential unwanted behavior if their project includes both AFNetworking and RestKit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants