[Solved] Creating a subclass of UIView [closed]


Declare your method in your Interface

@interface AVView : UIView

- (UIView *) buildBestView;

@end

Use that in the other class

AVView *avView = [[AVView alloc] initWithFrame:CGRectMake:(0,0, 100, 100)];

[avView buildBestView];

3

solved Creating a subclass of UIView [closed]