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

Allow no results in vok_fetchForPredicate:forManagedObjectContext: #85

Merged
merged 4 commits into from
May 16, 2016

Conversation

brockboland
Copy link
Contributor

This fixes the assertion in vok_fetchForPredicate:forManagedObjectContext: to allow an empty result set, and adds tests around it. This regression was introduced in da3bf04.

Most of this diff is just updating the local pod in the sample projects. The only real changes are in these two files:

  • Pod/Classes/NSManagedObject+VOKManagedObjectAdditions.m
  • SampleProject/VOKCoreDataManagerTests/VOKManagedObjectAdditions.m

@vokal/ios-developers code review please?

@chillpop
Copy link
Contributor

sure

@chillpop
Copy link
Contributor

LGTM

@brockboland brockboland merged commit aa151fb into vokal:master May 16, 2016
@brockboland brockboland deleted the fetch_fix branch May 16, 2016 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants