i have a class, in which i am initialising another class that i have made. the other class that i have made has a subclass with only a few changes (none to the init method). What i am wondering is will it be ok if i try to do this. the code looks something like this.
in one of the cases: self.shapeLayer = [[UMShapeLayer alloc] init]; in a different case: self.shapeLayer = [[UMShapeLayerOnslaught alloc] init];
if this will cause problems and there another way that i can do this, please could somebody tell me.