Just assign to the instance variable directly, without using dot syntax to call the setter:
- (void) setProp1:(id)aProp
{
self->prop1 = aProp;
}
That kind of begs the question though. All this accessor does is exactly what the parent would have done - so what's the point of overriding the parent at all?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…