I have this object
Objectus.m
#import "Objetus.h"
@implementation Objetus
@synthesize stringa = _stringa;
- (id) init {
if (self) {
NSLog(@"zumba");
self.stringa = @"ss9";
//[self piraguense];
}
return self;
}
- (void) piraguense {
NSLog(@"cucu");
}
- (void)dealloc {
[_stringa release];
[super dealloc];
}
@end
So my question is how to acces the method “piraguense”
Objetus *instaObjetus = [[Objetus alloc]init];
NSLog(@"instaObjetus ::%@", instaObjetus);
NSLog(@"propiedad del objetus::%@ ", instaObjetus.stringa);
instaObjetus.piraguense ; //warning
as this instaObjetus.piraguense
gives me a warning,
The syntax for calling a method* is:
*or, in Objective C terms send message to an instance