0

Im not really sure what im doing wrong. I get this error message "No visible @interface for 'WeightEntry' declares the selector 'initWithEntity:insertInToManagedObjectContext:". But my WeightEntry class inherites from NSManagedObject so that method should be inherited.

The code is posted here

Thanks for all the help in advance.

1
  • 1
    Are you sure you have written it right? It should be insertIntoManagedObjectContext. Nov 6, 2012 at 11:55

1 Answer 1

2

insertInToManagedObjectContext should be insertIntoManagedObjectContext.

1
  • Thank you that fixed everything
    – Dblock247
    Nov 7, 2012 at 1:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.