Why can't I call [super attribute] ? #161

Closed
colasbd opened this Issue May 3, 2013 · 1 comment

Projects

None yet

2 participants

@colasbd

I have an Entity, with an NSString attribute.

In Entity.m, I want to override the method attribute.
I do :

    - (NSString *)attribute
   {
       NSLog(@"Hi  !!");
       return [super attribute] ;
   }

But then, I get the following error :
-[Entity attribute]: unrecognized selector sent to instance 0x100182f70

Why is it so ?

Thank you

@rentzsch
Owner

I can't reproduce this with the mogenerator's test folder?

@colasbd colasbd closed this Sep 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment