Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 897 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 897 Bytes

JMHoledView

A view design to be filled with holes ...

My other librairies

[Have a look to my other librairies] (http://leverdeterre.github.io)

HoleView, holes methods


- (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;

HoleView Delegation : JMHoledViewDelegate

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;

Image