Skip to content

V 2.5.0 (⚠️ Important)

Compare
Choose a tag to compare
@iTofu iTofu released this 05 Sep 07:16
· 253 commits to master since this release
  • 添加 cancenButtonIndex 属性。在 cancelTitle.length > 0 的情况下始终返回 0,否则返回 -1

    @interface LCActionSheet : UIView
    
    @property (nonatomic, assign, readonly) NSInteger cancelButtonIndex;
  • 修改 Block 属性命名:

    @property (nonatomic, copy) LCActionSheetClickedBlock     clickedBlock;
    @property (nonatomic, copy) LCActionSheetWillPresentBlock willPresentBlock;
    @property (nonatomic, copy) LCActionSheetDidPresentBlock  didPresentBlock;
    @property (nonatomic, copy) LCActionSheetWillDismissBlock willDismissBlock;
    @property (nonatomic, copy) LCActionSheetDidDismissBlock  didDismissBlock;
    
    ->
    
    @property (nonatomic, copy) LCActionSheetClickedHandle     clickedHandle;
    @property (nonatomic, copy) LCActionSheetWillPresentHandle willPresentHandle;
    @property (nonatomic, copy) LCActionSheetDidPresentHandle  didPresentHandle;
    @property (nonatomic, copy) LCActionSheetWillDismissHandle willDismissHandle;
    @property (nonatomic, copy) LCActionSheetDidDismissHandle  didDismissHandle;