A view design to be filled with holes ...
[Have a look to my other librairies] (http://leverdeterre.github.io)
- (NSInteger)addHoleCircleCenteredOnPosition:(CGPoint)centerPoint andDiameter:(CGFloat)diamter;
- (NSInteger)addHoleRectOnRect:(CGRect)rect;
- (NSInteger)addHoleRoundedRectOnRect:(CGRect)rect withCornerRadius:(CGFloat)cornerRadius;
- (NSInteger)addHCustomView:(UIView *)customView onRect:(CGRect)rect;
This method will be called if you configure a holeViewDelegate. The index is equal to NSNotFound if user touch dimingView.
- (void)holedView:(JMHoledView *)holedView didSelectHoleAtIndex:(NSUInteger)index;