XLActionController:用Swift编写的完全可定制和可扩展的动作表控制器

时间:2021-02-03 14:39:36
【文件属性】:
文件名称:XLActionController:用Swift编写的完全可定制和可扩展的动作表控制器
文件大小:8.23MB
文件格式:ZIP
更新时间:2021-02-03 14:39:36
swift swift-library ios cocoapods carthage XLActionController 通过 。 XLActionController是一个可扩展的库,可以快速创建任何自定义操作表控制器。 例子 上面显示的动作表控制器完全使用XLActionController创建的,并包含在。 要运行示例项目:克隆XLActionController存储库,打开XLActionController工作区并运行示例项目。 下面的代码片段显示了如何显示Tweetbot操作表控制器: let actionController = TweetbotActionController () actionController. addAction ( Action ( " View Details " , style : . default , handler : { action in // do something useful })) actionController. addAction ( Action ( " View Retweets " , style : . default , handler : { action in //

网友评论