Hello, I have a property in an interface like this:
@property (nonatomic, strong) SomeConcreteClass *myThing;
It is used in many places throughout my project.
I need to change the property's type to be id<SomeProtocol>, or even NSObject<SomeProtocol>* so that it would look like this:
@property (nonatomic, strong) id<SomeProtocol>myThing;
@property (nonatomic, strong) NSObject<SomeProtocol> *myThing;
Ideally, any place in the code that referenced this property value would change the type of the referenceing variable to be id<SomeProtocol> as well, since the existing ConcreteClasses all conform to SomeProtocol, but minimally it should change the signature and any implemented accessor method names.
I can refactor the _name_ of the property, but not the _type_ in AppCode. If this were a method and I was changing the return type, it would be as easy as activating the "Change Signature" refactor. However, this refactor does not work on properties. Is there something I'm missing or some way I can accomplish my intent with AppCode refactoring on this?