repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
754340156/NQ_quanfu
allrichstore/UI/Home/SelfBusiness/V/PulldownMoreMenuView/PulldownMoreView.h
<filename>allrichstore/UI/Home/SelfBusiness/V/PulldownMoreMenuView/PulldownMoreView.h // // PulldownMoreView.h // allrichstore // // Created by 任强宾 on 16/12/1. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @class PulldownMoreView; //配置的block typedef void(^PulldownMoreViewConfigureBlock)(PulldownMoreView *pulldownMoreView); //事件触发的blcok typedef void(^PulldownMoreViewSelectedBlock)(NSInteger selectedIndex); @protocol PulldownMoreViewDelegate <NSObject> @end @protocol PulldownMoreModelAble <NSObject> - (NSString *)title; @end @interface PulldownMoreView : UIView /** 传数组和(配置,触发的block)的初始化 @param menuArray 模型数组 @param configureBlcok 配置块 @param actionBlock 触发块 */ - (instancetype)initWithFrame:(CGRect)frame menuArray:(NSMutableArray *)menuArray configureBlcok:(PulldownMoreViewConfigureBlock)configureBlcok actionBlock:(PulldownMoreViewSelectedBlock)actionBlock; @property (nonatomic, strong) UIButton *headerBtn; @property (nonatomic, strong) NSMutableArray *menuArray; @property (nonatomic, assign) id<PulldownMoreViewDelegate> delegate; @property (nonatomic, assign) NSInteger showCellMaxCount; @property (nonatomic, assign) NSInteger moreShowCellMaxCount; @property (nonatomic, strong) UIColor *cell_normalColor; @property (nonatomic, strong) UIColor *cell_selectedColor; //展示前几个的collectionView @property (nonatomic, strong) UICollectionView *collectView; //展示更多的collectionView @property (nonatomic, strong) UICollectionView *moreCollectView; @end #pragma mark - cell //展示前几个的cell @interface PulldownCell : UICollectionViewCell @property (nonatomic, strong) UIButton *btn; @end #pragma mark - 展示更多的cell //展示更多的cell @interface PulldownMoreCell : UICollectionViewCell @property (nonatomic, strong) QButton *btn; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Category/NSString+RegexCheck.h
<gh_stars>1-10 // // NSString+RegexCheck.h // CommonLibrary // // Created by Alexi on 14-2-13. // Copyright (c) 2014年 CommonLibrary. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (RegexCheck) - (BOOL)matchRegex:(NSString *)regex; - (BOOL)isValidateMobile; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/PageScrollView.h
// // PageScrollView.h // CommonLibrary // // Created by <NAME> on 3/5/13. // Copyright (c) 2013 AlexiChen. All rights reserved. // #import <UIKit/UIKit.h> @class PageScrollView; @protocol PageScrollViewDelegate <NSObject> //- (void)onPageScrollView:(PageScrollView *)pageView scrollTransitionTo:(UIScrollView *)scrollView; - (void)onPageScrollView:(PageScrollView *)pageView scrollToPage:(NSInteger)pageIndex; @end @interface PageScrollView : UIView<UIScrollViewDelegate> { @protected CGPoint _startOffset; CGPoint _startPoint; CGPoint _endPoint; NSInteger _pageIndex; BOOL _pageControlUsed; UIPageControl *_pageControl; UIScrollView *_scrollView; NSMutableArray *_pages; __weak id<PageScrollViewDelegate> _pageScrollDelegate; } @property (nonatomic, strong) UIScrollView *scrollView; @property (nonatomic, strong) NSArray *pages; @property (nonatomic, weak) id<PageScrollViewDelegate> pageScrollDelegate; @property (nonatomic, readonly) UIPageControl *pageControl; @property (nonatomic, assign) NSInteger pageIndex; // 设置相应的内容并且重新布局 - (void)setFrameAndLayout:(CGRect)rect withPages:(NSArray *)pages; - (void)scrollTo:(NSInteger)pageIndex; - (NSInteger)pageCount; - (void)changeToPage:(NSInteger)page manual:(BOOL)isManual; // protected method - (void)loadPage:(NSInteger)page feedBack:(BOOL)need; @end
754340156/NQ_quanfu
allrichstore/UI/Mine/Main/V/Mine_MainCell.h
// // Mine_MainCell.h // allrichstore // // Created by zhaozhe on 16/11/7. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseTableViewCell.h" @class UserModel; @interface Mine_MainCell : BaseTableViewCell /** 图标 */ @property(nonatomic,copy) NSString * icon; /** 标题 */ @property(nonatomic,copy) NSString * title; /** 副标题 */ @property(nonatomic,copy) NSString * attestation; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Main/V/firstView/SecondCell/GD_ActiveCell.h
<reponame>754340156/NQ_quanfu // // GD_ActiveCell.h // allrichstore // // Created by zhaozhe on 16/11/1. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseTableViewCell.h" @class GoodsDetailActiveModel; @interface GD_ActiveCell : BaseTableViewCell /** model */ @property(nonatomic,strong) GoodsDetailActiveModel * model; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/UIFramework.h
<gh_stars>1-10 // // UIFramework.h // CommonLibrary // // Created by Alexi on 13-11-6. // Copyright (c) 2013年 ywchen. All rights reserved. // #ifndef CommonLibrary_UIFramework_h #define CommonLibrary_UIFramework_h #import "UIViewController+Layout.h" #import "NavigationViewController.h" #if kSupportScrollController #import "ScrollBaseViewController.h" #import "BaseCollectionViewController.h" #endif #import "UIView+Layout.h" #import "NSObject+loadPadClass.h" #if kSupportPopupView #import "PopupView.h" #endif #import "MenuAbleItem.h" #import "MenuItem.h" #import "KeyValue.h" #import "PageScrollView.h" #import "BaseAppDelegate.h" // 过渡动画 #import "UINavigationController+Transition.h" #import "KeyValue.h" #import "RefreshAbleView.h" #import "RefreshView.h" #if kSupportLibraryPage #import "PageMenuScrollView.h" #import "LibraryNavigationPanel.h" #import "LibraryScrollView.h" #endif #endif
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBUIClass/QButton.h
// // QButton.h // MeiYiQuan // // Created by 任强宾 on 16/10/8. // Copyright © 2016年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, QButtonStyle) { QButtonStyleNormal = 0, QButtonStyleImageRight, QButtonStyleImageTop, QButtonStyleImageBottom, }; typedef NS_ENUM(NSInteger, QButtonLayoutStyle) { QButtonLayoutStyleNone = 0, QButtonLayoutStyleLeft, QButtonLayoutStyleRight, QButtonLayoutStyleTop, QButtonLayoutStyleBottom, }; typedef NS_ENUM(NSUInteger, QButtonState) { QButtonNormalStateNormal = 0, QButtonNormalStateSelected = 1, QButtonSelectedStateNormal = 2, QButtonSelectedStateSelected = 3 }; @interface QButton : UIButton /** QButton的自动布局 @param frame 若autoSize为YES,frame.size的宽高为最大 @param style 按钮的类型(根据图片和标题的位置区分) @param layoutStyle 按钮(图片和标题控件整体偏移)的方向 @param font 按钮标题的字体 @param title 按钮标题 @param image 按钮的图标 @param space 按钮中图片与标题之间的间距 @param margin 按钮(图片和标题控件整体偏移)的距离 @param autoSize 是否自动适配为最小的size @return self */ + (instancetype)btnType:(UIButtonType)btnType frame:(CGRect)frame style:(QButtonStyle)style layoutStyle:(QButtonLayoutStyle)layoutStyle font:(UIFont *)font title:(NSString *)title image:(UIImage *)image space:(CGFloat)space margin:(CGFloat)margin autoSize:(BOOL)autoSize; - (instancetype)initWithFrame:(CGRect)frame style:(QButtonStyle)style layoutStyle:(QButtonLayoutStyle)layoutStyle font:(UIFont *)font title:(NSString *)title image:(UIImage *)image space:(CGFloat)space margin:(CGFloat)margin autoSize:(BOOL)autoSize; - (instancetype)initWithFrame:(CGRect)frame style:(QButtonStyle)style font:(UIFont *)font title:(NSString *)title image:(UIImage *)image space:(CGFloat)space autoSize:(BOOL)autoSize; - (instancetype)initWithFrame:(CGRect)frame layoutStyle:(QButtonLayoutStyle)layoutStyle font:(UIFont *)font title:(NSString *)title autoSize:(BOOL)autoSize; @property (nonatomic ,assign) QButtonStyle style; @property (nonatomic ,assign) QButtonLayoutStyle layoutStyle; @property (nonatomic ,assign) CGFloat space; @property (nonatomic ,assign) CGFloat margin; @property (nonatomic ,assign) BOOL autoSize; @property (nonatomic, assign) CGSize minSize; //默认的背景色 @property (nonatomic, strong) UIColor *normalBgColor; //选中的背景色 @property (nonatomic, strong) UIColor *selectedBgColor; //默认的边框颜色 @property (nonatomic, strong) UIColor *normalBorderColor; //选中的边框颜色 @property (nonatomic, strong) UIColor *selectedBorderColor; @property (nonatomic, strong) UIColor *highlightColor; @property (nonatomic, assign) BOOL transparentWhenhighlight; @property (nonatomic, assign) BOOL qbSelected; - (void)setImage:(UIImage *)image forQButtonState:(QButtonState)state; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UINavigationController++/UINavigationController+QBTransition.h
// // UINavigationController+QBTransition.h // allrichstore // // Created by 任强宾 on 16/11/2. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @interface UINavigationController (QBTransition) //push - (void)pushVC:(UIViewController *)vc animated:(BOOL)animated; ////pop //- (UIViewController *)popVCAnimated:(BOOL)animated; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UILabel++/UILabel+Compute.h
<reponame>754340156/NQ_quanfu // // UILabel+Compute.h // LiveTest // // Created by 任强宾 on 16/9/14. // Copyright © 2016年 NeiQuan. All rights reserved. // #import <UIKit/UIKit.h> @interface UILabel (Compute) //计算字符串宽度(单行) - (CGFloat)getWidth; //计算字符串的高度(单行) - (CGFloat)getHeight; //计算文字绘制所需大小 - (CGSize)getSize; //计算文字绘制所需大小 - (CGSize)getSizeWithWidth:(CGFloat)width; //计算文字绘制所需高度 + (CGFloat)getHeightWithFont:(UIFont *)font; //计算文字绘制所需宽度 + (CGFloat)getWidthWithFont:(UIFont *)font text:(NSString *)text; //计算文字绘制所需宽度 - (CGFloat)getWidthWithText:(NSString *)text; //根据字体,宽度绘制所需高度 + (CGFloat)getHeightWithFont:(UIFont *)font Width:(CGFloat)width text:(NSString *)text; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodList/C/GoodsListSecondStyleVC.h
<filename>allrichstore/UI/Common/GoodList/C/GoodsListSecondStyleVC.h<gh_stars>1-10 // // GoodsListSecondStyleVC.h // allrichstore // // Created by 任强宾 on 16/11/9. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" /*第二种样式的商品列表控制器*/ @interface GoodsListSecondStyleVC : BaseVC @property (nonatomic, copy) NSString *cId; @property (nonatomic, copy) NSString *cField; @property (nonatomic, copy) NSString *inType; //右侧添加搜索按钮 - (void)addSearchBtn; @end
754340156/NQ_quanfu
allrichstore/UI/Home/Main/V/GoodsHorizontalLayoutCell.h
<gh_stars>1-10 // // GoodsHorizontalLayoutCell.h // allrichstore // // Created by zhaozhe on 16/10/31. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseCollectionViewCell.h" @class GoodsModel; @interface GoodsHorizontalLayoutCell : BaseCollectionViewCell /** model */ @property(nonatomic,strong) GoodsModel * model; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Main/C/TabBarVC.h
// // TabBarVC.h // LiveTest // // Created by 任强宾 on 16/8/18. // Copyright © 2016年 NeiQuan. All rights reserved. // #import <UIKit/UIKit.h> @interface TabBarVC : UITabBarController @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Category/KeyChainHelper.h
// // KeyChainHelper.h // CommonLibrary // // Created by Alexi on 14-2-19. // Copyright (c) 2014年 CommonLibrary. All rights reserved. // #if kSupportKeyChainHelper #import <Foundation/Foundation.h> @interface KeyChainHelper : NSObject + (void)addService:(NSString *)service withKey:(NSString *)key; + (NSString *)serviceForKey:(NSString *)key; @end #endif
754340156/NQ_quanfu
allrichstore/UI/Home/Main/V/CollectionViewChangeLayout.h
<filename>allrichstore/UI/Home/Main/V/CollectionViewChangeLayout.h // // CollectionViewChangeLayout.h // allrichstore // // Created by zhaozhe on 16/10/31. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, ChangeLayoutType) { ChangeLayoutList,//列表样式 ChangeLayoutHorizontal //水平tableView样式 }; @interface CollectionViewChangeLayout : UICollectionViewFlowLayout /** 样式选择 */ @property(nonatomic,assign) ChangeLayoutType type; /** 初始化方法指定默认样式 */ - (instancetype)initWithType:(ChangeLayoutType )type; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIView++/UIViewCategoryHeader.h
<gh_stars>1-10 // // UIViewCategoryHeader.h // MeiYiQuan // // Created by 任强宾 on 16/9/29. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef UIViewCategoryHeader_h #define UIViewCategoryHeader_h #import "UIView+QBAdditions.h" //布局 #import "UIView+OwnVC.h" //所在控制器 #import "UIView+SubView.h" //子视图 #import "UIView+BlankPageView.h"//空白页 #import "UIView+Shadow.h" //阴影 #import "UIView+qbLayer.h" //操作layer层 #endif /* UIViewCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/UI/Common/GoodList/V/GoodsTwoListSecondStyleCell.h
<gh_stars>1-10 // // GoodsTwoListSecondStyleCell.h // allrichstore // // Created by 任强宾 on 16/11/9. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseCollectionViewCell.h" #import "GoodsModel.h" //商品model @interface GoodsTwoListSecondStyleCell : BaseCollectionViewCell //价格 @property (nonatomic, strong) UILabel *priceLabel; @property (nonatomic, strong) UILabel *addressLabel; //付款人数 @property (nonatomic, strong) UILabel *payCountLabel; //商品的model @property (nonatomic, strong) GoodsModel *model; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/TabMenuView/TabMenuView.h
// // TabMenuView.h // allrichstore // // Created by 任强宾 on 16/11/28. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @protocol TabMenuModelAble <NSObject> @optional - (NSString *)qbTitle; - (NSString *)qbImgUrl; - (NSString *)qbImgName; @end @class TabMenuView; //配置参数的block typedef void(^TabMenuConfigureBlock)(TabMenuView *tabMenuView); //选中的block typedef void(^TabMenuActionBlock)(NSInteger selectedIndex); @protocol TabMenuViewDelegate <NSObject> - (void)tabMenuViewTableView:(UITableView *)tableView didSelectRowIndex:(NSInteger )index; @end @interface TabMenuView : UIView //cell高度 @property (nonatomic, assign) CGFloat cellHeight; //cell默认背景颜色 @property (nonatomic, strong) UIColor *bgColor_normal; //cell选中背景颜色 @property (nonatomic, strong) UIColor *bgColor_selected; //cell默认文字颜色 @property (nonatomic, strong) UIColor *textColor_normal; //cell选中文字颜色 @property (nonatomic, strong) UIColor *textColor_selected; @property (nonatomic, strong) NSArray *menuArray; @property (nonatomic, strong) UITableView *tableView; @property (nonatomic, assign) id<TabMenuViewDelegate> delegate; //选中下标 - (void)selectedIndex:(NSInteger)index; /** 传入数组 block形式 @param menuArray 菜单的数据 @param configure 配置参数 @param action 选中的触发事件 */ - (instancetype)initWithFrame:(CGRect)frame menuArray:(NSArray *)menuArray configure:(TabMenuConfigureBlock)configure action:(TabMenuActionBlock)action; /** 传入数组 delegate形式 @param menuArray 菜单的数据 @param configure 配置参数 @param delegate 代理对象 */ - (instancetype)initWithFrame:(CGRect)frame menuArray:(NSArray *)menuArray configure:(TabMenuConfigureBlock)configure delegate:(id<TabMenuViewDelegate>)delegate; /** 传入数组 block形式 @param menuArray 菜单的数据 @param configure 配置参数 @param action 选中的触发事件 */ - (instancetype)initWithMenuArray:(NSArray *)menuArray configure:(TabMenuConfigureBlock)configure action:(TabMenuActionBlock)action; /** 传入数组 delegate形式 @param menuArray 菜单的数据 @param configure 配置参数 @param delegate 代理对象 */ - (instancetype)initWithMenuArray:(NSArray *)menuArray configure:(TabMenuConfigureBlock)configure delegate:(id<TabMenuViewDelegate>)delegate; /** block形式 @param configure 配置参数 @param action 选中的触发事件 */ - (instancetype)initWithConfigure:(TabMenuConfigureBlock)configure action:(TabMenuActionBlock)action; /** delegate形式 @param configure 配置参数 @param delegate 代理对象 */ - (instancetype)initWithConfigure:(TabMenuConfigureBlock)configure delegate:(id<TabMenuViewDelegate>)delegate; - (instancetype)initWithFrame:(CGRect)frame; - (instancetype)init; @end @interface TabMenuCell : UITableViewCell @property (nonatomic, strong) QButton *titleBtn; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIImage++/UIImage+Blurry.h
<gh_stars>1-10 // // UIImage+Blurry.h // MeiYiQuan // // Created by 任强宾 on 16/10/15. // Copyright © 2016年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (Blurry) - (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor; @end
754340156/NQ_quanfu
allrichstore/UI/ShoppingCart/Main/V/ShoppingCartHeaderView.h
// // ShoppingCartCell_HeaderView.h // allrichstore // // Created by zhaozhe on 16/11/15. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @class ShoppingCartModel; @interface ShoppingCartHeaderView : UITableViewHeaderFooterView /** model */ @property(nonatomic,strong) ShoppingCartModel * model; /** 点击头部选中按钮block */ @property(nonatomic,copy) void (^headerClickBlock)(); @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/CommonView/MenuButton.h
<reponame>754340156/NQ_quanfu<gh_stars>1-10 // // MenuButton.h // CommonLibrary // // Created by AlexiChen on 14-1-17. // Copyright (c) 2014年 CommonLibrary. All rights reserved. // #import <UIKit/UIKit.h> #import "MenuAbleItem.h" #import "MenuItem.h" @interface MenuButton : UIButton<MenuAbleItem> @property (nonatomic, strong) UIImage *icon; @property (nonatomic, copy) NSString *title; - (instancetype)initWithTitle:(NSString *)title action:(MenuAction)action; - (instancetype)initWithBackground:(UIImage *)icon action:(MenuAction)action; - (instancetype)initWithMenu:(MenuItem *)item; - (void)setClickAction:(MenuAction)action; // protected - (void)onClick:(id)sender; @end
754340156/NQ_quanfu
allrichstore/Library/SGPickerView_DatePicker/SGDatePicker.h
<filename>allrichstore/Library/SGPickerView_DatePicker/SGDatePicker.h // // SGDatePicker.h // SGPickerView_DatePickerExample // // Created by Sorgle on 16/9/23. // Copyright © 2016年 Sorgle. All rights reserved. // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // // // - - 如在使用中, 遇到什么问题或者有更好建议者, 请于<EMAIL>邮箱联系 - - - - - // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - GitHub下载地址 https://github.com/kingsic/SGPickerView_DatePicker.git - - // // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // #import <UIKit/UIKit.h> typedef enum : NSUInteger { SGDatePickerTypeBottom, SGDatePickerTypeCenter, } SGDatePickerType; typedef void (^DataTimeSelect)(NSDate *selectDataTime); @interface SGDatePicker : UIView /** SGDatePickerType */ @property (nonatomic, assign) SGDatePickerType datePickerType; /** 当前选中的Date */ @property (nonatomic, strong) NSDate *selectDate; /** 是否可选择当前时间之前的时间, 默认为NO */ @property (nonatomic, assign) BOOL isBeforeTime; /** DatePickerMode, 默认是DateAndTime */ @property (nonatomic, assign) UIDatePickerMode datePickerMode; - (void)didFinishSelectedDate:(DataTimeSelect)selectDataTime; - (void)show; @property (nonatomic, strong) NSDate *maxSelectDate; /** 优先级低于isBeforeTime */ @property (nonatomic, strong) NSDate *minSelectDate; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Main/V/firstView/GoodsDetailHeaderView.h
<filename>allrichstore/UI/Common/GoodDetail/Main/V/firstView/GoodsDetailHeaderView.h // // GoodsDetailHeaderView.h // allrichstore // // Created by zhaozhe on 16/11/1. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @class GoodsDetailModel; @protocol GoodsDetailHeaderViewDelegate <NSObject> /** 点击轮播图 */ - (void)GoodsDetailHeaderViewDelegate_clickCycleScrollView:(SDCycleScrollView *)cycleScrollView index:(NSInteger )index; @end @interface GoodsDetailHeaderView : UIView /** 代理*/ @property (nonatomic,weak) id <GoodsDetailHeaderViewDelegate> delegate; /** model */ @property(nonatomic,strong) GoodsDetailModel * model; @end
754340156/NQ_quanfu
allrichstore/AppDelegate/AppDelegate.h
<reponame>754340156/NQ_quanfu // // AppDelegate.h // MeiYiQuan // // Created by 任强宾 on 16/9/26. // Copyright © 2016年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> #import "BaseAppDelegate.h" #import "TabBarVC.h" @interface AppDelegate : BaseAppDelegate<UIApplicationDelegate> @property (nonatomic, strong) TabBarVC *tabBarVC; //省份名称 @property (nonatomic, strong) NSString *province; //城市名称 @property (nonatomic, strong) NSString *city; //区县名称 @property (nonatomic, strong) NSString *district; //街道名称 @property (nonatomic, strong) NSString *streetName; @property (nonatomic, assign) CGFloat latitude; @property (nonatomic, assign) CGFloat longitude; + (instancetype)sharedAppDelegate; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/LibraryScrollView.h
// // LibraryScrollView.h // // // Created by Alexi on 3/12/14. // Copyright (c) 2014 Harman. All rights reserved. // #if kSupportLibraryPage #import "PageScrollView.h" @interface LibraryScrollView : PageScrollView @property (nonatomic, weak) UIViewController *ownController; @end #endif
754340156/NQ_quanfu
allrichstore/UI/Common/Search/V/SearchMatchCell.h
<filename>allrichstore/UI/Common/Search/V/SearchMatchCell.h // // SearchMatchCell.h // allrichstore // // Created by 任强宾 on 16/11/8. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseTableViewCell.h" @interface SearchMatchCell : BaseTableViewCell @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/NSArray++/NSArray+qbSort.h
// // NSArray+qbSort.h // allrichstore // // Created by 任强宾 on 16/12/15. // Copyright © 2016年 allrich88. All rights reserved. // #import <Foundation/Foundation.h> @interface NSArray (qbSort) //排序(正序) - (NSMutableArray *)sortASWithKey:(NSString *)key; //排序(倒序) - (NSMutableArray *)sortDesWithKey:(NSString *)key; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/NSArray++/NSMutableArray+QBArray.h
// // NSMutableArray+QBArray.h // allrichstore // // Created by 任强宾 on 16/11/8. // Copyright © 2016年 allrich88. All rights reserved. // #import <Foundation/Foundation.h> @interface NSMutableArray (QBArray) //插入一个字符串在最前面(如果已存在相同字符串,把原有字符串调整在最前面) - (void)insetFirstEachString:(NSString *)string; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIViewController++/UIViewControllerCategrayHeader.h
<reponame>754340156/NQ_quanfu<gh_stars>1-10 // // UIViewControllerCategrayHeader.h // allrichstore // // Created by 任强宾 on 16/11/2. // Copyright © 2016年 allrich88. All rights reserved. // #ifndef UIViewControllerCategrayHeader_h #define UIViewControllerCategrayHeader_h #import "UIViewController+Transition.h" #endif /* UIViewControllerCategrayHeader_h */
754340156/NQ_quanfu
allrichstore/UI/Common/GoodList/GoodsFilterView/C/GoodsFilterView.h
<filename>allrichstore/UI/Common/GoodList/GoodsFilterView/C/GoodsFilterView.h // // GoodsFilterView.h // allrichstore // // Created by 任强宾 on 16/11/16. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> //商品属性列表的协议 @protocol GoodsPropertyAble <NSObject> //是否全部展开 @property (nonatomic, assign) BOOL isOpened; //属性的名称 @property (nonatomic, strong) NSString *propertyName; //商品数组 @property (nonatomic, strong) NSArray *tagsArray; //选中的标签 @property (nonatomic, strong) NSMutableArray *seletedTagsArray; @end //商品筛选的协议 @protocol GoodsFilterAble <NSObject> @property (nonatomic, assign) CGFloat priceMin; //最小价格 @property (nonatomic, assign) CGFloat priceMax; //最大价格 @property (nonatomic, strong) NSArray<id<GoodsPropertyAble>> *propertyArray; //属性数组 @end typedef void (^CompleteBlock)(id<GoodsFilterAble> resultObject); @class GoodsFilterModel; @interface GoodsFilterView : UIView - (instancetype)initWithFrame:(CGRect)frame completeBlock:(CompleteBlock)completeBlock; - (instancetype)initWithFrame:(CGRect)frame model:(id<GoodsFilterAble>)model completeBlock:(CompleteBlock)completeBlock; @property (nonatomic, strong) id<GoodsFilterAble> model; @end @class TagCellButton; @interface TagCell : UICollectionViewCell @property (nonatomic, strong) TagCellButton *tagBtn; @end @interface TagCellButton : UIButton @end
754340156/NQ_quanfu
allrichstore/UI/Home/Main/V/ChoiceGoodsTitleView.h
// // ChoiceGoodsTitleView.h // allrichstore // // Created by zhaozhe on 16/10/31. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @protocol ChoiceGoodsTitleViewDelegate <NSObject> /** 点击按钮 */ - (void)ChoiceGoodsTitleViewDelegate_clickBtn:(UIButton * _Nonnull)sender; @end @interface ChoiceGoodsTitleView : UIScrollView /** * 初始化方法 * * @param titleArr 传入的title数组 * @param isScroll 是否滚动 * @param contentSize contentSize */ - (nonnull instancetype)initWithFrame:(CGRect)frame TitlesArr:( NSArray<NSString *> * _Nonnull )titleArr IsScroll:(BOOL)isScroll contentSize:(CGSize )contentSize; /** 代理*/ @property (nonatomic, weak) id <ChoiceGoodsTitleViewDelegate> titleDelegate; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Search/C/SearchVC.h
// // SearchVC.h // allrichstore // // Created by 任强宾 on 16/11/8. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @class SearchResultVC; @interface SearchVC : BaseVC //模态出self的控制器的 导航控制器 @property (nonatomic, strong) UINavigationController *frontNC; //搜索结果列表控制器 @property (nonatomic, strong) SearchResultVC *searchResultVC; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Animation/AnimationHeaders.h
// // AnimationHeaders.h // CommonLibrary // // Created by Alexi on 3/8/14. // Copyright (c) 2014 CommonLibrary. All rights reserved. // #ifndef CommonLibrary_AnimationHeaders_h #define CommonLibrary_AnimationHeaders_h #if kSupportADTransition #import "ADHeaders.h" #endif #if kSupportFTAnimation #import "FTAnimation.h" #endif #endif
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/MenuItem.h
// // MenuItem.h // CommonLibrary // // Created by Alexi on 14-1-16. // Copyright (c) 2014年 CommonLibrary. All rights reserved. // #import <Foundation/Foundation.h> #import "MenuAbleItem.h" @interface MenuItem : NSObject<MenuAbleItem> { @protected NSString *_title; UIImage *_icon; } @property (nonatomic, copy) NSString *title; //@property (nonatomic, copy) MenuAction action; @property (nonatomic, strong) UIImage *icon; @property (nonatomic, copy) MenuAction action; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/HorLineLabelView/HorLineLabelView.h
// // HorLineLabelView.h // StarStory // // Created by 任强宾 on 16/12/7. // Copyright © 2016年 NeiQuan. All rights reserved. // #import <UIKit/UIKit.h> @interface HorLineLabelView : UIView /** frame方式:初始化 @param frame frame @param text label的内容 @param textColor label的文字颜色 @param font label的字体 @param space 横线与文字之间的水平距离 */ - (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text textColor:(UIColor *)textColor font:(UIFont *)font space:(CGFloat)space; /** init方式:初始化 @param text label的内容 @param textColor label的文字颜色 @param font label的字体 @param space 横线与文字之间的水平距离 */ - (instancetype)initWithText:(NSString *)text textColor:(UIColor *)textColor font:(UIFont *)font space:(CGFloat)space; - (void)autoHeight; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/CommonView/CheckButton.h
// // CheckButton.h // CommonLibrary // // Created by Alexi on 14-1-19. // Copyright (c) 2014年 CommonLibrary. All rights reserved. // #if kSupportUnusedCommonView #import <UIKit/UIKit.h> #import "MenuButton.h" @class CheckButton; typedef void (^CheckButtonAction)(CheckButton *btn); @interface CheckButton : UIControl @property (nonatomic, strong) MenuButton *button; @property (nonatomic, strong) UILabel *title; @property (nonatomic, assign) BOOL isCheck; @property (nonatomic, copy) CheckButtonAction checkAction; - (instancetype)initNormal:(UIImage *)image selectedImage:(UIImage *)simage title:(NSString *)title checkAction:(CheckButtonAction)action; @end #endif
754340156/NQ_quanfu
allrichstore/UI/GoodsClass/Main/C/GoodsClassVC.h
// // GoodsClassVC.h // allrichstore // // Created by 任强宾 on 16/10/27. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" //左侧折叠菜单的宽度 #define kFoldMenuView_Width Adapted(90) //右侧collection的cell的边距 #define kCollectionCell_Margin Adapted(10) //右侧collection的宽度 #define kCollectionView_Width (kScreenW - kFoldMenuView_Width - 2 * kCollectionCell_Margin) //右侧collection的cell的宽度 #define kCollectionCell_Width (kCollectionView_Width) / 3.0 @interface GoodsClassVC : BaseVC @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/NavigationViewController.h
// // NavigationViewController.h // // // Created by Alexi on 13-7-3. // Copyright (c) 2013年 . All rights reserved. // #import <UIKit/UIKit.h> @interface NavigationViewController : UINavigationController @property (nonatomic, assign) BOOL asChild; @property (nonatomic, assign) CGSize childSize; //- (void)setNavigationBarAppearance; - (void)layoutSubviewsFrame; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Comment/V/CommentHeaderCell.h
// // CommentHeaderCell.h // allrichstore // // Created by zhaozhe on 16/11/3. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseTableViewCell.h" @protocol CommentHeaderCellDelegate <NSObject> /** 点击按钮 */ - (void)CommentHeaderCellDelegate_clickButtonWithButton:(UIButton *)sender Index:(NSInteger)index; @end @interface CommentHeaderCell : BaseTableViewCell /** 按钮数组 */ @property(nonatomic,strong) NSArray * btnArray; /** 代理*/ @property (nonatomic,weak) id <CommentHeaderCellDelegate> delegate; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Choose/V/GoodsDetailChooseView.h
<filename>allrichstore/UI/Common/GoodDetail/Choose/V/GoodsDetailChooseView.h // // GoodsDetailChooseView.h // allrichstore // // Created by zhaozhe on 16/11/17. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @class ChooseModel; @protocol GoodsDetailChooseViewDelegate <NSObject> /** 点击确定传出标签数组 */ - (void)GoodsDetailChooseViewDelegate_clickSureActionWithArray:(NSArray *)array; @end @interface GoodsDetailChooseView : UIView /** 代理*/ @property (nonatomic,weak) id <GoodsDetailChooseViewDelegate> delegate; /** 设置数据 */ - (void)setChooseModelWithModel:(ChooseModel *)model; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/ButtonsView.h
// // ButtonsView.h // AmapRoutePlanning // // Created by 任强宾 on 16/5/6. // Copyright © 2016年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> @class ButtonsView; @protocol ButtonsViewDelegate <NSObject> - (void)btsView:(ButtonsView *)btnView IsClicked:(UIButton *)btn atIndex:(NSInteger)index isRepeatTouch:(BOOL)isRepeatTouch; @end @interface ButtonsView : UIView @property (nonatomic, strong) NSMutableArray *btns; @property (nonatomic, strong) UIVisualEffectView *effectView; @property (nonatomic, assign) id<ButtonsViewDelegate> delegate; @property (nonatomic, assign) BOOL isFullWidth; //是否是在选中的状态下点击 @property (nonatomic, assign) BOOL isRepeatTouch; //按钮的个数 @property (nonatomic, assign) NSInteger btnCount; @property (nonatomic, assign) CGFloat btnWidth; //按钮的渲染颜色 @property (nonatomic, strong) UIColor *btnTintColor; //标题的字体 @property (nonatomic, strong) UIFont *titleFont; //滑动条的高度 @property (nonatomic, assign) CGFloat slideBarHeight; //滑动条的宽度 @property (nonatomic, assign) CGFloat slideBarWidth; //滑动条的颜色 @property (nonatomic, strong) UIColor *slideBarColor; //滑动条的上偏移 @property (nonatomic, assign) CGFloat slideBarOffSetH; //分割条的宽度 @property (nonatomic, assign) CGFloat splitWidth; //分割条的边距 @property (nonatomic, assign) CGFloat splitMargin; //分割条的颜色 @property (nonatomic, strong) UIColor *splitColor; //上下 @property (nonatomic, strong) UIImage *sliderImage; //自定义 标题型按钮 初始化方法 - (instancetype)initWithFrame:(CGRect)frame btnTitles:(NSArray *)btnTitles; //自定义 标题型按钮 初始化方法 - (instancetype)initWithFrame:(CGRect)frame btnTitles:(NSArray *)btnTitles titleColor:(UIColor *)titleColor; //自定义 标题型按钮 初始化方法 - (instancetype)initWithFrame:(CGRect)frame btnTitles:(NSArray *)btnTitles titleColor:(UIColor *)titleColor selectedColor:(UIColor *)seletedColor; //自定义 标题型按钮 初始化方法 - (instancetype)initWithFrame:(CGRect)frame btnTitles:(NSArray *)btnTitles titleColor:(UIColor *)titleColor selectedColor:(UIColor *)seletedColor titleFont:(UIFont *)titleFont; //自定义 图标型按钮 初始化方法 - (instancetype)initWithFrame:(CGRect)frame normalImages:(NSArray *)normalImages imageWidth:(CGFloat)imageWidth imageHeight:(CGFloat)imageHeight; //自定义 图标型按钮(单选中) 初始化方法 - (instancetype)initWithFrame:(CGRect)frame normalImages:(NSArray *)normalImages selectedImages:(NSArray *)selectedImages imageWidth:(CGFloat)imageWidth imageHeight:(CGFloat)imageHeight; //自定义 图标型按钮 初始化方法 - (instancetype)initWithFrame:(CGRect)frame btnTitles:(NSArray *)btnTitles titleColor:(UIColor *)titleColor normalImages:(NSArray *)normalImages style:(QButtonStyle)style space:(CGFloat)space; //自定义 图标型按钮(单选中) 初始化方法 - (instancetype)initWithFrame:(CGRect)frame btnTitles:(NSArray *)btnTitles titleColor:(UIColor *)titleColor selectedColor:(UIColor *)seletedColor normalImages:(NSArray *)normalImages selectedImages:(NSArray *)selectedImages style:(QButtonStyle)style space:(CGFloat)space; //选中图片按钮的触发事件 - (void)handleImageBtn:(UIButton *)sender; //选中标题按钮的触发事件 - (void)selectBtn:(UIButton *)sender; //根据按钮,计算按钮下边的滑条的frame - (CGRect)getSlideFrameUnderBtn:(UIButton *)btn; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIScrollView++/UIScrollViewCategoryHeader.h
// // UIScrollViewCategoryHeader.h // MeiYiQuan // // Created by 任强宾 on 16/9/29. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef UIScrollViewCategoryHeader_h #define UIScrollViewCategoryHeader_h #import "UIScrollView+Touch.h" //touch #import "UIScrollView+qbExtension.h" //设置inset #endif /* UIScrollViewCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/UI/Common/Shop/V/ShopCycleScrollCell.h
<reponame>754340156/NQ_quanfu // // ShopCycleScrollCell.h // allrichstore // // Created by 任强宾 on 16/11/10. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseCollectionViewCell.h" @interface ShopCycleScrollCell : BaseCollectionViewCell @property (nonatomic, strong) SDCycleScrollView *cycleScrollView; @property (nonatomic, strong) NSArray *activityArray; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Invoice/C/InvoiceVC.h
// // InvoiceVC.h // allrichstore // // Created by 任强宾 on 16/11/18. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" #import "InvoiceModel.h" //发票信息model typedef void(^InvoiceBlock)(InvoiceModel *invoiceModel); @interface InvoiceVC : BaseVC //发票block:返回一个下单方选择好的发票信息model - (instancetype)initWithModel:(InvoiceModel *)model invoiceBlock:(InvoiceBlock)invoiceBlock; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Main/V/secondView/GoodsDetailSecondView.h
<reponame>754340156/NQ_quanfu // // GoodsDetailSecondView.h // allrichstore // // Created by zhaozhe on 16/11/3. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> #import "GD_SecondTableView.h" @interface GoodsDetailSecondView : UIView /** <#注释#> */ @property(nonatomic,strong) UIScrollView * scrollView; /** 传入父控制器 */ @property(nonatomic,weak) UIViewController <UITableViewDelegate>* superVC; /** 装入tableView数组 */ @property(nonatomic,strong) NSMutableArray * viewsArray; @end
754340156/NQ_quanfu
allrichstore/UI/Register/C/SetupPwVC.h
<reponame>754340156/NQ_quanfu // // SetupPwVC.h // allrichstore // // Created by 任强宾 on 16/11/14. // Copyright © 2016年 allrich88. All rights reserved. // #import "ResetPwVC.h" @interface SetupPwVC : ResetPwVC @end
754340156/NQ_quanfu
allrichstore/UI/ShoppingCart/CreateOrder/M/CreateOrderModel.h
// // CreateOrderModel.h // allrichstore // // Created by zhaozhe on 16/11/16. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseModel.h" /***************** headerView ***********************/ #define kLabelH 20.0f #define kAddressW 286.0f #define kAddressFont Font_Mid /***************** 服务相关 ***********************/ #define kServiceH 45.0f #define kAmountCellH 90.0f @class MyOrderListModel,CreateOrderGoodsPrices,CreateOrderServiceModel; @interface CreateOrderModel : BaseModel /** 收货人 */ @property(nonatomic,copy) NSString * name; /** 收货人电话 */ @property(nonatomic,copy) NSString * phone; /** 收货人地址 */ @property(nonatomic,copy) NSString * address; /** 中间商品的数组 */ @property(nonatomic,strong) NSArray <MyOrderListModel *>* listGoods; /** 配送方式等服务信息 */ @property(nonatomic,strong) NSArray <CreateOrderServiceModel*>* servicesArray; /** 买家留言 */ @property(nonatomic,copy) NSString * buyerMessage; /** 可用积分 */ @property(nonatomic,strong) NSString * integral; /** 商品金额相关 */ @property(nonatomic,strong) CreateOrderGoodsPrices * prices; /******************** 计算属性 ************************/ /** 收货地址的高度 */ @property(nonatomic,assign) CGFloat addressH; /** headerViewH */ @property(nonatomic,assign) CGFloat headerViewH; /** section1高度 */ @property(nonatomic,assign) CGFloat section1H; /** section2高度 */ @property(nonatomic,assign) CGFloat section2H; /** 整体tableView的高度 */ @property(nonatomic,assign) CGFloat tableViewH; @end @interface CreateOrderServiceModel : BaseModel /** 服务的title(配送方式/发票信息/优惠券/现金券) */ @property(nonatomic,copy) NSString * title; /** 服务的数组 */ @property(nonatomic,strong) NSArray <NSString *>* serviceArray ; @end @interface CreateOrderGoodsPrices : BaseModel /** 商品金额 */ @property(nonatomic,copy) NSString * goodPrice; /** 运费 */ @property(nonatomic,copy) NSString * freight; /** 优惠 */ @property(nonatomic,copy) NSString * preference; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/KeyValue.h
<gh_stars>1-10 // // KeyValue.h // CommonLibrary // // Created by Alexi on 14-7-22. // Copyright (c) 2014年 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @protocol KeyValueAble; typedef void (^KeyValueAction)(id<KeyValueAble> menu); @protocol KeyValueAble <NSObject> @property (nonatomic, copy) NSString *key; @property (nonatomic, strong) id value; - (void)keyValueAction; @end @interface KeyValue : NSObject<KeyValueAble> @property (nonatomic, copy) NSString *key; @property (nonatomic, strong) id value; @property (nonatomic, copy) KeyValueAction action; + (instancetype)key:(NSString *)key value:(id)value; - (instancetype)initWithKey:(NSString *)key value:(id)value; - (instancetype)initWithKey:(NSString *)key value:(id)value action:(KeyValueAction)action; @end
754340156/NQ_quanfu
Pods/Target Support Files/FSCalendar/FSCalendar-umbrella.h
<filename>Pods/Target Support Files/FSCalendar/FSCalendar-umbrella.h #ifdef __OBJC__ #import <UIKit/UIKit.h> #endif #import "FSCalendar.h" #import "FSCalendarAnimator.h" #import "FSCalendarAppearance.h" #import "FSCalendarCalculator.h" #import "FSCalendarCell.h" #import "FSCalendarCollectionView.h" #import "FSCalendarCollectionViewLayout.h" #import "FSCalendarConstants.h" #import "FSCalendarDelegateProxy.h" #import "FSCalendarDynamicHeader.h" #import "FSCalendarExtensions.h" #import "FSCalendarHeaderView.h" #import "FSCalendarScopeHandle.h" #import "FSCalendarStickyHeader.h" #import "FSCalendarWeekdayView.h" FOUNDATION_EXPORT double FSCalendarVersionNumber; FOUNDATION_EXPORT const unsigned char FSCalendarVersionString[];
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIWindow++/UIWindowCategoryHeader.h
<gh_stars>1-10 // // UIWindowCategoryHeader.h // MeiYiQuan // // Created by 任强宾 on 16/9/29. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef UIWindowCategoryHeader_h #define UIWindowCategoryHeader_h #endif /* UIWindowCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Category/CommonCatetory.h
<filename>allrichstore/Tools/CommonLibrary/Category/CommonCatetory.h // // CommonCatetory.h // CommonLibrary // // Created by Alexi on 13-11-6. // Copyright (c) 2013年 ywchen. All rights reserved. // #ifndef CommonLibrary_CommonCatetory_h #define CommonLibrary_CommonCatetory_h #import "UIImage+TintColor.h" #import "UIImage+Alpha.h" #import "UIImage+Common.h" #import "NSDate+Common.h" #if kSupportNSDataCommon #import "NSData+Common.h" #import "NSData+CRC.h" #endif #import "NSString+Common.h" #if kSupportGTM64 #import "GTMDefines.h" #import "GTMBase64.h" #endif #import "UILabel+Common.h" #import "UIView+CustomAutoLayout.h" #if kSupportModifyFrame #import "UIView+ModifyFrame.h" #endif #import "NSString+RegexCheck.h" #if kSupportKeyChainHelper #import "KeyChainHelper.h" #endif #import "UIViewController+ChildViewController.h" #import "NSObject+CommonBlock.h" #if kSupportNSObjectKVOCategory #import "NSObject+KVOCategory.h" #endif #import "UIView+RelativeCoordinate.h" #if kSupportMKMapViewZoomLevel #import "MKMapView+ZoomLevel.h" #endif #import "UITextField+UITextField_Tip.h" #import "CLSafeMutableArray.h" #import "UIView+Glow.h" #if kSupportUIViewEffect #import "UIView+Effect.h" #endif #endif
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/SlideWindowVC.h
<filename>allrichstore/Tools/QBClass/QBViewClass/SlideWindowVC.h<gh_stars>1-10 // // SlideWindowVC.h // allrichstore // // Created by 任强宾 on 16/11/15. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, SlideType) { SlideTypeFromCenter = 0, SlideTypeFromTop, SlideTypeFromLeft, SlideTypeFromBottom, SlideTypeFromRight }; @interface SlideWindowVC : UIViewController { SlideType _slideType; UIView *_windowView; } @property (nonatomic, assign) SlideType slideType; @property (nonatomic, strong) UIView *windowView; @property (nonatomic, assign) CGFloat windowViewWidth; @property (nonatomic, assign) CGFloat windowViewHeight; - (instancetype)initWithSlideType:(SlideType)slideType; //消失筛选面板 - (void)dismissWindowViewCompletion:(void(^)())completion; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIImage++/UIImageCategoryHeader.h
<filename>allrichstore/Tools/QBClass/QBCategory/UIImage++/UIImageCategoryHeader.h // // UIImageCategoryHeader.h // MeiYiQuan // // Created by 任强宾 on 16/9/29. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef UIImageCategoryHeader_h #define UIImageCategoryHeader_h #import "UIImage+Common.h" //通用 #import "UIImage+Scale.h" //比例 #import "UIImage+RoundedCorner.h" //圆角 #import "UIImage+Blurry.h" #endif /* UIImageCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/UI/Home/Main/V/HomeSection_RecommendHeader.h
<reponame>754340156/NQ_quanfu<gh_stars>1-10 // // HomeSection_RecommendHeader.h // allrichstore // // Created by 任强宾 on 16/11/2. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @interface HomeSection_RecommendHeader : UICollectionReusableView @property (nonatomic, copy) NSString *title; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodList/GoodsFilterView/V/PriceLimitCell.h
<gh_stars>1-10 // // PriceLimitCell.h // allrichstore // // Created by 任强宾 on 16/11/16. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @interface PriceLimitCell : UICollectionViewCell @property (nonatomic, strong) UITextField *leftTF; @property (nonatomic, strong) UITextField *rightTF; @end
754340156/NQ_quanfu
allrichstore/UI/Home/Main/V/HotSectionHeader.h
// // HotSectionHeader.h // allrichstore // // Created by 任强宾 on 16/11/01. // Copyright © 2016年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> @interface HotSectionHeader : UICollectionReusableView @property (nonatomic, strong) UILabel *leftLabel; @property (nonatomic, strong) UIImageView *leftImgView; @property (nonatomic, strong) QButton *rightBtn; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Main/M/GoodsDetailModel.h
// // GoodsDetailModel.h // allrichstore // // Created by zhaozhe on 16/11/1. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseModel.h" @class GoodsDetailStoreModel,GoodsDetailEvaluativeModel,GoodsDetailActiveModel,GoodsDetailImageModel,GoodsDetailChooseModel; @interface GoodsDetailModel : BaseModel /** 付款人数 */ @property(nonatomic,copy) NSString * g_salenumber; /** 商品名 */ @property(nonatomic,copy) NSString * g_name; /** 轮播图片数组 */ @property(nonatomic,strong) NSArray <GoodsDetailImageModel *>* image; /** 商品id */ @property(nonatomic,copy) NSString * goodid; /** 价格 */ @property(nonatomic,copy) NSString * g_price; /** 地址 */ @property(nonatomic,copy) NSString * g_site; /** 快递 */ @property(nonatomic,copy) NSString * g_freight; /** 评价数 */ @property(nonatomic,copy) NSString * g_commentcount; /** 好评度 */ @property(nonatomic,copy) NSString * g_famerate; /** 是否收藏 */ @property(nonatomic,copy) NSString * collectstate; /** 活动数组 */ @property(nonatomic,strong) NSArray <GoodsDetailActiveModel *>* coupon; /** 评论数组 */ @property(nonatomic,strong) NSArray <GoodsDetailEvaluativeModel*>* comment; /** 店铺数组 */ @property(nonatomic,strong) NSArray <GoodsDetailStoreModel *>* shop; /** 规格属性数组 */ @property(nonatomic,strong) NSArray <GoodsDetailChooseModel *>*property; /**************** 计算属性 ****************/ /** 活动整体的高度 */ @property(nonatomic,assign) CGFloat active_height; /** 评价整体的高度 */ @property(nonatomic,assign) CGFloat evaluative_height; /** 推荐店铺整体高度 */ @property(nonatomic,assign) CGFloat store_height; @end @interface GoodsDetailActiveModel : BaseModel // 活动model /** 开始时间 */ @property(nonatomic,copy) NSString * c_begintime; /** 结束时间 */ @property(nonatomic,copy) NSString * c_endtime; /** 减多少 */ @property(nonatomic,copy) NSString * c_costmin; /** 满减 */ @property(nonatomic,copy) NSString * c_costmax; /** id */ @property(nonatomic,copy) NSString * coupon; @end @interface GoodsDetailEvaluativeModel : BaseModel //评论model /** 星级 */ @property(nonatomic,copy) NSString * c_fame; /** 评论id */ @property(nonatomic,copy) NSString * cmid; /** 创建时间 */ @property(nonatomic,copy) NSString * c_createtime; /** 评论人的头像 */ @property(nonatomic,copy) NSString * u_headimage; /** 评论昵称 */ @property(nonatomic,copy) NSString * u_nickname; /** 评论内容 */ @property(nonatomic,copy) NSString * c_content; /** 点赞数量 */ @property(nonatomic,copy) NSString * c_likenumber; /** 二级评论数量 */ @property(nonatomic,copy) NSString * c_replynumber; /** 图片数组 */ @property(nonatomic,strong) NSArray <GoodsDetailImageModel *>* commentimage; /**************** 计算属性 ****************/ /** 当前评论的高度 */ @property(nonatomic,assign) CGFloat evaluative_height; @end @interface GoodsDetailStoreModel : BaseModel // 店铺的model /** 头像 */ @property(nonatomic,copy) NSString * s_headimage; /** 店铺名 */ @property(nonatomic,copy) NSString * s_name; /** 店铺评分 */ @property(nonatomic,copy) NSString * s_score; @end @interface GoodsDetailImageModel : NSObject /** url */ @property(nonatomic,copy) NSString * url; @end @interface GoodsDetailChooseModel : NSObject /** 属性名 */ @property(nonatomic,copy) NSString * gpv_property; /** 属性值 */ @property(nonatomic,copy) NSString * gpv_propertyvalue; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Shop/C/ShopHome_newGoodsVC.h
<gh_stars>1-10 // // ShopHome_newGoodsVC.h // allrichstore // // Created by 任强宾 on 16/11/11. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface ShopHome_newGoodsVC : BaseVC @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIFont++/UIFont+QBFont.h
// // UIFont+QBFont.h // PRJ_CreditRecruit // // Created by 任强宾 on 16/5/17. // Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved. // #import <UIKit/UIKit.h> @interface UIFont (QBFont) //系统字体 + (UIFont *)qbSystemFontOfSize:(CGFloat)fontSize; //自定义字体(通过沙盒路径取出字体) + (UIFont *)customFontWithName:(NSString *)name size:(CGFloat)size; @end
754340156/NQ_quanfu
allrichstore/Other/Common.h
<reponame>754340156/NQ_quanfu<filename>allrichstore/Other/Common.h // // Common.h // FullRich // // Created by 任强宾 on 16/10/26. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef Common_h #define Common_h #import "AppDelegate.h" //APP代理 #import "BaseVC.h" //视图控制器基类 #import "BaseNC.h" //导航控制器基类 #import "BaseTableViewCell.h" //TabelViewCell基类 #import "BaseCollectionViewCell.h" //CollectionViewCell基类 #endif /* Common_h */
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/QBPickerView.h
// // QBPickerView.h // allrichstore // // Created by 任强宾 on 16/12/11. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, QBPickerViewType) { QBPickerViewTypeNormal = 0, QBPickerViewTypeHaveBtn }; typedef void(^PickerActionBlock)(NSArray *selectedArray); @protocol QBPickerViewAble <NSObject> @optional - (NSString *)pickerTitle; - (NSArray *)subArray; @end @interface QBPickerView : UIView <UIPickerViewDelegate, UIPickerViewDataSource> //自定义初始化方法,内部事件通过block传递出来 - (instancetype)initWithStyle:(QBPickerViewType)style dataArray:(NSArray *)dataArray columnCount:(NSInteger)columnCount action:(PickerActionBlock)action; //设置顶部的按钮Bar的颜色 和 按钮标题的颜色 - (void)setBtnBarColor:(UIColor *)barColor btnTitleColor:(UIColor *)btnTitleColor; //显示 - (void)show; //隐藏 - (void)dismiss; //绑定默认值 - (void)selectIndexArray:(NSArray *)indexArray; @property (nonatomic, strong) UIView *bgView; @end
754340156/NQ_quanfu
allrichstore/UI/Common/ExpressAddress/C/AddressListVC.h
<reponame>754340156/NQ_quanfu // // AddressListVC.h // allrichstore // // Created by 任强宾 on 16/11/22. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface AddressListVC : BaseVC //把选中的地址model通过block返回 - (instancetype)initWithBlock:(ObjectBlock)addressBlock; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/CustomCell/TitleAndPromptCell.h
<filename>allrichstore/Tools/QBClass/QBViewClass/CustomCell/TitleAndPromptCell.h // // TitleAndPromptCell.h // MeiYiQuan // // Created by 任强宾 on 16/10/5. // Copyright © 2016年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, TitleAndPromptCellType) { TitleAndPromptCellTypeInput = 0, TitleAndPromptCellTypeSelect }; @interface TitleAndPromptCell : UITableViewCell /** * @brief 左边标题 右边当为空时显示色较浅的提示语 有值时显示内容 * * @param curkey 左边标题 * @param curvalue 右边内容 * @param blankvalue 提示语 * @param showLine 是否显示下划线 * @param cellType CELL的类型 */ - (void)setCellDataKey:(NSString *)curkey curValue:(NSString *)curvalue blankValue:(NSString *)blankvalue isShowLine:(BOOL)showLine cellType:(TitleAndPromptCellType)cellType; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Shop/C/ShopHome_allGoodsVC.h
<gh_stars>1-10 // // ShopHome_allGoodsVC.h // allrichstore // // Created by 任强宾 on 16/11/11. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface ShopHome_allGoodsVC : BaseVC @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/FoldMenuView/FoldMenuView.h
<reponame>754340156/NQ_quanfu // // FoldMenuView.h // allrichstore // // Created by 任强宾 on 16/11/3. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @class FoldMenuView; //配置参数的block typedef void(^FoldMenuConfigureBlock)(FoldMenuView *foldMenuView); //选中的block typedef void(^FoldMenuActionBlock)(NSIndexPath *selectedIndexPath); @protocol FoldMenuViewDelegate <NSObject> - (void)foldMenuViewTableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath; @end //子菜单协议 @protocol SubMenuAble <NSObject> @required //子菜单标题 @property (nonatomic, copy) NSString *subTitle; //子菜单是否处于打开状态 @property (nonatomic, assign) BOOL isSubOpened; //装子菜单标题的数组 @property (nonatomic, strong) NSMutableArray<NSString *> *twoLevelArray; @end //折叠菜单model必须服从的协议 @protocol FoldMenuAble <NSObject> @required //装子菜单的数组 @property (nonatomic, strong) NSMutableArray<id<SubMenuAble>> *oneLevelArray; @end @class FoldMenuModel; @interface FoldMenuView : UIView //一级高度 @property (nonatomic, assign) CGFloat oneLevelHeight; //二级高度 @property (nonatomic, assign) CGFloat twoLevelHeight; //一级菜单的默认背景颜色 @property (nonatomic, strong) UIColor *bgColor_normal_oneLevel; //一级菜单的选中背景颜色 @property (nonatomic, strong) UIColor *bgColor_selected_oneLevel; //一级菜单的默认文字颜色 @property (nonatomic, strong) UIColor *textColor_normal_oneLevel; //一级菜单的选中文字颜色 @property (nonatomic, strong) UIColor *textColor_selected_oneLevel; //二级菜单的默认背景颜色 @property (nonatomic, strong) UIColor *bgColor_normal_twoLevel; //二级菜单的选中背景颜色 @property (nonatomic, strong) UIColor *bgColor_selected_twoLevel; //二级菜单的默认文字颜色 @property (nonatomic, strong) UIColor *textColor_normal_twoLevel; //二级菜单的选中文字颜色 @property (nonatomic, strong) UIColor *textColor_selected_twoLevel; //是否是单展开 @property (nonatomic, assign) BOOL isSingleOpen; @property (nonatomic, assign) BOOL isSelectedWhenOpen; @property (nonatomic, strong) id<FoldMenuAble> menuModel; @property (nonatomic, strong) UITableView *tableView; @property (nonatomic, assign) id<FoldMenuViewDelegate> delegate; /** 传入model block形式 @param model 菜单的model @param configure 配置参数 @param action 选中的触发事件 */ - (instancetype)initWithFrame:(CGRect)frame model:(id<FoldMenuAble>)model configure:(FoldMenuConfigureBlock)configure action:(FoldMenuActionBlock)action; /** 传入model delegate形式 @param model 菜单的model @param configure 配置参数 @param delegate 代理对象 */ - (instancetype)initWithFrame:(CGRect)frame model:(id<FoldMenuAble>)model configure:(FoldMenuConfigureBlock)configure delegate:(id<FoldMenuViewDelegate>)delegate; /** 传入model block形式 @param model 菜单的model @param configure 配置参数 @param action 选中的触发事件 */ - (instancetype)initWithModel:(id<FoldMenuAble>)model configure:(FoldMenuConfigureBlock)configure action:(FoldMenuActionBlock)action; /** 传入model delegate形式 @param model 菜单的model @param configure 配置参数 @param delegate 代理对象 */ - (instancetype)initWithModel:(id<FoldMenuAble>)model configure:(FoldMenuConfigureBlock)configure delegate:(id<FoldMenuViewDelegate>)delegate; /** block形式 @param configure 配置参数 @param action 选中的触发事件 */ - (instancetype)initWithConfigure:(FoldMenuConfigureBlock)configure action:(FoldMenuActionBlock)action; /** delegate形式 @param configure 配置参数 @param delegate 代理对象 */ - (instancetype)initWithConfigure:(FoldMenuConfigureBlock)configure delegate:(id<FoldMenuViewDelegate>)delegate; - (instancetype)initWithFrame:(CGRect)frame; - (instancetype)init; @end @interface SubMenuModel : NSObject<SubMenuAble> @property (nonatomic, copy) NSString *title; @property (nonatomic, assign) BOOL isOpened; @property (nonatomic, strong) NSMutableArray<NSString *> *subMenuArray; @end @interface FoldMenuModel : NSObject<FoldMenuAble> @property (nonatomic, strong) NSMutableArray<id< SubMenuAble>> *menuArray; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/CommonView/EGORefreshTableHeaderView.h
<filename>allrichstore/Tools/CommonLibrary/CommonView/EGORefreshTableHeaderView.h<gh_stars>1-10 // // EGORefreshTableHeaderView.h // Demo // // Created by <NAME> on 10/14/09October14. // Copyright 2009 enormego. All rights reserved. // //修改人:禚来强 iphone开发qq群:79190809 邮箱:<EMAIL> // #if kSupportUnusedCommonView #import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> typedef enum{ EGOOPullRefreshPulling = 0, EGOOPullRefreshNormal, EGOOPullRefreshLoading, } EGOPullRefreshState; /***************************************************************************/ @class EGORefreshTableHeaderView; //@class EGODownRefreshTableHeaderView; @protocol EGORefreshTableHeaderDelegate<NSObject> @required - (void)egoRefreshTableHeaderDidTriggerRefresh:(EGORefreshTableHeaderView*)view; //- (void)egoDownRefreshTableHeaderDidTriggerRefresh:(EGODownRefreshTableHeaderView*)view; - (BOOL)egoRefreshTableHeaderDataSourceIsLoading:(EGORefreshTableHeaderView*)view; //- (BOOL)egoDownRefreshTableHeaderDataSourceIsLoading:(EGODownRefreshTableHeaderView*)view; @optional - (NSDate *)egoRefreshTableHeaderDataSourceLastUpdated:(EGORefreshTableHeaderView*)view; //- (NSDate*)egoDownRefreshTableHeaderDataSourceLastUpdated:(EGODownRefreshTableHeaderView*)view; @end /***************************************************************************/ @interface EGORefreshTableHeaderView : UIView { EGOPullRefreshState _state; UILabel *_lastUpdatedLabel; UILabel *_statusLabel; // CALayer *_arrowImage; UIActivityIndicatorView *_activityView; BOOL _isLoadOver; } @property (nonatomic, DelegateAssign) id<EGORefreshTableHeaderDelegate> delegate; @property (nonatomic, assign) BOOL isLoadOver; - (void)refreshLastUpdatedDate; - (void)egoRefreshScrollViewDidScroll:(UIScrollView *)scrollView; - (void)egoRefreshScrollViewDidEndDragging:(UIScrollView *)scrollView; - (void)egoRefreshScrollViewDataSourceDidFinishedLoading:(UIScrollView *)scrollView; @end ///***************************************************************************/ // //@interface EGODownRefreshTableHeaderView : UIView { // // id _delegate; // EGOPullRefreshState _state; // UILabel *_lastUpdatedLabel; // UILabel *_statusLabel; // CALayer *_arrowImage; // UIActivityIndicatorView *_activityView; // // NSString *_lastRefreshKey; // // //} // //@property (nonatomic, assign) id <EGORefreshTableHeaderDelegate> delegate; //@property (nonatomic, copy) NSString *lastRefreshKey; // //- (void)refreshLastUpdatedDate; //- (void)egoRefreshScrollViewDidScroll:(UIScrollView *)scrollView; //- (void)egoRefreshScrollViewDidEndDragging:(UIScrollView *)scrollView; //- (void)egoRefreshScrollViewDataSourceDidFinishedLoading:(UIScrollView *)scrollView; // //- (void)setState:(EGOPullRefreshState)aState; // //- (EGOPullRefreshState)getState; //@end // ///***************************************************************************/ #endif
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBClassMethod/QBClassMethodHeader.h
<reponame>754340156/NQ_quanfu<filename>allrichstore/Tools/QBClass/QBClassMethod/QBClassMethodHeader.h // // QBClassMethodHeader.h // PRJ_CreditRecruit // // Created by 任强宾 on 16/6/27. // Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved. // #ifndef QBClassMethodHeader_h #define QBClassMethodHeader_h #import "QBComputeManger.h" //本地数据计算, 处理类 #import "QBJugleManger.h" //判断类 #import "QBShowMessage.h" //消息展示类 #import "QBRequestManger.h" //数据请求类 #import "QBGet.h" //获取本地信息类 #import "QBShowAlert.h" //展示alertView #endif /* QBClassMethodHeader_h */
754340156/NQ_quanfu
allrichstore/Library/SGPickerView_DatePicker/SGPickerView.h
// // SGPickerView.h // SGPickerView_DatePickerExample // // Created by Sorgle on 16/9/23. // Copyright © 2016年 Sorgle. All rights reserved. // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // // // - - 如在使用中, 遇到什么问题或者有更好建议者, 请于<EMAIL>邮箱联系 - - - - - // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - GitHub下载地址 https://github.com/kingsic/SGPickerView_DatePicker.git - - // // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // #import <UIKit/UIKit.h> typedef enum : NSUInteger { SGPickerViewTypeBottom, SGPickerViewTypeCenter, } SGPickerViewType; typedef void(^MyBlock)(NSString *); @interface SGPickerView : UIView /** SGPickerViewType */ @property (nonatomic, assign) SGPickerViewType pickerViewType; /** 用于传值 */ @property (copy, nonatomic) MyBlock locationMessage; - (void)show; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/QBCategoryHeader.h
// // QBCategoryHeader.h // PRJ_CreditRecruit // // Created by 任强宾 on 16/6/27. // Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved. // #ifndef QBCategoryHeader_h #define QBCategoryHeader_h #import "NSObject+extend.h" //NSObject扩展 #import "UIImageCategoryHeader.h" //UIImage分类 #import "UIViewCategoryHeader.h" //UIView分类 #import "UIScrollViewCategoryHeader.h" //UIScrollView分类 #import "UILabelCategoryHeader.h" //UILabel分类 #import "UIButtonCategoryHeader.h" //UIButton分类 #import "UITextFieldCategoryHeader.h" //UITextField分类 #import "UINavigationControllCategoryHeader.h" #import "UIViewControllerCategrayHeader.h" #import "NSStringCategoryHeader.h" //NSString分类 #import "NSArrayCategoryHeader.h" //NSArray分类 #import "NSDictionaryCategoryHeader.h"//NSDictionary分类 #import "NSDateCategoryHeader.h" //NSDate分类 #import "UIWindowCategoryHeader.h" //UIWindow分类 #import "UIFontCategoryHeader.h" //UIFont分类 #import "UIColorCategoryHeader.h" //UIColor分类 #import "UIView+QBAdditions.h" //获取frame值简写 #import "UIImage+Scale.h" //图片缩放处理 #import "NSString+QBGet.h" //字符串处理 #import "NSString+Base64.h" //字符串Base64处理 #import "NSArray+QBArray.h" //数组处理 #import "UIFont+QBFont.h" //自定义字体 #import "UIColor+QBrgb.h" //颜色简写 #import "UIView+SubView.h" //UIView子视图 #import "UIView+OwnVC.h" //UIView的控制器 #import "UILabel+Compute.h" //计算字体宽高 #import "UIScrollView+Touch.h" //处理scrollView拦截touch事件 #import "UIAlertController+Block.h" #endif /* QBCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/Base/C/BaseNC.h
// // BaseNC.h // LiveTest // // Created by 任强宾 on 16/9/16. // Copyright © 2016年 NeiQuan. All rights reserved. // #import <UIKit/UIKit.h> @interface BaseNC : UINavigationController - (instancetype)initWithBackBtnStyleRootViewController:(UIViewController *)rootViewController; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Category/UIView+Glow.h
// // UIView+Glow.h // // // Created by James on 11/4/14. // Copyright (c) 2014 James. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (Glow) @property (nonatomic, readonly) UIView *glowView; - (void) glowOnce; - (void) glowOnceAtLocation:(CGPoint)point inView:(UIView *)view; - (void) startGlowing; - (void) startGlowingWithColor:(UIColor *)color intensity:(CGFloat)intensity; - (void) startGlowingWithColor:(UIColor*)color fromIntensity:(CGFloat)fromIntensity toIntensity:(CGFloat)toIntensity repeat:(BOOL)repeat; - (void) startGlowingWithColor:(UIColor*)color fromIntensity:(CGFloat)fromIntensity toIntensity:(CGFloat)toIntensity repeat:(BOOL)repeat duration:(CGFloat)dur; - (void) stopGlowing; @end
754340156/NQ_quanfu
allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderScrollView.h
// // CreateOrderScrollView.h // allrichstore // // Created by zhaozhe on 16/11/16. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @class CreateOrderModel; @protocol CreateOrderScrollViewdelegate <NSObject> /** 点击头部选择收货地址 */ - (void)CreateOrderScrollViewdelegate_clickHeaderView; /** 点击服务选项 */ - (void)CreateOrderScrollViewdelegate_clickServiceCellWithIndexPath:(NSIndexPath *)indexPath; /** 点击开关 */ - (void)CreateOrderScrollViewdelegate_clickSwitchWithIsSelected:(BOOL)isSelected; @end @interface CreateOrderScrollView : UIScrollView /** model */ @property(nonatomic,strong) CreateOrderModel * model; /** 代理*/ @property (nonatomic,weak) id <CreateOrderScrollViewdelegate> CO_delegate; @end
754340156/NQ_quanfu
allrichstore/UI/GoodsClass/Main/M/GoodClassTwoLevelModel.h
// // GoodClassTwoLevelModel.h // allrichstore // // Created by 任强宾 on 16/11/30. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseModel.h" #import "GoodsClassModel.h" //二三级商品分类model @interface GoodClassTwoLevelModel : BaseModel @property (nonatomic, copy) NSString *cType; @property (nonatomic, strong) NSString *cName; @property (nonatomic, strong) NSArray<GoodsClassModel *> *thrid; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Shop/C/ShopHomeVC.h
<filename>allrichstore/UI/Common/Shop/C/ShopHomeVC.h // // ShopHomeVC.h // allrichstore // // Created by 任强宾 on 16/11/10. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface ShopHomeVC : BaseVC @property (nonatomic, copy) NSString *shopId; @property (nonatomic, copy) NSString *shopName; @property (nonatomic, copy) NSString *shopHeadimage; @property (nonatomic, copy) NSString *shopScore; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Main/C/GoodsDetailVC.h
// // GoodsDetailVC.h // allrichstore // // Created by zhaozhe on 16/11/1. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface GoodsDetailVC : BaseVC /** 商品id */ @property(nonatomic,copy) NSString *goodId; @end
754340156/NQ_quanfu
allrichstore/UI/Home/Message/C/Message_SystemMsgDetailVC.h
// // Message_SystemMsgDetailVC.h // allrichstore // // Created by 任强宾 on 16/11/15. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface Message_SystemMsgDetailVC : BaseVC @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBClassMethod/QBGet.h
// // QBGet.h // RQBClass // // Created by apple on 15/1/12. // Copyright © 2015年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> @interface QBGet : NSObject //获取当前系统: 版本号 + (double)getCurrentIOS; //获取数据里面的字符串, 按顺序拼接后返回 + (NSString *)getMergeStringByStringArray:(NSArray *)array; //获取一个字符串的所有子串, 返回字串数组 + (NSArray *)getSubStringsArrayByString:(NSString *)string; //出除一个数组的子数组相同的字符串元素 + (NSArray *)getNotRepeatSubArrayByArray:(NSArray *)array notRepeatArray:(NSArray *)notRepeatArray; //通过日期 获取生肖 + (NSString *)getPropertyByDate:(NSDate *)date; //将CGFloat基本数据类型 --> 转换为的字符串(去小数点) + (NSString *)getStringByFloatCutDecimal:(CGFloat)floatNum; //将CGFloat基本数据类型 --> 转换为的NSInteger + (NSInteger)getIntegerByFloatCutDecimal:(CGFloat)floatNum; //将CGFloat基本数据类型 --> 转换为的去小数点的CGFloat + (CGFloat)getIntFloatByFloatCutDecimal:(CGFloat)floatNum; //获取一个小数的整数(4舍5入) + (NSInteger)getIntegerByDoubel:(CGFloat)floatNum; //获取一个小数的(4舍5入)后去与整数相等的小数 + (CGFloat)getIntFloatByFloat:(CGFloat)floatNum; @end
754340156/NQ_quanfu
allrichstore/UI/Common/ExpressAddress/V/AddressEditCell.h
// // AddressEditCell.h // allrichstore // // Created by 任强宾 on 16/11/23. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseTableViewCell.h" @interface AddressEditCell : BaseTableViewCell @property (nonatomic, strong) QButton *addressBtn; @property (nonatomic, strong) UITextField *rightTF; @end
754340156/NQ_quanfu
allrichstore/UI/Login/C/ResetPwVC.h
// // ResetPwVC.h // allrichstore // // Created by 任强宾 on 16/11/14. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface ResetPwVC : BaseVC //新密码输入框 @property (nonatomic, strong) UITextField *pw1TF; //确认新密码输入框 @property (nonatomic, strong) UITextField *pw2TF; //暴露给子类(方便设置密码继承时修改) @property (nonatomic, strong) NSString *btnTitle; //账号 @property (nonatomic, copy) NSString *account; //下一步的网络请求(暴露接口,子类重写接口) - (void)requestNextstep; @end
754340156/NQ_quanfu
allrichstore/Other/Log.h
<gh_stars>1-10 // // Log.h // FullRich // // Created by 任强宾 on 16/10/26. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef Log_h #define Log_h //让NSLog在debug模式下有效, release模式下失效 #ifdef DEBUG #define NSLog(...) NSLog(__VA_ARGS__) #else #define NSLog(...) #endif //我的订单页面的枚举 typedef NS_ENUM(NSInteger, MyOrderVCStyle) { MyOrderVCWaitPay, //待付款 MyOrderVCWaitSend, //待发货 MyOrderVCWaitAccept, //待收货 MyOrderVCWaitComment,//待评价 MyOrderVCFinish//已完成 }; #endif /* Log_h */
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBClassMethod/QBJugleManger.h
<reponame>754340156/NQ_quanfu<filename>allrichstore/Tools/QBClass/QBClassMethod/QBJugleManger.h // // QBJugleManger.h // RQBClass // // Created by apple on 15/1/12. // Copyright © 2015年 任强宾. All rights reserved. // #import <Foundation/Foundation.h> /* 本类用于判断 */ @interface QBJugleManger : NSObject //判断输入框中得文本是否为手机号 + (BOOL)isMobileNumber:(NSString *)mobileNum; //判断字符串是否为邮箱 + (BOOL)isEmailAddress:(NSString *)address; //判断字符串是否为身份证号 + (BOOL)isPersonIDCardNumber:(NSString *)personID; //判断字符串是否是只能精确到小数点后两位, 且不超过999999.99 + (BOOL)isFloatPrice:(NSString *)priceStr; //判断字符串是否与数组中的第几个元素相等,不相等返回999 + (NSInteger )string:(NSString *)string haveEqualByArray:(NSArray *)array; //判断手机是否处于静音模式 + (BOOL)silenced; #pragma mark - 系统权限 //检测相册权限 + (BOOL)checkPhotoLibraryAuthorizationStatus; //检测拍照权限 + (BOOL)checkCameraAuthorizationStatus; //检测麦克风权限,仅支持iOS7.0以上系统 + (BOOL)checkMicAuthorizationStatus; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Share/ShareView.h
<reponame>754340156/NQ_quanfu // // ShareView.h // YunSuLive // // Created by 任强宾 on 16/7/7. // Copyright © 2016年 22. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSUInteger, ShareStyle) { ShareStyleWeb = 0, //分享网页 ShareStyleImage = 1, //分享图片 ShareStyleVoide = 2 //分享视频 }; #pragma mark - 使用shareView的model必须服从的协议 @protocol ShareViewModelAble <NSObject> @optional //分享网页的url @property (nonatomic, copy) NSString *shareWebUrl; //分享图片的url @property (nonatomic, copy) NSString *shareImageUrl; //分享视频的url @property (nonatomic, copy) NSString *shareVoideUrl; @end @protocol ShareViewDelegate <NSObject> @optional /** * 点击分享平台时调用 * * @param index 选中平台的索引 */ - (void)didSelectedPlatformIndex:(NSInteger)index; //取消分享时调用 - (void)cancelShare; @end @interface ShareView : UIView /** shareView初始化方法 @param shareArray UM分享平台标识 @param style 分享的类型 @param shareModel 装载分享内容的model @param backVC 分享成功或失败之后返回的控制器 */ - (instancetype)initShareArray:(NSArray *)shareArray style:(ShareStyle)style shareModel:(id<ShareViewModelAble>)shareModel backVC:(UIViewController *)backVC; //弹出分享面板 - (void)show; @property (nonatomic, strong) UIViewController *viewController; @property (nonatomic, assign) id<ShareViewDelegate>delegate; //分享的类型 @property (nonatomic, assign) ShareStyle shareType; @end #pragma mark - 分享面板上的cell @interface ShareCell : UICollectionViewCell //给cell传上数据 - (void)passDataWithModel:(NSString *)model; //cell分享的平台的字符串标识 @property (nonatomic, strong) NSString *platformIdentifier; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/NSDate++/NSDateCategoryHeader.h
// // NSDateCategoryHeader.h // MeiYiQuan // // Created by 任强宾 on 16/9/29. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef NSDateCategoryHeader_h #define NSDateCategoryHeader_h #import "NSDate+QBGet.h" //日期 #import "NSDateFormatter+QBGet.h" //日期格式 #endif /* NSDateCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/UI/Login/C/ForgetPwVC.h
<filename>allrichstore/UI/Login/C/ForgetPwVC.h // // ForgetPwVC.h // allrichstore // // Created by 任强宾 on 16/11/14. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @class RegisterVC; @interface ForgetPwVC : BaseVC //所有登录控件的父视图(设置弹性方便) @property (nonatomic, strong) UIScrollView *bgScrollView; //账号输入框 @property (nonatomic, strong) UITextField *accountTF; //验证码输入框 @property (nonatomic, strong) UITextField *verifiCodeTF; //下一步按钮的名称 @property (nonatomic, copy) NSString *nextBtnTitle; //下一步的网络请求(暴露接口,方便注册页面继承时重写接口) - (void)requestNextstep; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/GuidePagesHelper.h
// // GuidePagesHelper.h // MeiYiQuan // // Created by 任强宾 on 16/10/4. // Copyright © 2016年 任强宾. All rights reserved. // #import <Foundation/Foundation.h> #import "GuidePagesView.h" @interface GuidePagesHelper : NSObject + (instancetype)shareInstance; + (void)showGuidePagesView:(NSArray *)imageArray; @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIImageView++/UIImageViewHeader.h
// // UIImageViewHeader.h // MeiYiQuan // // Created by 任强宾 on 16/10/15. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef UIImageViewHeader_h #define UIImageViewHeader_h #import "UIImageView+Blurry.h" //图片模糊 #endif /* UIImageViewHeader_h */
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBUIClass/NoEventView.h
// // NoEventView.h // LiveTest // // Created by 任强宾 on 16/9/19. // Copyright © 2016年 NeiQuan. All rights reserved. // #import <UIKit/UIKit.h> @interface NoEventView : UIView //设置边框(可设置参数:宽度,颜色) - (void)setRimWithBorderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Animation/ADTransition/Flip/UITableViewController+ADFlipTransition.h
<gh_stars>1-10 /* * The MIT License (MIT) * * Copyright (c) 2012-2013 <NAME>. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #if kSupportADTransition #import <UIKit/UIKit.h> /** * A convenience category on UITableViewController to easily present and dismiss * using ADFlipTransition. */ @interface UITableViewController (ADFlipTransition) /** * Present a view controller modally from the current view controller using a * flip animation, beginning from a UITableViewCell. * @param destinationViewController The view controller to present * @param indexPath The location of the cell to flip from. * @param completion A block to run on completion. Can be NULL. */ - (void)flipToViewController:(UIViewController *)destinationViewController fromItemAtIndexPath:(NSIndexPath *)indexPath withCompletion:(void (^)(void))completion; /** * Present a view controller modally from the current view controller using a * flip animation, beginning from a UITableViewCell. * @param destinationViewController The view controller to present * @param indexPath The location of the cell to flip from. * @param sourceSnapshot The placeholder image for the source view. Specifying * nil will take a snapshot just before the animation. * @param destinationSnapshot The placeholder image for the destination view. * Specifying nil will take a snapshot just before the animation. * @param completion A block to run on completion. Can be NULL. */ - (void)flipToViewController:(UIViewController *)destinationViewController fromItemAtIndexPath:(NSIndexPath *)indexPath withSourceSnapshotImage:(UIImage *)sourceSnapshot andDestinationSnapshot:(UIImage *)destinationSnapshot withCompletion:(void (^)(void))completion; /** * Present a view controller modally from the current view controller using a * flip animation, beginning from a UITableViewCell. * @param destinationViewController The view controller to present * @param indexPath The location of the cell to flip from. * @param destinationSize The size for the destination view controller to take * up on the screen. * @param completion A block to run on completion. Can be NULL. */ - (void)flipToViewController:(UIViewController *)destinationViewController fromItemAtIndexPath:(NSIndexPath *)indexPath asChildWithSize:(CGSize)destinationSize withCompletion:(void (^)(void))completion; /** * Present a view controller modally from the current view controller using a * flip animation, beginning from a UITableViewCell. * @param destinationViewController The view controller to present * @param indexPath The location of the cell to flip from. * @param destinationSize The size for the destination view controller to take * up on the screen. * @param sourceSnapshot The placeholder image for the source view. Specifying * nil will take a snapshot just before the animation. * @param destinationSnapshot The placeholder image for the destination view. * Specifying nil will take a snapshot just before the animation. * @param completion A block to run on completion. Can be NULL. */ - (void)flipToViewController:(UIViewController *)destinationViewController fromItemAtIndexPath:(NSIndexPath *)indexPath asChildWithSize:(CGSize)destinationSize withSourceSnapshotImage:(UIImage *)sourceSnapshot andDestinationSnapshot:(UIImage *)destinationSnapshot withCompletion:(void (^)(void))completion; @end #endif
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIViewController++/UIViewController+Transition.h
// // UIViewController+Transition.h // allrichstore // // Created by 任强宾 on 16/11/2. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewController (Transition) #pragma mark - present / dismiss - (void)presentVC:(UIViewController *)vc animated:(BOOL)animated completion:(void (^)(void))completion; - (void)dismissVCAnimated:(BOOL)animated completion:(void (^)(void))completion; @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/UIFramework/LibraryNavigationPanel.h
// // LibraryNavigationPanel.h // // // Created by Alexi on 3/11/14. // Copyright (c) 2014 Harman. All rights reserved. // #if kSupportLibraryPage #import <UIKit/UIKit.h> @class LibraryNavigationPanel; @protocol LibraryNavigationPanelDelegate <NSObject> - (void)onLibraryNavigationPanel:(LibraryNavigationPanel *)panel navigateTo:(NSInteger)index; @end @interface LibraryNavigationPanel : UIView { @protected __weak id<LibraryNavigationPanelDelegate> _delegate; NSMutableArray *_titles; UILabel *_title; UIPageControl *_pageView; } @property (nonatomic, weak) id<LibraryNavigationPanelDelegate> delegate; - (instancetype)initWith:(NSArray *)titles; - (void)select:(NSInteger)index; @end #endif
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBUIClass/Button.h
<filename>allrichstore/Tools/QBClass/QBUIClass/Button.h<gh_stars>1-10 // // Button.h // PRJ_CreditRecruit // // Created by apple on 16/2/29. // Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved. // #import <UIKit/UIKit.h> @interface Button : UIButton @end
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Category/UILabel+Common.h
<filename>allrichstore/Tools/CommonLibrary/Category/UILabel+Common.h // // UILabel+UILabel_Common.h // CommonLibrary // // Created by AlexiChen on 14-1-18. // Copyright (c) 2014年 CommonLibrary. All rights reserved. // #import <UIKit/UIKit.h> @interface UILabel (Common) + (instancetype)label; + (instancetype)labelWithTitle:(NSString *)title; // 已知区域重新调整 - (CGSize)contentSize; // 不知区域,通过其设置区域 - (CGSize)textSizeIn:(CGSize)size; //- (void)layoutInContent; @end @interface InsetLabel : UILabel @property (nonatomic, assign) UIEdgeInsets contentInset; @end
754340156/NQ_quanfu
allrichstore/UI/Common/Main/V/QFTagButton.h
// // QFTagButton.h // allrichstore // // Created by 任强宾 on 16/11/18. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> @interface QFTagButton : UIButton @end
754340156/NQ_quanfu
allrichstore/UI/ShoppingCart/Main/V/ShoppingCartCell.h
<reponame>754340156/NQ_quanfu<filename>allrichstore/UI/ShoppingCart/Main/V/ShoppingCartCell.h // // ShoppingCartCell_Cell.h // allrichstore // // Created by zhaozhe on 16/11/15. // Copyright © 2016年 allrich88. All rights reserved. // #import "ShoppingCartCell.h" @class ShoppingCartListModel; @interface ShoppingCartCell : BaseTableViewCell /** model */ @property(nonatomic,strong) ShoppingCartListModel * model; /** 数量 */ @property(nonatomic,strong) UILabel * numberLabel; /** 数量增加 */ @property(nonatomic,copy) void(^countAddBlock)(UIButton *sender); /** 数量减少 */ @property(nonatomic,copy) void(^countReduceBlock)(UIButton *sender) ; /** 选中 */ @property(nonatomic,copy) void (^selectedBlock)(); @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBClassMethod/QBRequestManger.h
<gh_stars>1-10 // // QBRequestManger.h // RQBClass // // Created by apple on 15/1/12. // Copyright © 2015年 任强宾. All rights reserved. // #import <Foundation/Foundation.h> @interface QBRequestManger : NSObject @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/UIView++/UIView+QBAdditions.h
// // UIView+QBAdditions.h // RQBClass // // Created by apple on 15/1/15. // Copyright © 2015年 任强宾. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (QBAdditions) @property CGFloat top; @property CGFloat bottom; @property CGFloat left; @property CGFloat right; @property CGFloat centerX; @property CGFloat centerY; @property CGFloat height; @property CGFloat width; /** * Shortcut for frame.origin */ @property (nonatomic) CGPoint origin; /** * Shortcut for frame.size */ @property (nonatomic) CGSize size; @end
754340156/NQ_quanfu
allrichstore/UI/Common/GoodDetail/Comment/C/SecondCommentVC.h
<reponame>754340156/NQ_quanfu // // SecondCommentVC.h // allrichstore // // Created by zhaozhe on 16/11/23. // Copyright © 2016年 allrich88. All rights reserved. // #import "BaseVC.h" @interface SecondCommentVC : BaseVC @end
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBCategory/NSArray++/NSArrayCategoryHeader.h
<reponame>754340156/NQ_quanfu<gh_stars>1-10 // // NSArrayCategoryHeader.h // MeiYiQuan // // Created by 任强宾 on 16/9/29. // Copyright © 2016年 任强宾. All rights reserved. // #ifndef NSArrayCategoryHeader_h #define NSArrayCategoryHeader_h #import "NSArray+QBArray.h" //数组 #import "NSMutableArray+QBArray.h" //可变数组 #import "NSArray+qbSort.h" //排序扩展 #endif /* NSArrayCategoryHeader_h */
754340156/NQ_quanfu
allrichstore/Library/DKFilterView/DKMacros.h
<reponame>754340156/NQ_quanfu<filename>allrichstore/Library/DKFilterView/DKMacros.h // // DKMacros.h // DKFilterView // // Created by Drinking on 15-1-7. // Copyright (c) 2015年 drinking. All rights reserved. // #ifndef DKFilterView_DKMacros_h #define DKFilterView_DKMacros_h #define RGBCOLOR(_R_, _G_, _B_) [UIColor colorWithRed:(_R_)/255.0 green: (_G_)/255.0 blue: (_B_)/255.0 alpha: 1.0] #define stringIsEmpty(str) !(str&&str.length) #define DK_ADD @"+" #define DK_DEFAULT_TITLE_COLOR RGBCOLOR(87,87,87) #define DK_NORMAL_COLOR RGBCOLOR(242,242,242) #define DK_HL_COLOR RGBCOLOR(246,105,68) #define DK_NOTIFICATION_PICKITEM @"DKNotificationPickItem" #define DK_NOTIFICATION_BUTTON_CLICKED @"DKFilterButtonClicked" #endif
754340156/NQ_quanfu
allrichstore/Tools/CommonLibrary/Category/UIView+Effect.h
// // UIView+Effect.h // CommonLibrary // // Created by AlexiChen on 15/12/24. // Copyright © 2015年 AlexiChen. All rights reserved. // #if kSupportUIViewEffect #import <UIKit/UIKit.h> @interface UIView (Effect) - (void)blurWithColor:(UIColor *)color; // 底层自动blur image - (void)blurWithImage:(UIImage *)image; // iOS8这后调才管 - (void)blurSelfBackground; @end #endif
754340156/NQ_quanfu
allrichstore/Tools/QBClass/QBViewClass/PercentBarView/PercentBarView.h
<gh_stars>1-10 // // PercentBarView.h // allrichstore // // Created by 任强宾 on 16/12/6. // Copyright © 2016年 allrich88. All rights reserved. // #import <UIKit/UIKit.h> /* 本类简介:(支持垂直或水平方向)展示百分比的视图*/ #pragma mark - 定义枚举 typedef NS_ENUM(NSInteger, PercentBarStyle) { PercentBarStyleHorizontal = 0, //水平方向风格 PercentBarStyleVertical //垂直方向风格 }; #pragma mark - 定义block @class PercentBarView; //定义:自定义配置block typedef void(^PercentBarConfigure)(PercentBarView *percentBarView); //定义:事件触发block typedef void(^PercentAction)(CGFloat percent); @interface PercentBarView : UIView #pragma mark - 自定义初始化方法 /** @param frame frame @param style 布局类型 @param configure 初始配置 @param action 事件触发 */ - (instancetype)initWithFrame:(CGRect)frame style:(PercentBarStyle)style configure:(PercentBarConfigure)configure action:(PercentAction)action; /** @param frame frame @param configure 初始配置 @param action 事件触发 */ - (instancetype)initWithFrame:(CGRect)frame configure:(PercentBarConfigure)configure action:(PercentAction)action; //布局方向类型(水平或垂直) @property (nonatomic, assign) PercentBarStyle style; //百分条的背景颜色 @property (nonatomic, strong) UIColor *frontBarColor; //百分条的圆角比 @property (nonatomic, assign) CGFloat frontBarCornerPercent; //当前百分比 @property (nonatomic, assign) CGFloat currentPercent; //百分比label @property (nonatomic, strong) UILabel *percentLabel; @end