views:

64

answers:

1

I've created a category to add methods to NSManagedObjectModel. Everything works fine except Xcode keeps throwing warnings about NSManagedObjectModel not implementing the methods. How can I force it to recognise the method?

+4  A: 

Did you #import the .h of the category?

gcamp
I don't know about the original poster, but I did and it made no difference. At what point does it need to be imported?
Ash
At the begging of every .m file where you're using the function.
gcamp