If I declare a property like this:
@property(nonatomic,weak) Foo *someProperty;
and I then declare a custom setter like so:
Yes, that's all there is to it. Of course you can specify a custom iVar if you'd like something other than _someProperty like:
_someProperty
@synthesize someProperty = someProperty_;