Initial commit
This commit is contained in:
Vendored
BIN
Binary file not shown.
+19
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// FounderButton.h
|
||||
// P2PPlayingbackVC
|
||||
//
|
||||
// Created by apple on 16/7/19.
|
||||
// Copyright © 2016年 yuanHongQiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "UIViewExt.h"
|
||||
|
||||
@interface FounderButton : UIButton
|
||||
@property(nonatomic,assign)NSInteger yTag;
|
||||
@property(nonatomic,assign)CGSize buttonImageViewSize;
|
||||
@property(nonatomic,assign)CGFloat buttonImageLeftOffset;
|
||||
@property(nonatomic,assign)CGFloat buttonImageUpOffset;
|
||||
/**这个方法建议不要使用,会出现布局的问题,请使用 setImage的方法*/
|
||||
-(void)setBackgroundImage:(UIImage *)image forState:(UIControlState)state NS_DEPRECATED_IOS(2_0, 3_0);
|
||||
@end
|
||||
BIN
Binary file not shown.
+34
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// YTheNaviBar.h
|
||||
// YTheNaviBar
|
||||
//
|
||||
// Created by apple on 16/8/8.
|
||||
// Copyright © 2016年 apple. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "UIViewExt.h"
|
||||
#import "FounderButton.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@interface YTheNaviBar : UIControl
|
||||
@property(nonatomic,assign)NSInteger yTag;
|
||||
@property(nonatomic,assign)CGFloat yBarLeftSpace;
|
||||
@property(nonatomic,assign)CGFloat yBarRightSpace;
|
||||
@property(nonatomic,strong,nullable)UIColor* yBarColor;
|
||||
@property(nonatomic,strong,nullable)UIImage* yBarImage;
|
||||
@property(nonatomic,strong,nullable)UIColor* yBarBottomLineColor;
|
||||
@property(nonatomic,assign)CGFloat yBarBottomLineHeight;
|
||||
@property(nonatomic,copy,nullable)NSAttributedString* yBarTextLeft;
|
||||
@property(nonatomic,copy,nullable)NSAttributedString* yBarTextCenter;
|
||||
@property(nonatomic,copy,nullable)NSAttributedString* yBarTextRight;
|
||||
/**传入的按钮必需有宽值*/
|
||||
@property(nonatomic,copy,nullable)NSArray<FounderButton*>* yBarButtonsLeft;
|
||||
/**传入的按钮必需有宽值*/
|
||||
@property(nonatomic,copy,nullable)NSArray<FounderButton*>* yBarButtonsRight;
|
||||
-(NSAttributedString*)gtTextWithString:(nullable NSString*)str
|
||||
withColor:(nullable UIColor*)color
|
||||
withFont:(nullable UIFont*)font
|
||||
withAlignment:(NSTextAlignment)alig;
|
||||
@end
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user