FSOCCategories 1.0.5

FSOCCategories 1.0.5

Fisher 维护。



  • 作者:
  • 张忠燕

FSOCCategories

CocoaPods Compatible Platform

Objective-C 分类,功能扩展库

如何安装

  • 下载 Zip 包 将 FSOCCategories 文件夹内的源代码复制到项目中集成
  • 通过 Pod 进行安装:
pod 'FSOCCategories'

自定义安装

pod 'FSOCCategories/UIButton+FSHitEdgeInsets'
pod 'FSOCCategories/UIButton+FSDocumentPickerViewController'
pod 'FSOCCategories/UIButton+FSDocumentInteractionController'

说明

  • UIButton+FSHitEdgeInsets

    • /// 传入 负值 可以扩大点击区域
    • @property (nonatomic, assign) UIEdgeInsets hitEdgeInsets;
  • UIViewController+FSDocumentPickerViewController

    • /// 系统文件选择控制器
    • @property (nonatomic, strong, readonly) UIDocumentPickerViewController *documentPickerVC;
    • /** 选择文件回调 */
    • @property (nonatomic, strong, nullable) FSDocumentPickerDidSelectedBlock documentPickerDidSelectedBlock;
    • /// 取消回调
    • 属性 (nonatomic, strong, nullable) FSDocumentPickerDidCancelBlock documentPickerDidCancelBlock;
  • UIViewController + FSDocumentInteractionController

    • /// 弹出系统文件交互对话框(分享、保存、应用间文件通讯)
    • (void)presentDocumentInteractionControllerWithURL:(NSURL *)url;