What is this syntax when I tried to override getter ??
I just messed around trying to learn more about how Objective-C properties work. Here is my property:
@property (nonatomic, strong) UIView *myView;
When I try to override getter, I get this help:
-(void)getMyView:(<object-type> **)buffer range:(NSRange)inRange { }
I know I can use this:
-(UIView *)myView { }
But I'm just wondering what the previous method does, why it is there, etc. Thanks for any help!
source share