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

using magical record 2.3 in bridging header #1204

Open
matanporeh opened this issue Mar 13, 2016 · 0 comments
Open

using magical record 2.3 in bridging header #1204

matanporeh opened this issue Mar 13, 2016 · 0 comments

Comments

@matanporeh
Copy link

hi
i have an objective c project that is using the latest MR via cocoa pods
recently i started adding swift classes to my project so naturally i have a bridging header.
now i am trying to access MR methods via my new swift classes but it just doesn't work
i saw some tutorials talking about importing "CoreData+MagicalRecord.h" but there is no such file in the pods project
i also tried importing "MagicalRecord.h" via the bridging header and it didn't work as well
please note that other than my swift classes, all my ObjC classes have no problems using MR methods

please guide me to how exactly my bridging header should look like and if i should import MagicalRecord explicitly in my swift classes

p.s - in my pod files i am not using the 'use_frameworks' flag since i need my project to support iOS 7.1 and above

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

No branches or pull requests

1 participant