Skip to content

abcdezg/hollowOutButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

hollowOutButton

Is a hollow out button demo (object-c)

How to use?

Just change your button class to HollowOutButton,

And then the hollow part can not be clicked now.

You can override this method to filter custom colors :

-(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event

如何使用?

只需将按钮的类改为HollowOutButton即可

镂空部分就无法被点击了

你也可以重写此方法过滤自定义颜色

-(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event

About

Is a hollow out button demo (object-c)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published