| 1234567891011121314151617181920212223242526272829303132333435 |
- //
- // MORedRainView.m
- // MiMoLive
- //
- // Created by SuperC on 2024/7/15.
- //
- #import "MORedRainView.h"
- @interface MORedRainView ()
- @property (weak, nonatomic) IBOutlet UILabel *timeLab;
- @end
- @implementation MORedRainView
- + (instancetype)moRedRainView{
- return [[[NSBundle mainBundle] loadNibNamed:@"MORedRainView" owner:self options:nil] firstObject];
- }
- - (void)awakeFromNib{
- [super awakeFromNib];
-
- self.timeLab.layer.cornerRadius = 8.0 / 2.0;
- self.timeLab.layer.masksToBounds = YES;
- }
- - (IBAction)showRedRainBlock:(id)sender {
- self.showRedRainActivityView ? self.showRedRainActivityView() : nil;
- }
- @end
|