So let's say I've got a synthesized property for a UITextField which I have named field1. From my understanding is that you should use self.field1 = newValue to change the field1 value. By using the dot notation you automatically use the created setter by the compiler. (Or use it without dot notation [self setField1:newValue])
But I've seen examples where they use this same dot notation method on setting the field1's ivars like:
field1.text = @"Text";
Does this mean that when declaring a property you can automatically use dot notation on all that property's ivars? Or is this possible only because in that UITextField class the ivar "text" is declared as a property? Say if text wasn't declared as a property would the correct way to set the text ivar be:
[field1 setText:@"Text"]