i want to add an UIView
for small size as a subview to existing view.
i have a UIViewController
pushed with a nib name which is the main view, i am trying to create an object of UIView
and alloc it with dimension with the following code in the viewcontroller's viewDidLoad
methoad
UIView *view = [[UIView alloc] init];
but the idea is not suggesting the alloc on UIView
and throwing an error if i forcefully type and run
please help me out with this