HHCustomCorner
示例
要运行示例项目,先克隆仓库,然后在示例目录内运行 pod install
安装
HHCustomCorner 可通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile 中
pod 'HHCustomCorner'
预览
如何使用
UIView
-
在 UIViewController 中放置 UIView
-
将
HHCustomCornerView
作为类分配给该视图 -
在
HHCustomCornerView
检查器中分配属性 -
根据您的需求自定义角落
UIButton
-
在 UIViewController 中放置 UIView
-
将
HHCustomCornerButton
作为类分配给该视图 -
在
HHCustomCornerButton
检查器中分配属性 -
根据您的需求自定义角落
作者
shamzahasan88, [email protected]
许可证
HHCustomCorner 可在 MIT 许可证下获取。有关更多信息,请参阅 LICENSE 文件。