Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 450 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 450 Bytes

HBHexagon

Story

We gave users a square or round avatar. But I heard that PM needs hexagon avatar for VIP? Are you need Octagon for Super VIP?

普通用户头像是圆形方形我懂, 但是听说你们做产品的要做个六边形头像来作为VIP用户? 那是不是超级VIP用户要八边形嘞?

Usage

Usage is really simple.

avatar.image = UIImage(named: "Avatar")?.hb_hexagonImage

License

GNU GENERAL PUBLIC LICENSE