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

Fix swift template objc interoperability #215

Merged
merged 1 commit into from
Jun 29, 2014
Merged

Fix swift template objc interoperability #215

merged 1 commit into from
Jun 29, 2014

Conversation

pietbrauer
Copy link
Contributor

As described in http://stackoverflow.com/a/24074692/518801 a NSFetchRequest returns NSManagedObjects instead of custom subclasses. This is fixed when @objc(Subclass) instead of just @objc is set.

rentzsch added a commit that referenced this pull request Jun 29, 2014
[FIX] Swift: Use `@objc(managed object class name)` to correctly work with `NSFetchRequest`. ([Piet Brauer](#215))
@rentzsch rentzsch merged commit 2588320 into rentzsch:master Jun 29, 2014
@rentzsch
Copy link
Owner

Thanks! Merged.

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