I have a very basic question regarding properties in Objective-C.
I can only access object's properties via dot notation (Obj.MyProp
) if I @synthesize
myProp
. Is that correct?
Would it be true to say that if I use my own setter method, I will no longer be able to refer to property in dot notation?
Basically I am looking for C# type of functionality where I can write my own custom getter/setter and yet provide an additional code which I need to execute when the property is set.