Latest | 0.1.0 |
---|---|
Homepage | https://github.com/PauliusVindzigelskis/JMHoledView |
License | MIT |
Platforms | ios 7.0, requires ARC |
Authors |
My other works
[http://leverdeterre.github.io] (http://leverdeterre.github.io)
JMHoledView
A view design to be filled with holes …
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;
- (void) addHoleCircleCenteredOnPosition:(CGPoint)centerPoint andDiameter:(CGFloat)diameter withText:(NSString *)text onPosition:(JMHolePosition)position withMargin:(CGFloat) margin;
- (void) addHoleRectOnRect:(CGRect)rect withText:(NSString *)text onPosition:(JMHolePosition)position withMargin:(CGFloat) margin;
- (void) addHoleRoundedRectOnRect:(CGRect)rect withCornerRadius:(CGFloat)cornerRadius withText:(NSString *)text onPosition:(JMHolePosition)position withMargin:(CGFloat) margin;
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;
Latest podspec
{ "name": "JMHoleView", "version": "0.1.0", "summary": "UIView subclass designed to be filled with holes", "requires_arc": true, "description": "JMHoledView is a UIView subclass. Holes can be configured and a delegate method is triggered on user interaction. Extended library, thanks to jerome Morissard for most work.", "homepage": "https://github.com/PauliusVindzigelskis/JMHoledView", "screenshots": "https://raw.githubusercontent.com/leverdeterre/JMHoledView/master/screenshots/demo1.png", "license": "MIT", "authors": { "Paulius Vindzigelskis": "[email protected]" }, "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/PauliusVindzigelskis/JMHoledView.git", "tag": "C0.1.0" }, "source_files": [ "Classes", "JMHoledView/JMHoledView/*.{h,m}" ], "public_header_files": "JMHoledView/JMHoledView/*.h" }
Tue, 12 Dec 2017 14:20:04 +0000