While reading some tutorials i found for the first time the "structure operator", I read that it's used to refer of an instace variable.
-(void)setNumber:(int)n{
self.number = n;
}
-(void)setNumber:(int)n{
self->number = n;
}
My doubt is: what it doing exactely? When do i use it? Why should i prefer it to the dot notation?