子类化以覆盖对象

时间:2012-01-26 13:55:25

标签: objective-c subclass override subclassing

在子类化时,目标c是否可以覆盖对象? EG

Class 1 interface:  
{  
     UIlable *myLabel;  
}    

@property (nonatomic) UILable *mylabel;

Class 2是Class1

的子类

你可以覆盖myLabel成为UITextView吗?

0 个答案:

没有答案