| 12345678910111213141516171819202122232425262728293031323334353637 | 
							- //
 
- //  UIView+PublicInit.h
 
- //  Asteria
 
- //
 
- //  Created by iOS on 2023/4/24.
 
- //
 
- #import <UIKit/UIKit.h>
 
- NS_ASSUME_NONNULL_BEGIN
 
- @interface UIView (PublicInit)
 
- // MARK: + base create
 
- + (UIView *)baseV;
 
- + (UILabel *)baseLb;
 
- + (UIImageView *)baseImgV;
 
- + (UIStackView *)baseStackV:(BOOL)isVertical;
 
- + (void)viewAddLineColorBg:(UIView *)bgV colorArr:(NSArray *)colors;
 
- + (void)viewAddHorColorBg:(UIView *)bgV colorArr:(NSArray *)colors;
 
- + (UIImage *)snapshotWithView:(UIView *)view;
 
- + (UIVisualEffectView*)getBlurV:(CGRect)frame;
 
- + (void)viewAddHorColorBg:(UIView *)bgV colorArr:(NSArray *)colors startP:(CGPoint)start endP:(CGPoint)end;
 
- - (void)setLayerShadow:(UIColor*)color offset:(CGSize)offset radius:(CGFloat)radius;
 
- @end
 
- NS_ASSUME_NONNULL_END
 
 
  |