Hey guys.
I want to make a grid like in photos.app. (I don't want to use Three20 ;-))
I got a UIViewController and a custom subclass of UIView.
my customView.h
Code:
@interface customView : UIView {
}
-(void)showOverlay;
-(void)hideOverlay;
@end
I allocate an instance of that cutomView in my UIViewController with
Code:
customView *myCustomView = [[customView alloc] initWithFrame:CGRectMake(0,0,200,200)];
If I doubletap the instance of the custom view, the subview turn black(the overlay)
If I want to hide that overlay I have to call the function -(void)hideOverlay within my subclass.
But how do I access that subclass?
I thought of delegate but didn't get it working.
Later if this will work I want to make many instances (as required in a grid :-))
Thanks a lot!!!