BRCPopUper
is a powerful pop-up management tool that offers high customization and rich animation effects, easily meeting the needs of various complex scenarios.
MainTest | PopUpTest | DropDownTest |
---|---|---|
|
|
|
- Highly Customizable: Supports custom content views, background colors, shadow effects, rounded corners, etc.
- Rich Animation Effects: Built-in multiple animation effects and supports custom animations.
- Diverse Content Support: Supports both text and image content, providing convenient methods for setting them.
- Flexible Pop-up and Dismiss Methods: Supports pop-ups anchored to views or points, with both automatic and manual dismiss controls.
- Comprehensive Delegate Callbacks: Provides various delegate callback methods to monitor pop-up events like display, dismissal, and clicks.
#import <BRCPopUp/UIView+BRCPopUp.h>
[self.navigationItem.titleView
brc_popUpTip:@"你好,我是一个功能完善,高度定制化的DropDown/PopUp组件,很高兴认识你!"
withDirection:BRCPopUpDirectionBottom
hideAfterDuration:3.0
];
BRCPopUper *popUper = [[BRCPopUper alloc] initWithContentStyle:BRCPopUpContentStyleCustom];
[popUper showWithAnchorView:anchorView hideAfterDelay:3.0]
- iOS 13.0
- Xcode 12+
BRCPopUp is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'BRCPopUp'
zhixiongsun, [email protected]
BRCPopUp is available under the MIT license. See the LICENSE file for more info.