Skip to content

Conversation

@slangley
Copy link

On Swift 2.2/XCode 7.3, the predicate filtering was failing.

The objects in the userInfo field are Sets and not Arrays, and so a cast attempt to as? [NSManagedObject] will fail and return nil.

If the info variables are cast to Set then the filtering all works properly.

Bonus: There was a spelling mistake in the addEntityToWatch function name

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.

1 participant