repo_name
stringlengths 5
122
| path
stringlengths 3
232
| text
stringlengths 6
1.05M
|
|---|---|---|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIView++/UIView+Shadow.h
|
//
// UIView+Shadow.h
// allrichstore
//
// Created by 任强宾 on 16/10/31.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (Shadow)
- (void)setShadow;
- (void)setShadowWithColor:(UIColor *)shadowColor;
- (void)setShadowWithOffset:(CGSize)size;
- (void)setShadowWithColor:(UIColor *)shadowColor offset:(CGSize)size;
@end
|
754340156/NQ_quanfu
|
allrichstore/Other/Switch.h
|
//
// Switch.h
// FullRich
//
// Created by 任强宾 on 16/10/26.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef Switch_h
#define Switch_h
/**********************开关*******************/
//0为关,1为开
//自定义动画的开关
#define AnimationSwitch 0 //(0:关闭 1:打开)
//截图缩放效果开关
#define ShotZoomSwitch 1 //(0:关闭 1:打开)
//是否开启录制的开关
#define StartRecode 1 //(0:关闭 1:打开)
//假界面的开关
#define FalseInterface 0 //(0:关闭 1:打开)
//是否格式化
#define isFormatYunsuCoin 1 //(0:关闭 1:打开)
#define IsRefreshWhenViewWillAppear 0 //(0:关闭 1:打开)
//是否格式化直播币
#define IsFormatYunsuCoin 0 //(0:不格式化 1:格式化)
//分享时的图片是使用房间主人的 头像还是封面?
#define ShareImageIsPhoto 1 //(1:为头像 0:为封面)
#endif /* Switch_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Comment/V/SecondCommentCell.h
|
<reponame>754340156/NQ_quanfu<filename>allrichstore/UI/Common/GoodDetail/Comment/V/SecondCommentCell.h
//
// SecondCommentCell.h
// allrichstore
//
// Created by zhaozhe on 16/11/23.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@class SecondCommentModel;
@interface SecondCommentCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) SecondCommentModel * model;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/firstView/SecondCell/GD_EvaluativeHeaderView.h
|
<filename>allrichstore/UI/Common/GoodDetail/Main/V/firstView/SecondCell/GD_EvaluativeHeaderView.h<gh_stars>1-10
//
// GD_EvaluativeHeaderView.h
// allrichstore
//
// Created by zhaozhe on 16/11/2.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GD_EvaluativeHeaderView : UITableViewHeaderFooterView
/** 总评价数 */
@property(nonatomic,copy) NSString * totalCount;
/** 好评率 */
@property(nonatomic,copy) NSString * rate;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBUIClass/QBUIClassHeader.h
|
//
// QBUIClassHeader.h
// PRJ_CreditRecruit
//
// Created by 任强宾 on 16/6/27.
// Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved.
//
#ifndef QBUIClassHeader_h
#define QBUIClassHeader_h
#import "NoEventView.h" //不拦截event事件的view
#import "View.h" //QBView类
#import "Label.h" //QBLabel类
#import "Button.h" //QBButton类
#import "TextField.h" //QBTextField类
#import "TextView.h" //QBTextView类
#import "ScrollView.h" //QBScrollView类
#import "ImageView.h" //QBImageView类
#import "TableView.h" //QBTableView类
#import "QButton.h" //QButton
#import "CodeButton.h" //CodeButton类
#import "LabelCell.h" //只有一个居中label的cell
#endif /* QBUIClassHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/Other/ThirdConfi.h
|
<gh_stars>1-10
//
// ThirdConfi.h
// FullRich
//
// Created by 任强宾 on 16/10/26.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef ThirdConfi_h
#define ThirdConfi_h
//-------------------友盟--------------------
//QQ分享
#define QQShareAPPID @"1105615093"
#define QQShareAPPKEY @"8MCBkFIvKGbqHB1M"
//微信分享
#define WeiChatShareAPPID @"wx06924d667103f293"
#define WeiChatShareAPPKEY @"7a8bb81748c78b8d8afbed2fed38fe15"
//新浪分享
#define SinaShare @"3989640783"
#define SinaSecret @"9245a1b4b3ac6188a5065f1789b1825d"
//友盟SDK
#define UmengAppKey @"57ce64d767e58ece8500313b"
#define RONGCLOUD_IM_APPKEY @"z3v5yqkbv8v30" // online key
#define ShareSDKKey @"d37c08f9edd4"
#define ShareSDKAppSecret @"e06c2a480603f96710629015f7406b92"
//--------------------环信---------------------
#define KNOTIFICATION_LOGINCHANGE @"loginStateChange"
//--------------------JSPatch---------------------
#define JSPatch_Key @"e0d263516115ac0e"
#define kJSPatchServerPath @"http://test.qshmall.net:9090/demo.js"
//--------------------JPush---------------------
#define JPush_Key @"<KEY>6"
#endif /* ThirdConfi_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/NSDate++/NSDateFormatter+QBGet.h
|
<reponame>754340156/NQ_quanfu
//
// NSDateFormatter+QBGet.h
// PRJ_CreditRecruit
//
// Created by apple on 15/6/29.
// Copyright © 2015年 河南维创盈通科技有限公司. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDateFormatter (Category)
+ (id)dateFormatter;
+ (id)dateFormatterWithFormat:(NSString *)dateFormat;
+ (id)defaultDateFormatter;/*yyyy-MM-dd HH:mm:ss*/
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/ShoppingCart/Main/C/ShoppingCartVC.h
|
//
// ShoppingCartVC.h
// allrichstore
//
// Created by 任强宾 on 16/10/27.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseVC.h"
@interface ShoppingCartVC : BaseVC
/** 是否是详情的购物车推出来的 */
@property(nonatomic,assign) BOOL isDetail;
@end
|
754340156/NQ_quanfu
|
allrichstore/Other/Interface.h
|
<filename>allrichstore/Other/Interface.h
//
// Interface.h
// FullRich
//
// Created by 任强宾 on 16/10/26.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef Interface_h
#define Interface_h
#pragma mark - 服务器地址
/********************服务器地址********************/
//正式
//#define BaseUrl @"http://172.16.17.32:8080/allRich-api"
//本地1
//#define BaseUrl @"http://192.168.1.199:8080/allRich-api"
//本地2
//#define BaseUrl @"http://192.168.1.254:8080/allRich-api"
//外网1
//#define BaseUrl @"http://172.16.17.32:8080/allRich-api"
//外网2
#define BaseUrl @"http://172.16.17.32:8080/allRich-api"
//地址拼接
#define UrlAPI(url) [NSString stringWithFormat:@"%@%@", BaseUrl, url]
//苹果商店审核开关
#define AuditingSwitch UrlAPI(@"/api/other/switch")
#pragma mark - 登录/注册
/********************登录/注册********************/
//发送验证码
#define API_SendCode UrlAPI(@"/server/login/forgetPassword.do")
//验证验证码
#define API_ClientCode UrlAPI(@"/server/message/testMessageCode.do")
//设置密码
#define API_SetPW UrlAPI(@"/server/message/savePassword.do")
//注册
#define API_Register UrlAPI(@"/ulogin/register.do")
//第三方登录——登录成功 自动关联
#define API_Login UrlAPI(@"/server/login/accountRelating.do")
//短信验证码登录
#define API_MsgLogin UrlAPI(@"/api/user/login")
//忘记密码(验证验证码)
#define API_ClientCode_FindPW UrlAPI(@"/server/login/testMessageCode.do")
//忘记密码(重置密码)
#define API_ResetPW_FindPW UrlAPI(@"/server/login/registePassword.do")
//第三方绑定手机号
#define API_ThirdBindPhone UrlAPI(@"/api/user/otherAccountRegister")
#pragma mark - 首页
/********************首页********************/
//搜索接口
#define API_SearchGoods UrlAPI(@"/server/Search/findSearchOne.do")
//banner列表(根据id参数区分不同区域的banner列表)
#define API_BannerList UrlAPI(@"/server/Banner/findBannerOne.do")
//商品活动列表
#define API_FindActivity UrlAPI(@"/server/Activity/findActivity.do")
//自营速达-商品列表
#define API_SelfBusinessMenuList UrlAPI(@"/server/SelfThree/findSelfFastName.do")
//自营速达商品列表(根据自营分类id查询)
#define API_SelfBusinessGoosList UrlAPI(@"/server/SelfThree/findSelfFastOne.do")
#pragma mark - 分类
/********************分类********************/
//分类 一级分类
#define API_GoodsClass_FirstLevel UrlAPI(@"/server/Category/findCategoryFirst.do")
//分类 二三级分类
#define API_GoodsClass_SecondAndThirdLevel UrlAPI(@"/server/Category/findCategorySecond.do")
//商品列表
#define API_GoodsList UrlAPI(@"/server/Goods/findGoodsRank.do")
#pragma mark - 店铺
/********************店铺********************/
//店铺首页
#define API_ShopHome UrlAPI(@"/server/Shop/findShopHomePage.do")
//店铺详情
#define API_ShopDetail UrlAPI(@"/server/Shop/findShopPage.do")
//店铺商品页接口
#define API_ShopGoods UrlAPI(@"/server/Shop/findShopGoods.do")
//店铺的分类名称接口
#define API_ShopClass UrlAPI(@"/server/Shop/findShopCategoryName.do")
//店铺的分类商品页接口
#define API_ShopCategoryGoods UrlAPI(@"/server/Shop/findShopCategoryGoods.do")
//店铺的商品活动接口
#define API_ShopActivity UrlAPI(@"/server/Shop/findShopActivity.do")
#pragma mark - 精选
/********************精选********************/
#pragma mark - 商品详情
/********************商品详情********************/
//获取商品详情
#define API_GoodDetail_Find UrlAPI(@"/server/Goods/findGoodsOne.do")
//商品评论好中差等分类个数
#define API_GoodDetail_CommentType UrlAPI(@"/server/Goods/findGoodsCommentCategory.do")
//商品评论
#define API_GoodDetail_Comment UrlAPI(@"/server/Goods/findGoodsComment.do")
//商品评论回复个数接口
#define API_GoodDetail_CommentReply UrlAPI(@"/server/Goods/findGoodsCommentReply.do")
//收藏商品接口
#define API_GoodDetail_AddCollectGoods UrlAPI(@"/server/Collect/addCollectGoods.do")
//收藏商铺接口
#define API_GoodDetail_AddCollectShop UrlAPI(@"/server/Collect/addCollectShop.do")
//商品属性规格请求
#define API_GoodDetail_FindGoodsProperty UrlAPI(@"/server/Goods/findGoodsProperty.do")
//带着属性加入购物车
#define API_GoodDetail_ChooseGoodsProperty UrlAPI(@"/server/Goods/findGoodsPropertyChoose.do")
#pragma mark - 购物车
/********************购物车********************/
//查询购物车
#define API_ShoppingCart_Find UrlAPI(@"/server/shopcar/showShoppingCart.do")
//加入购物车
#define API_API_ShoppingCart_Add UrlAPI(@"/server/shopcar/addToShoppingCart.do")
//从购物车中删除
#define API_API_ShoppingCart_Remove UrlAPI(@"/server/shopping/shopcar/removeGoodToShopCart.do")
//加入关注
#define API_API_ShoppingCart_ADDCare UrlAPI(@"/server/shopping/shopcar/addToCollection.do")
//提交订单 /server/shopping/shopcar/submitOrder.do
#define API_API_ShoppingCart_SubmitOrder UrlAPI(@"/server/shopping/shopcar/submitOrder.do")
#pragma mark - 我的
/********************我的********************/
//获取用户信息
#define API_MineGetUserData UrlAPI(@"/server/user/findUserDetail.do")
//上传头像
#define API_MineUploadIcon UrlAPI(@"/server/user/fileUpload.do")
//用户信息修改
#define API_MineModifyUser UrlAPI(@"/server/user/modifyUser.do")
//修改个人爱好
#define API_MineModifyHobby UrlAPI(@"/server/user/modifyHobby.do")
//查询爱好/月收入/教育程度 /行业类别
/*
查询爱好:h_id=0&type=1
查询月收入:type=2
查询教育程度type=3
行业类别:h_id=0&type=4
*/
#define API_MineDataGetAllList UrlAPI(@"/server/user/getAllList.do")
/***********我的收藏*************/
//查询收藏宝贝和店铺
#define API_MyCollection UrlAPI(@"/server/Collect/findAllCollection.do")
//查询积分
#define API_MyIntegral UrlAPI(@"/server/integral/findAllIntegeral_Record.do")
//查询现金券
#define API_MyCashCoupon UrlAPI(@"/server/cashcoupon_record/findCashcoupon_RecordByUser.do")
//查询优惠券
#define API_MyCoupon UrlAPI(@"/server/user_coupon/getUserCoupon.do")
//意见反馈
#define API_FeedBack UrlAPI(@"/server/feedback/submitFeedback.do")
#pragma mark - 账号安全
/********************账号安全********************/
//修改登录密码--发送验证码(同登录验证码一样)
//修改登录密码--下一步 验证code
#define API_UpdatePassword_VerificationCode UrlAPI(@"/server/login/testMessageCode.do")
//修改登录密码--提交
#define API_UpdatePassword_SubmitNewPW UrlAPI(@"/server/login/registePassword.do")
//修改绑定邮箱--发送验证码(同登录验证码一样)
//修改绑定邮箱--完成(同用户信息修改一样)
//修改绑定手机--原手机号能发送验证码(同登录验证码一样)
//修改绑定手机--输入新手机号(同用户信息修改一样)
//修改支付密码--发送验证码(同登录验证码一样)
//修改支付密码--完成(同用户信息修改一样)
#pragma mark - 其他
/********************其他********************/
#define kResponse @"response"
#endif /* Interface_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBMacro/QBColor.h
|
//
// QBColor.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/21.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef QBColor_h
#define QBColor_h
#pragma mark - 工程颜色配置
//黑
#define qbBlackColor [UIColor colorWithWhite:0.15 alpha:1.0]
//红
#define qbRedColor [UIColor colorWithRed:232 / 255.0 green:35 / 255.0 blue:45 / 255.0 alpha:1.0]
/***************BaseCell的控件颜色***************/
#define BaseColor_Cell_Backgound [UIColor whiteColor]
#define BaseColor_Cell_SelectedBackground [UIColor colorWithWhite:0.92 alpha:1.0]
#define BaseColor_Cell_TitleLabel_Text [UIColor colorWithRed:51 / 255.0 green:51 / 255.0 blue:51 / 255.0 alpha:1.0]
#define BaseColor_Cell_ContextLabel_Text [UIColor colorWithWhite:0.45 alpha:1.0]
#define BaseColor_Cell_TimeLabel_Text [UIColor colorWithWhite:0.6 alpha:1.0]
#define BaseColor_Cell_SplitLine [UIColor colorWithWhite:0.88 alpha:1.0]
#define BlackTextColor [UIColor colorWithWhite:0.2 alpha:1.0]
#pragma mark - 取色工具
/***************取色工具***************/
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 \
alpha:1.0]
// 取色值相关的方法
#define RGB(r,g,b) [UIColor colorWithRed:(r)/255.f green:(g)/255.f blue:(b)/255.f alpha:1.f]
#define RGBA(r,g,b,a) [UIColor colorWithRed:(r)/255.f green:(g)/255.f blue:(b)/255.f alpha:(a)]
#define RGBOF(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 \
alpha:1.0]
#define RGBA_OF(rgbValue) [UIColor colorWithRed:((float)(((rgbValue) & 0xFF000000) >> 24))/255.0 \
green:((float)(((rgbValue) & 0x00FF0000) >> 16))/255.0 \
blue:((float)(rgbValue & 0x0000FF00) >> 8)/255.0 \
alpha:((float)(rgbValue & 0x000000FF))/255.0]
#define RGBAOF(v, a) [UIColor colorWithRed:((float)(((v) & 0xFF0000) >> 16))/255.0 \
green:((float)(((v) & 0x00FF00) >> 8))/255.0 \
blue:((float)(v & 0x0000FF))/255.0 \
alpha:a]
#endif /* QBColor_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/ExpressAddress/C/AddAddressVC.h
|
<reponame>754340156/NQ_quanfu<filename>allrichstore/UI/Common/ExpressAddress/C/AddAddressVC.h
//
// AddAddressVC.h
// allrichstore
//
// Created by 任强宾 on 16/11/23.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseVC.h"
#import "AddressListModel.h"
@interface AddAddressVC : BaseVC
//地址列表的地址model
@property (nonatomic, strong) AddressListModel *addressModel;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/NSString++/NSAttributedString+Extension.h
|
<reponame>754340156/NQ_quanfu<filename>allrichstore/Tools/QBClass/QBCategory/NSString++/NSAttributedString+Extension.h<gh_stars>1-10
//
// NSAttributedString+Extension.h
// allrichstore
//
// Created by 任强宾 on 16/11/13.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSAttributedString (Extension)
//简写属性字符串 自定义文字颜色
+ (NSAttributedString *)attributedStringWithString:(NSString *)string color:(UIColor *)color;
//简写属性字符串 自定义文字颜色和字体
+ (NSAttributedString *)attributedStringWithString:(NSString *)string color:(UIColor *)color font:(UIFont *)font;
@end
|
754340156/NQ_quanfu
|
allrichstore/Other/String.h
|
<gh_stars>1-10
//
// String.h
// FullRich
//
// Created by 任强宾 on 16/10/26.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef String_h
#define String_h
//从国际化配置里面取字符串
#define String(key) NSLocalizedString(key, nil)
//当前版本号
#define AppVersion @"1.0"
//本应用的appID
#define AppID @"1074155933"
//本应用的名称
#define App_Name @"全富商城"
//首页标题的名称
#define App_HomeTitle @"全富商城"
//本APP的简称
#define AppSimpleName @"全富商城"
//App要分享的地址
#define AppShareURL @"http://live.icloudinn.com/"
//客服电话
#define ServiceTel @"400-800-8888"
//App版本号
#define appMPVersion [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]
// 当前版本
#define FSystemVersion ([[[UIDevice currentDevice] systemVersion] floatValue])
#define DSystemVersion ([[[UIDevice currentDevice] systemVersion] doubleValue])
#define SSystemVersion ([[UIDevice currentDevice] systemVersion])
/***********************提示语**********************/
#pragma mark - 登录注册
//账号格式不正确(提示语)
#define String_prompt_accoutFormatError String(@"手机号或邮箱格式不正确")
#define String_prompt_phoneFormatError String(@"手机号格式不正确")
//密码格式不正确(提示语)
#define String_prompt_pwFormatError [NSString stringWithFormat:String(@"请输入%d-%d位的密码!"), Length_password_min, Length_password_max]
//验证码格式不正确(提示语)
#define String_prompt_verifiCodeFormatError [NSString stringWithFormat:String(@"请输入%d位的验证码!"), Length_verifiCode]
//两次输入的密码不一致(提示语)
#define String_prompt_pwNotsame String(@"两次输入的密码不一致!")
//验证码已发送(提示语)
#define String_prompt_verifiCodeSendSuccess String(@"验证码发送成功!")
//签名为空的提示语
#define kDefaultSignature String(@"这家伙很懒~")
//支付结果通知
#define PayResultNoti @"sendPayResult"
#define kString_sexUnknown String(@"未知")
#pragma mark - keyString
/******************keyString*******************/
//是否不是是第一次安装 打开
#define IsNotFirstLaunch_Key @"isNoFirstLaunchKey"
//首页轮播图的数组缓存
#define HomeBannerArrayKey @"homeBannerArray"
//定位地域选择数组缓存
#define LocationArrayKey @"LocationArrayKey"
//搜索历史记录数组缓存
#define SearchArrayKey @"SearchArrayKey"
//地域未获得的关键字
#define NotAddressString @"全国"
//Token
#define kUserToken @"<PASSWORD>"
//定位成功的通知的名称
#define AppHadLocNotificationName @"AppHadLocAddressNotification"
#pragma mark - 缓存key
/******************首页*****************/
#define Key_BannerListById(ID) [NSString stringWithFormat:@"Key_BannerListBy%@", ID]
//banner对应的id
#define BannerID_homeTop @"1" //首页顶部轮播
#define BannerID_homeAdvert @"2" //首页广告位
//自营速达-菜单列表
#define Key_SelfBusinessMenuList @"Key_SelfBusinessMenuList"
/******************分类*****************/
//一级分类列表
#define Key_goodsClass_oneLevel @"goodsClass_oneLevel"
//商家入驻添加经营类目通知
#define kShopInformationAddClass @"kShopInformationAddClass"
//商家入驻添加经营类目结束更新tableView
#define kTableViewHeightNotification @"kTableViewHeightNotification"
/****************个人资料*****************/
//爱好(总列表)
#define Key_PersonDataHobbyArray @"Key_PersonDataHobbyArray"
//月收入(总列表)
#define Key_PersonDataIncomeArray @"Key_PersonDataIncomeArray"
//教育程度(总列表)
#define Key_PersonDataEducatArray @"Key_PersonDataEducatArray"
//职业列表(总列表)
#define Key_PersonDataProfessionArray @"Key_PersonDataProfessionArray"
//爱好(我的列表)
#define Key_PersonDataMyHobbyArray @"Key_PersonDataMyHobbyArray"
//职业
#define Key_PersonDataMyProfession @"Key_PersonDataMyProfession"
//苹果审核开关
#define AuditingSwitchKey @"AuditingSwitchKey"
//
#define kUserModelKey @"kUserModelKey"
//是否处于登录状态
#define kIsLoginKey @"kIsLoginKey"
#endif /* String_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/UIFramework/MenuAbleItem.h
|
//
// MenuAbleItem.h
// CommonLibrary
//
// Created by Alexi on 14-1-16.
// Copyright (c) 2014年 CommonLibrary. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol MenuAbleItem;
typedef void (^MenuAction)(id<MenuAbleItem> menu);
@protocol MenuAbleItem <NSObject>
- (instancetype)initWithTitle:(NSString *)title icon:(UIImage *)icon action:(MenuAction)action;
@optional
- (NSString *)title;
- (UIImage *)icon;
- (void)menuAction;
- (NSInteger)tag;
- (void)setTag:(NSInteger)tag;
@optional
- (UIColor *)foreColor;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/QBViewHeader.h
|
//
// QBViewHeader.h
// PRJ_CreditRecruit
//
// Created by 任强宾 on 16/6/27.
// Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved.
//
#ifndef QBViewHeader_h
#define QBViewHeader_h
#import "QBAlertView.h" //QB提示框类
#import "QBWaterWaveView.h" //QB水波视图类
#import "QBNaviBarView.h" //QB假导航条类
#import "ButtonsView.h" //多按钮选择器
#import "QBSwitchView.h" //自定义开关
#import "AdvertiseHelper.h" //广告页
#import "GuidePagesHelper.h" //引导页
#import "AddressPickerView.h"//地址选择器封装
#import "PickerView.h" //通用自定义选择器封装
#import "DatePickerView.h" //时间选择器封装
#import "CustomCellHeader.h" //自定义cell
#import "SlideWindowVC.h" //滑动窗口控制器
#import "TagBtnsView.h" //按钮标签视图
#import "FoldMenuView.h" //折叠菜单
#import "TabMenuView.h" //单级菜单
#import "PercentBarView.h" //比例条视图
#import "HorLineLabelView.h" //———— label ————视图
#import "QBPickerView.h" //通用自定义选择器封装
#endif /* QBViewHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/firstView/GoodsDetailConfig.h
|
<gh_stars>1-10
//
// GoodsDetailConfig.h
// allrichstore
//
// Created by zhaozhe on 16/11/1.
// Copyright © 2016年 allrich88. All rights reserved.
//
#ifndef GoodsDetailConfig_h
#define GoodsDetailConfig_h
#define GD_HeaderViewH 360.0f //GoodsDetailHeaderView整体高度
#define GD_ActiveViewH 50.0f //GoodsDetailActiveView 一个活动高度
#define GD_StoreViewH 60.0f //GoodsDetailStoreView 高度
#define GD_SC_BottomH 60.0f // 底部上拉高度
#define GD_Margin 5.0f //模块之间的间距 5
#define GD_BottomH 45.0f// 底部工具栏的高度
#define GD_BottomBuyW 100.0f// 底部工具栏的两个大按钮的宽度
#define GD_DRAG_SHOW_HEIGHT 45.0f // 结束拖拽最大值时的显示
/* GoodsDetailEvaluativeView */
#define GD_EvaluativeHeaderH 45.0f // 头部
#define GD_EvaluativeIconH 40.0f // 头像
#define GD_EvaluativeStarH 25.0f //星等
#define GD_EvaluativePicH 80.0f// 图片的高度
#define GD_EvaluativeColorH 20.0f// 颜色的高度
#endif /* GoodsDetailConfig_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/firstView/SecondCell/GD_EvaluativeCell.h
|
//
// GD_EvaluativeCell.h
// allrichstore
//
// Created by zhaozhe on 16/11/1.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@class GoodsDetailEvaluativeModel;
@protocol GD_EvaluativeCellDelegate<NSObject>
/** 点击头像 */
- (void)GD_EvaluativeCellDelegate_clickIconWithModel:(GoodsDetailEvaluativeModel *)model;
/** 点赞 */
- (void)GD_EvaluativeCellDelegate_clickLike;
/** 二级评论 */
- (void)GD_EvaluativeCellDelegate_clickSecondComment;
@end
@interface GD_EvaluativeCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) GoodsDetailEvaluativeModel * model;
/** 代理*/
@property (nonatomic,weak) id <GD_EvaluativeCellDelegate> delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/Other/Color.h
|
//
// Color.h
// FullRich
//
// Created by 任强宾 on 16/10/26.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef Color_h
#define Color_h
#pragma mark - 全富颜色集
/********************全富颜色集********************/
//全富 —— 黑色
#define QF_BlackColor [UIColor colorWithRed:51 / 255.0 green:51 / 255.0 blue:51 / 255.0 alpha:1.0]
//全富 -- 文字红
#define QF_RedColor [UIColor colorWithRed:232 / 255.0 green:35 / 255.0 blue:45 / 255.0 alpha:1.0]
//全富 -- 按钮红
#define QF_RedBtnColor [UIColor colorWithRed:242 / 255.0 green:81 / 255.0 blue:89 / 255.0 alpha:1.0]
//全富 -- 黄色
#define QF_YellowColor [UIColor colorWithRed:253 / 255.0 green:147 / 255.0 blue:39 / 255.0 alpha:1.0]
//全富 -- 橙色
#define QF_OrangeColor [UIColor colorWithRed:250 / 255.0 green:82 / 255.0 blue:41 / 255.0 alpha:1.0]
//全富 -- 灰色
#define QF_GrayColor kGrayColor_D
//全富 -- 深灰色
#define QF_DarkGrayColor kDarkGrayColor
//全富 -- 商品列表cell上的灰色
#define QF_GrayColor_GoodsListCell kGrayColor_D
//全富 -- 淡灰背景色
#define QFColor_LightGrayBg Color_BaseVCViewBg
//全富 -- self.view的背景色
#define QFColor_BaseVCViewBg Color_BaseVCViewBg
//首页cell分割线的颜色
#define Home_ListCell_Line_Color [UIColor colorWithRed:236 / 255.0 green:236 / 255.0 blue:236 / 255.0 alpha:1.0]
//cell分割线的宽度
#define ListCell_Line_W_H 1.0
//分类菜单的背景颜色
#define QFColor_CoodsClassMenuViewBg [UIColor colorWithRed:240 / 255.0 green:240 / 255.0 blue:240 / 255.0 alpha:1.0]
//全富 -- 搜索栏背景色
#define QFColor_SearchBarBg [UIColor colorWithRed:232 / 255.0 green:232 / 255.0 blue:232 / 255.0 alpha:1.0]
//全富 -- 分割条的颜色
#define QFColor_splitLine_Color [UIColor colorWithRed:236 / 255.0 green:236 / 255.0 blue:236 / 255.0 alpha:1.0]
//全富 -- 半透明背景的颜色
#define QFColor_transitionBg [UIColor colorWithWhite:0.0 alpha:0.36]
#pragma mark - 定义通用颜色
/********************定义通用颜色********************/
#define kBlackColor [UIColor blackColor]
#define kDarkGrayColor [UIColor darkGrayColor]
#define kLightGrayColor [UIColor lightGrayColor]
#define kWhiteColor [UIColor whiteColor]
#define kGrayColor [UIColor grayColor]
#define kRedColor [UIColor redColor]
#define kGreenColor [UIColor greenColor]
#define kBlueColor [UIColor blueColor]
#define kCyanColor [UIColor cyanColor]
#define kYellowColor [UIColor yellowColor]
#define kMagentaColor [UIColor magentaColor]
#define kOrangeColor [UIColor orangeColor]
#define kPurpleColor [UIColor purpleColor]
#define kClearColor [UIColor clearColor]
//在原有基础上加深的颜色
#define kLightGrayColor_D [UIColor colorWithWhite:0.6 alpha:1.0]
#define kGrayColor_D [UIColor colorWithWhite:0.45 alpha:1.0]
#define kDarkGrayColor_D [UIColor colorWithWhite:0.25 alpha:1.0]
//半透明背景的颜色
#define Color_transitionBg [UIColor colorWithWhite:0.0 alpha:0.36]
#pragma mark - 合成颜色简写
/********************合成颜色简写********************/
//RGB(十六进制) - 透明为1.0
#define ColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
//RGB(十六进制) - 可设置透明
#define ColorFromRGBA(rgbValue, a) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:a]
//灰度颜色 - 透明为1.0
#define ColorWhite(value) [UIColor colorWithWhite:value alpha:1.0]
//灰度颜色 - 可设置透明
#define ColorWhiteAlpha(value, a) [UIColor colorWithWhite:value alpha:a]
#pragma mark - 主题颜色
/********************主题颜色********************/
#define LightMainCol RGBA(114, 179, 241, 1)
#define DarkMainCol RGBA(50, 135, 219, 1)
#define MainCol RGBA(232, 35, 42, 1)
#pragma mark - 导航相关颜色
/********************导航相关颜色********************/
//导航条渲染色
#define Color_NaviBar_BarTint [UIColor colorWithRed:100 / 255.0 green:100 / 255.0 blue:100 / 255.0 alpha:1.0]
//导航渲染色
#define Color_NaviBar_Tint QF_BlackColor
#pragma mark - 其他颜色
/********************其他颜色********************/
//阴影的颜色
#define Color_Shadow [UIColor colorWithWhite:0.2 alpha:1.0]
//半透明遮盖背景的颜色
#define Color_Translucent [UIColor colorWithWhite:0.2 alpha:0.2]
//cell分割线的颜色
#define Color_CellSplitLine [UIColor colorWithRed:200 / 255.0 green:200 / 255.0 blue:200 / 255.0 alpha:1]
//webView的背景颜色
#define Color_WebViewScrollBg [UIColor colorWithRed:240 / 255.0 green:241 / 255.0 blue:242 / 255.0 alpha:1.0]
//self.view的背景颜色
#define Color_BaseVCViewBg [UIColor colorWithRed:240 / 255.0 green:241 / 255.0 blue:242 / 255.0 alpha:1.0]
//scrollView的背景颜色
#define Color_ScrollViewBg [UIColor colorWithRed:240 / 255.0 green:241 / 255.0 blue:242 / 255.0 alpha:1.0]
//tableView的背景色
//#define Color_TableViewBg [UIColor colorWithRed:243 / 255.0 green:245 / 255.0 blue:247 / 255.0 alpha:1.0]
#define Color_TableViewBg Color_BaseVCViewBg
//TableViewCell的选中背景颜色
#define Color_TableViewCellSelectedBg [UIColor colorWithWhite:0.9 alpha:1.0]
//自定义毛玻璃视图的背景颜色
#define Color_CustomEffectViewbg [UIColor colorWithWhite:1.0 alpha:0.88]
#endif /* Color_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/QBSwitchView.h
|
<gh_stars>1-10
//
// QBSwitchView.h
// LiveTest
//
// Created by 任强宾 on 16/9/1.
// Copyright © 2016年 NeiQuan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface QBSwitchView : UIView
- (instancetype)initWithFrame:(CGRect)frame
onBackColor:(UIColor *)onBackColor
offBackColor:(UIColor *)offBackColor
onFrontColor:(UIColor *)onFrontColor
offFrontColor:(UIColor *)offFrontColor
lineWidth:(CGFloat )lineWidth;
- (void)switchOn;
- (void)switchOff;
@property (nonatomic, strong) UIView *ballView;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderSwitchCell.h
|
<filename>allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderSwitchCell.h
//
// CreateOrderSwitchCell.h
// allrichstore
//
// Created by zhaozhe on 16/11/21.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@protocol CreateOrderSwitchCellDelegate <NSObject>
/** 点击switch */
- (void)CreateOrderSwitchCellDelegate_clickSwitchWithIsSelected:(BOOL)isSelected;
@end
@class CreateOrderModel;
@interface CreateOrderSwitchCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) CreateOrderModel * model;
/** 代理*/
@property (nonatomic,weak) id <CreateOrderSwitchCellDelegate> delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Choose/M/ChooseModel.h
|
<reponame>754340156/NQ_quanfu
//
// ChooseModel.h
// allrichstore
//
// Created by zhaozhe on 16/11/17.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseModel.h"
@class ChooseModelProperty,ChooseModelImage,ChooseModelPropertyDetail;
@interface ChooseModel : BaseModel
/** 商品图片 */
@property(nonatomic,strong) NSArray <ChooseModelImage * > * goodimage;
/** 商品名 */
@property(nonatomic,copy) NSString * title;
/** 标题数据 */
@property(nonatomic,strong) NSArray <ChooseModelProperty * >* property;
@end
@interface ChooseModelProperty : BaseModel
/** 属性标题 */
@property(nonatomic,copy) NSString * gpv_property;
/** 属性id */
@property(nonatomic,copy) NSString * gpv_propertyid;
/** 属性数组 */
@property(nonatomic,strong) NSArray <ChooseModelPropertyDetail *>* code;
/** 属性数组(处理后的数组,只有属性名) */
@property(nonatomic,strong) NSArray * buttonsArray;
/** 属性英文名 */
@property(nonatomic,copy) NSString * gp_code;
@end
@interface ChooseModelImage : BaseModel
/** url */
@property(nonatomic,copy) NSString * g_imgurl;
@end
@interface ChooseModelPropertyDetail : BaseModel
/** 属性名 */
@property(nonatomic,copy) NSString * gpv_propertyvalue;
/** 属性标题id */
@property(nonatomic,copy) NSString * gpv_propertyid;
/** 属性id */
@property(nonatomic,copy) NSString * gpv_propertyvalueid;
/** 商品id */
@property(nonatomic,copy) NSString * gpv_goodid;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIAlterController++/UIAlertController+Block.h
|
<gh_stars>1-10
//
// UIAlertController+Block.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/14.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol AlertTitleAble <NSObject>
- (NSString *)alertTitle;
@end
@interface UIAlertController (Block)
+ (UIAlertController *)qb_showAlertWithTitle:(NSString *)title message:(NSString *)message cancelTitle:(NSString *)cancelTitle otherTitles:(NSArray *)otherTitles handler:(void (^)(UIAlertController *alertController, NSInteger buttonIndex))block vc:(UIViewController *)vc;
+ (UIAlertController *)qb_showSheetWithTitle:(NSString *)title message:(NSString *)message cancelTitle:(NSString *)cancelTitle otherTitles:(NSArray *)otherTitles handler:(void (^)(UIAlertController *alertController, NSInteger buttonIndex))block vc:(UIViewController *)vc;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIColor++/UIColor+QBrgb.h
|
//
// UIColor+QBrgb.h
// PRJ_CreditRecruit
//
// Created by 任强宾 on 16/6/27.
// Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (QBrgb)
//不需要除以255.0的颜色配置方法
+ (UIColor *)red:(NSUInteger)red green:(NSUInteger)green blue:(NSUInteger)blue alpha:(CGFloat)alpha;
//16进制的颜色值,转颜色
+ (UIColor *)rgbValue:(NSUInteger)rgbValue alpha:(CGFloat)alpha;
//十六进制颜色值字符串,转颜色
+ (UIColor *)colorWithHexString:(NSString *)hexString;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBMacro/QBLayout.h
|
<gh_stars>1-10
//
// QBLayout.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/21.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef QBLayout_h
#define QBLayout_h
//系统固定宽高
#pragma mark ------------------系统固定宽高------------------
#define kScreenW [UIScreen mainScreen].bounds.size.width
#define kScreenH [UIScreen mainScreen].bounds.size.height
//不同屏幕尺寸字体适配(375.0,667.0是因为效果图为IPHONE6 如果不是则根据实际情况修改)
#define kScreenWidthRatio (kScreenW / 375.0)
#define kScreenHeightRatio (kScreenH / 667.0)
#define AdaptedWidth(x) floorf((x) * kScreenWidthRatio)
#define AdaptedHeight(x) floorf((x) * kScreenHeightRatio)
//尺寸适配(按真实比例)取整
#define Adapted(x) floorf((x) * kScreenWidthRatio)
//尺寸适配(按真实比例)不取整(适配字体时需要用)
#define FloatAdapted(x) ((x) * kScreenWidthRatio)
//尺寸适配(轻比例)(特殊情况下使用)
#define LightAdapted(x) floorf((x) * ((kScreenWidthRatio > 1) ? (1 + (kScreenWidthRatio - 1) / 2.0) : (1 - (1 - kScreenWidthRatio) / 2.0)))
#endif /* QBLayout_h */
|
754340156/NQ_quanfu
|
allrichstore/Base/M/BaseModel.h
|
//
// BaseModel.h
// LiveTest
//
// Created by 海广盼 on 16/7/20.
// Copyright © 2016年 NeiQuan. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BaseModel : NSObject
@property (nonatomic, copy) NSString *ID;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Home/Message/V/SystemMsgDetailsCell.h
|
//
// SystemMsgDetailsCell.h
// allrichstore
//
// Created by 任强宾 on 16/11/15.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@interface SystemMsgDetailsCell : BaseTableViewCell
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIColor++/UIColorCategoryHeader.h
|
//
// UIColorCategoryHeader.h
// MeiYiQuan
//
// Created by 任强宾 on 16/9/29.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef UIColorCategoryHeader_h
#define UIColorCategoryHeader_h
#import "UIColor+QBrgb.h" //rgb颜色
#endif /* UIColorCategoryHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/ExpressAddress/V/AddressManageCell.h
|
//
// AddressManageCell.h
// allrichstore
//
// Created by 任强宾 on 16/11/22.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
#import "AddressListModel.h" //我的收货地址model
@class AddressManageCell;
@protocol AddressManageCellDelgate <NSObject>
- (void)addressManageCell:(AddressManageCell *)addressManageCell didseletedBtn:(UIButton *)btn actionType:(ActionType)actionType;
@end
@interface AddressManageCell : BaseTableViewCell
@property (nonatomic, strong) AddressListModel *model;
@property (nonatomic, assign) id<AddressManageCellDelgate> delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderCashCouponCell.h
|
//
// CreateOrderCashCouponCell.h
// allrichstore
//
// Created by zhaozhe on 16/12/5.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@protocol CreateOrderCashCouponCellDelegate <NSObject>
- (void)CreateOrderCashCouponCellDelegate_clickSureWithNumber:(NSString *)number;
@end
@interface CreateOrderCashCouponCell : BaseTableViewCell
/** 代理*/
@property (nonatomic,weak) id <CreateOrderCashCouponCellDelegate> delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodList/C/GoodsFilterVC.h
|
//
// GoodsFilterVC.h
// allrichstore
//
// Created by 任强宾 on 16/11/16.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "SlideWindowVC.h"
#import "GoodsFilterView.h" //商品筛选view
#import "GoodsFilterModel.h"//筛选 model
@interface GoodsFilterVC : SlideWindowVC
- (instancetype)initWithSlideType:(SlideType)slideType model:(id<GoodsFilterAble>)model completeBlock:(CompleteBlock)completeBlock;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBClassMethod/QBShowAlert.h
|
//
// QBShowAlert.h
// YunSuLive
//
// Created by 任强宾 on 16/7/7.
// Copyright © 2016年 22. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface QBShowAlert : NSObject
//展示一个AlertController
+ (void)showAlertControllerWithTitle:(NSString *)title message:(NSString *)message style:(UIAlertControllerStyle)style actions:(NSArray *)actions atViewController:(UIViewController *)viewController;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Home/Main/V/HomeListCell.h
|
<gh_stars>1-10
//
// HotListCell.h
// allrichstore
//
// Created by 任强宾 on 16/10/31.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ActivityListModel.h"
@interface HomeListCell : BaseCollectionViewCell
@property (nonatomic, strong) ActivitySubModel *model;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/NSDictionary++/NSDictionaryCategoryHeader.h
|
<filename>allrichstore/Tools/QBClass/QBCategory/NSDictionary++/NSDictionaryCategoryHeader.h
//
// NSDictionaryCategoryHeader.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/4.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef NSDictionaryCategoryHeader_h
#define NSDictionaryCategoryHeader_h
#import "NSDictionary+Block.h"
#import "NSDictionary+JSONString.h"
#import "NSDictionary+Merge.h"
#import "NSDictionary+SafeAccess.h"
#import "NSDictionary+URL.h"
#import "NSDictionary+XML.h"
#endif /* NSDictionaryCategoryHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/QBAlertView.h
|
<reponame>754340156/NQ_quanfu
//
// QBAlertView.h
// PRJ_CreditRecruit
//
// Created by 任强宾 on 16/5/19.
// Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved.
//
#import <UIKit/UIKit.h>
@class QBAlertView;
@protocol QBAlertViewDelegate <NSObject>
- (void)qbAlertview:(QBAlertView *)qbAlertView clickedButtonAtIndex:(NSInteger)buttonIndex;
@end
@interface QBAlertView : UIView
@property (nonatomic, assign) id<QBAlertViewDelegate> delegate;
@property (nonatomic, strong) UIColor *backColor; //大窗背景色(默认:blackColor)
@property (nonatomic) CGFloat backAlpha; //大窗背景色的透明度(默认:0.2)
@property (nonatomic) BOOL isEffect; //是否是毛玻璃(默认:YES)
@property (nonatomic, strong) UIColor *littleBackColor; //小窗背景色(默认:whiteColor)
@property (nonatomic) CGFloat littleBackAlpha; //小窗背景色的透明度(默认:1.0)
@property (nonatomic, copy) NSString *title; //标题(默认:空)
@property (nonatomic, strong) UIFont *titleFont; //标题的字体(默认:系统粗体 16.0)
@property (nonatomic, strong) UIColor *titleColor; //标题的颜色(默认:blackColor)
@property (nonatomic) NSTextAlignment titleAlignment;//标题的布局方式(默认:居中)
@property (nonatomic, copy) NSString *message; //消息内容(默认:空)
@property (nonatomic, strong) UIFont *messageFont; //标题的字体(默认:系统细体 16.0)
@property (nonatomic, strong) UIColor *messageColor;//标题的颜色(默认:blackColor)
@property (nonatomic) NSTextAlignment messageAlignment;//消息的布局方式(默认:居中)
@property (nonatomic, strong) NSString *cancleTitle; //取消按钮的标题(默认:取消)
@property (nonatomic, strong) UIFont *cancleBtnFont; //取消按钮标题的字体(默认:系统粗体18.0)
@property (nonatomic, strong) UIButton *cancleBtn; //取消按钮
@property (nonatomic, strong) NSArray *otherTitles; //按钮的标题数组(默认为nil)
@property (nonatomic, strong) UIFont *otherBtnFont; //其他按钮的字体(默认:系统细体 17.0)
@property (nonatomic, strong) NSArray *otherBtnArray; //存放按钮的数组(默认为nil)
@property (nonatomic) CGFloat titleTopMargin; //标题上边距(默认:18.0)
@property (nonatomic) CGFloat title_messageSpace; //标题与消息的距离(默认:12.0)
@property (nonatomic) CGFloat message_BtnSpace; //消息与按钮的距离(默认:18.0)
//初始化方法
- (instancetype)initWithTitle:(NSString *)title
message:(NSString *)message
delegate:(id)delegate
cancelButtonTitle:(NSString *)cancelButtonTitle
otherButtonTitles:(NSString *)otherButtonTitles;
//构造便利器
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/GoodsClass/Main/M/GoodsClassModel.h
|
//
// GoodsClassModel.h
// allrichstore
//
// Created by 任强宾 on 16/11/30.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseModel.h"
@class TabMenuView;
@interface GoodsClassModel : NSObject<TabMenuModelAble, NSCoding>
@property (nonatomic, copy) NSString *cName; //名称
@property (nonatomic, copy) NSString *cImgUrl;//图标地址
@property (nonatomic, assign) long cPid; //
@property (nonatomic, assign) long cType; //类型
@property (nonatomic, assign) long id;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/firstView/SecondCell/GD_StoreCell.h
|
//
// GD_StoreCell.h
// allrichstore
//
// Created by zhaozhe on 16/12/12.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
#import "GoodsDetailModel.h"
@class GD_StoreCellDelegate;
@protocol GD_StoreCellDelegate <NSObject>
/** 点击进入按钮 */
- (void)GD_StoreCellDelegate_clickIntoButton:(UIButton *)intoButton;
@end
@interface GD_StoreCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) GoodsDetailStoreModel * model;
/** 代理*/
@property (nonatomic,weak) id <GD_StoreCellDelegate> delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Mine/Main/V/Mine_IconCell.h
|
<gh_stars>1-10
//
// Mine_IconLogoutCell.h
// allrichstore
//
// Created by zhaozhe on 16/11/7.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@class UserModel;
@interface Mine_IconCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) UserModel * model;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/GoodsClass/Main/V/MenuHeaderView.h
|
<filename>allrichstore/UI/GoodsClass/Main/V/MenuHeaderView.h
//
// MenuHeaderView.h
// allrichstore
//
// Created by 任强宾 on 16/11/28.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GoodsClassVC.h"
@interface MenuHeaderView : UICollectionReusableView
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) QButton *btn;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Home/Main/V/HomeHeaderViewCell.h
|
//
// HomeHeaderViewCell.h
// allrichstore
//
// Created by 任强宾 on 16/10/31.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
@class HomeHeaderViewCell;
@protocol HomeHeaderViewCellDelegate <NSObject>
- (void)homeHeaderViewCell:(HomeHeaderViewCell *)cell didSelectedIndex:(NSInteger)index;
@end
@interface HomeHeaderViewCell : BaseCollectionViewCell
@property (nonatomic, assign) id<HomeHeaderViewCellDelegate> delegate;
@property (nonatomic, strong) SDCycleScrollView *cycleScrollView;
@property (nonatomic, strong) SDCycleScrollView *bottomCycleScrollView;
@property (nonatomic, strong) NSArray *collectionlistArray;
+ (CGFloat)cellHeight;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBMacro/QBFont.h
|
//
// QBFont.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/21.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef QBFont_h
#define QBFont_h
#pragma mark - 通用
//#define Font(x) [UIFont fontWithName:@"清茶楷体预览版" size:x]
#define Font(x) [UIFont systemFontOfSize:x]
#define BoldFont(x) [UIFont boldSystemFontOfSize:x]
//#define AdaptedFont(x) [UIFont fontWithName:@"清茶楷体预览版" size:FloatAdapted(x)]
#define AdaptedFont(x) [UIFont systemFontOfSize:FloatAdapted(x)]
#define AdaptedBoldFont(x) [UIFont boldSystemFontOfSize:FloatAdapted(x)]
#define LightAdaptedFont(x) [UIFont systemFontOfSize:LightAdapted(x)]
#pragma mark - 工程字体配置
/***************BaseCell的控件字体***************/
#define BaseFont_Cell_Title AdaptedBoldFont(16)
#define BaseFont_Cell_Context Font_Mid
#define BaseFont_Cell_Time AdaptedFont(13)
//中文字体
#define CHINESE_FONT_NAME @"Heiti SC"
#define CHINESE_SYSTEM(x) [UIFont fontWithName:CHINESE_FONT_NAME size:x]
#endif /* QBFont_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodList/GoodsFilterView/V/LBHeaderView.h
|
<reponame>754340156/NQ_quanfu
//
// LBHeaderView.h
// allrichstore
//
// Created by 任强宾 on 16/11/16.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LBHeaderView : UICollectionReusableView
@property (nonatomic, strong) QButton *btn;
@property (nonatomic, strong) UILabel *label;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/CommonLibrary.h
|
//
// CommonLibrary.h
// CommonLibrary
//
// Created by Alexi on 13-10-22.
// Copyright (c) 2013年 ywchen. All rights reserved.
//
#ifndef CommonLibrary_CommonLibrary_h
#define CommonLibrary_CommonLibrary_h
#import "CommonLibraryMacroConfig.h"
#import "CommonLibraryConfig.h"
//
//====================
// 常用category
#import "CommonCatetory.h"
#import "UIViewInitMethodHeaders.h"
//====================
//字体
#import "FontHelper.h"
//====================
// 颜色
#import "ColorHeaders.h"
//====================
// 查找路径相关
#import "PathHeaders.h"
//
////====================
//// 应用相关
#import "IOSDeviceMacro.h"
#import "IOSDeviceConfig.h"
//====================
// 动画相关
#import "AnimationHeaders.h"
//====================
// 程序框架相关
#import "UIFramework.h"
//
////======================================================
//
////====================
//// 提示相关
//#import "EnDecrypt.h"
//
////
#import "Global.h"
//#import "ServiceHeaders.h"
#import "CommonViewHeaders.h"
//#import "AppConfig.h"
//#import "FMDBHeaders.h"
//====================
// 提示相关
#import "TipUtility.h"
//====================
// 网络请求相关
#import "NetEngineHeaders.h"
//====================
// 添加KVO相关
#import "FBKVOController.h"
#import "NSObject+FBKVOController.h"
//====================
#import "UIAlertView+BlocksKit.h"
#import "UIActionSheet+BlocksKit.h"
#endif
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/CommonView/MoreTableView.h
|
//
// MoreTableView.h
//
//
// Created by Alexi on 12-11-7.
// Copyright (c) 2012年 . All rights reserved.
//
#if kSupportUnusedCommonView
#import <UIKit/UIKit.h>
#import "EGORefreshTableHeaderView.h"
@class MoreTableView;
@protocol MoreTableViewDelegate <NSObject>
@optional
- (void)onMoreTableView:(MoreTableView *)tableView;
@end
@interface MoreTableView : UIView<UITableViewDataSource, UITableViewDelegate, EGORefreshTableHeaderDelegate>
{
@protected
UITableView *_tableView;
EGORefreshTableHeaderView *_refreshHeaderView; // 提示刷新的视图
BOOL _reloading; // 是否正在请求数据
}
@property (nonatomic, retain) UITableView *tableView;
@property (nonatomic, assign) BOOL reloading;
@property (nonatomic, DelegateAssign)id delegate;
// 加载完所有的数据
- (void)onLoadOver;
// 加载更多
- (void)loadMore;
// 停止当前的刷新操作
- (void)stopLoadMore;
// 数据加载完成之后,调用此方法进行显示
- (void)refreshAfterLoadMore;
- (void)reloadData;
- (UITableViewCell *)createCell:(NSString *)identifier;
- (void)configCell:(UITableViewCell *)cell indexPath:(NSIndexPath *)indexPath;
- (void)didSelect:(NSIndexPath *)indexPath;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIButton++/UIButton+Block.h
|
<filename>allrichstore/Tools/QBClass/QBCategory/UIButton++/UIButton+Block.h<gh_stars>1-10
//
// UIButton+Block.h
// allrichstore
//
// Created by 任强宾 on 16/11/14.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <objc/runtime.h>
typedef void(^BtnActionBlock)(void);
@interface UIButton (Block)
@property (readonly) NSMutableDictionary *event;
- (void)handleControlEvent:(UIControlEvents)controlEvent withBlock:(BtnActionBlock)action;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/UIView+InitMethod/UIImageView+InitMethod.h
|
<reponame>754340156/NQ_quanfu
//
// UIImageView+InitMethod.h
// CommonLibrary
//
// Created by Alexi on 14-7-21.
// Copyright (c) 2014年 <NAME>. All rights reserved.
//
#if kSupportUIViewInitMethod
#import <UIKit/UIKit.h>
@interface UIImageView (InitMethod)
+ (instancetype)imageViewWithColor:(UIColor *)color;
+ (instancetype)imageViewWithColor:(UIColor *)color size:(CGSize)size;
+ (instancetype)imageViewWithRandomColor:(CGSize)size;
+ (instancetype)imageViewWithImage:(UIImage *)image;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/Shop/M/ShopHomeModel.h
|
<filename>allrichstore/UI/Common/Shop/M/ShopHomeModel.h
//
// ShopHomeModel.h
// allrichstore
//
// Created by 任强宾 on 16/12/19.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseModel.h"
#import "GoodsModel.h"
@class ShopCoupon;
@interface ShopHomeModel : BaseModel
@property (nonatomic, copy) NSString *collectstate;
@property (nonatomic, copy) NSString *shopid;
@property (nonatomic, copy) NSString *userid;
@property (nonatomic, copy) NSString *activityname;
@property (nonatomic, strong) NSArray<GoodsModel *> *shopactivity;
@property (nonatomic, strong) NSArray<ShopCoupon *> *shopcoupon;
@end
@interface ShopCoupon : BaseModel
@property (nonatomic, copy) NSString *c_shopid;
@property (nonatomic, copy) NSString *c_status;
@property (nonatomic, copy) NSString *c_endtime;
@property (nonatomic, copy) NSString *c_type;
@property (nonatomic, copy) NSString *c_image;
@property (nonatomic, copy) NSString *c_costmin;
@property (nonatomic, copy) NSString *c_costmax;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Home/ShopsApply/Main/C/ShopsApplyVC.h
|
<gh_stars>1-10
//
// ShopsApplyVC.h
// allrichstore
//
// Created by zhaozhe on 16/11/22.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseVC.h"
@interface ShopsApplyVC : BaseVC
@end
|
754340156/NQ_quanfu
|
allrichstore/Library/PPNumberButton/PPNumberButton.h
|
//
// PPNumberButton.h
// PPNumberButton
//
// Created by AndyPang on 16/8/31.
// Copyright © 2016年 AndyPang. All rights reserved.
//
/*
*********************************************************************************
*
*⭐️⭐️⭐️ 新建 PP-iOS学习交流群: 323408051 欢迎加入!!! ⭐️⭐️⭐️
*
* 如果您在使用 PPNumberButton 的过程中出现bug或有更好的建议,还请及时以下列方式联系我,我会及
* 时修复bug,解决问题.
*
* Weibo : CoderPang
* Email : <EMAIL>
* QQ 群 : 323408051
* GitHub: https://github.com/jkpang
*
* PS:我的另外两个很好用的封装,欢迎使用!
* 1.对AFNetworking 3.x 与YYCache的二次封装,一句代码搞定数据请求与缓存,告别FMDB:
* GitHub:https://github.com/jkpang/PPNetworkHelper
* 2.一行代码获取通讯录联系人,并进行A~Z精准排序(已处理姓名所有字符的排序问题):
* GitHub:https://github.com/jkpang/PPGetAddressBook
*
* 如果 PPNumberButton 好用,希望您能Star支持,你的 ⭐️ 是我持续更新的动力!
*********************************************************************************
*/
#import <UIKit/UIKit.h>
@protocol PPNumberButtonDelegate <NSObject>
@optional
/** 加减按钮点击响应的代理回调*/
- (void)pp_numberButton:(__kindof UIView *)numberButton number:(NSString *)number;
@end
IB_DESIGNABLE
@interface PPNumberButton : UIView
/**
* 通过类方法创建一个按钮实例对象
*/
+ (instancetype)numberButtonWithFrame:(CGRect)frame;
/** 加减按钮的Block回调*/
@property (nonatomic, copy) void(^numberBlock)(NSString *number);
/** 代理*/
@property (nonatomic, weak) id<PPNumberButtonDelegate> delegate;
#pragma mark - 自定义样式属性设置
/** 是否开启抖动动画,默认NO*/
@property (nonatomic, assign ) IBInspectable BOOL shakeAnimation;
/** 为YES时,初始化时减号按钮隐藏(饿了么/百度外卖/美团外卖按钮模式),default is NO*/
@property (nonatomic, assign ) IBInspectable BOOL decreaseHide;
/** 设置边框的颜色,如果没有设置颜色,就没有边框 */
@property (nonatomic, strong ) IBInspectable UIColor *borderColor;
/** 输入框中的内容 */
@property (nonatomic, copy ) NSString *currentNumber;
/** 输入框中的字体大小 */
@property (nonatomic, assign ) IBInspectable CGFloat inputFieldFont;
/** 加减按钮的字体大小 */
@property (nonatomic, assign ) IBInspectable CGFloat buttonTitleFont;
/** 加按钮背景图片 */
@property (nonatomic, strong ) IBInspectable UIImage *increaseImage;
/** 减按钮背景图片 */
@property (nonatomic, strong ) IBInspectable UIImage *decreaseImage;
/** 加按钮标题 */
@property (nonatomic, copy ) IBInspectable NSString *increaseTitle;
/** 减按钮标题 */
@property (nonatomic, copy ) IBInspectable NSString *decreaseTitle;
/** 最小值, default is 1 */
@property (nonatomic, assign ) IBInspectable NSInteger minValue;
/** 最大值 */
@property (nonatomic, assign ) NSInteger maxValue;
@end
#pragma mark - NSString分类
@interface NSString (PPNumberButton)
/**
字符串 nil, @"", @" ", @"\n" Returns NO;
其他 Returns YES.
*/
- (BOOL)isNotBlank;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/ChoiceGoods/Main/C/ChoiceGoodsVC.h
|
//
// ChoiceGoodsVC.h
// allrichstore
//
// Created by 任强宾 on 16/10/27.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "GoodsListSecondStyleVC.h"
@interface ChoiceGoodsVC : GoodsListSecondStyleVC
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIImage++/UIImage+Common.h
|
<reponame>754340156/NQ_quanfu
//
// UIImage+Common.h
// MeiYiQuan
//
// Created by 任强宾 on 16/9/29.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Common)
//截取控件的图
+ (UIImage *)imageWithView:(UIView *)view;
- (UIImage *)fixOrientation;
- (UIImage *)thumbnailWithSize:(CGSize)asize;
- (UIImage *)rescaleImageToSize:(CGSize)size;
- (UIImage *)cropImageToRect:(CGRect)cropRect;
- (CGSize)calculateNewSizeForCroppingBox:(CGSize)croppingBox;
- (UIImage *)cropCenterAndScaleImageToSize:(CGSize)cropSize;
- (UIImage *)cropToSquareImage;
// path为图片的键值
- (void)saveToCacheWithKey:(NSString *)key;
+ (UIImage *)loadFromCacheWithKey:(NSString *)key;
+ (UIImage *)imageWithColor:(UIColor *)color;
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
+ (UIImage *)randomColorImageWith:(CGSize)size;
- (UIImage *)croppedImage:(CGRect)bounds;
@end
#if kSupportUIImageNonCommon
//========================================
@interface UIImage (Cut)
- (UIImage *)clipImageWithScaleWithsize:(CGSize)asize;
- (UIImage *)clipImageWithScaleWithsize:(CGSize)asize roundedCornerImage:(NSInteger)roundedCornerImage borderSize:(NSInteger)borderSize;
@end
//========================================
@interface UIImage (Resize)
- (UIImage *)thumbnailImage:(NSInteger)thumbnailSize transparentBorder:(NSUInteger)borderSize cornerRadius:(NSUInteger)cornerRadius interpolationQuality:(CGInterpolationQuality)quality;
- (UIImage *)resizedImage:(CGSize)newSize interpolationQuality:(CGInterpolationQuality)quality;
- (UIImage *)resizedImageWithContentMode:(UIViewContentMode)contentMode bounds:(CGSize)bounds interpolationQuality:(CGInterpolationQuality)quality;
- (UIImage *)resizedImage:(CGSize)newSize transform:(CGAffineTransform)transform drawTransposed:(BOOL)transpose interpolationQuality:(CGInterpolationQuality)quality;
- (UIImage *)resizedImageInRect:(CGRect)rect transform:(CGAffineTransform)transform drawTransposed:(BOOL)transpose interpolationQuality:(CGInterpolationQuality)quality;
- (CGAffineTransform)transformForOrientation:(CGSize)newSize;
@end
//========================================
@interface UIImage (RoundedCorner)
- (UIImage *)roundedCornerImage:(NSInteger)cornerSize borderSize:(NSInteger)borderSize;
- (void)addRoundedRectToPath:(CGRect)rect context:(CGContextRef)context ovalWidth:(CGFloat)ovalWidth ovalHeight:(CGFloat)ovalHeight;
@end
//========================================
@interface UIImage (SplitImageIntoTwoParts)
+ (NSArray*)splitImageIntoTwoParts:(UIImage*)image;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/UIView+InitMethod/UIViewInitMethodHeaders.h
|
//
// UIViewInitMethodHeaders.h
// CommonLibrary
//
// Created by Alexi on 14-7-21.
// Copyright (c) 2014年 <NAME>. All rights reserved.
//
#ifndef CommonLibrary_UIViewInitMethodHeaders_h
#define CommonLibrary_UIViewInitMethodHeaders_h
#import "UILabel+InitMethod.h"
#if kSupportUIViewInitMethod
#import "UIImageView+InitMethod.h"
#endif
#endif
|
754340156/NQ_quanfu
|
allrichstore/Other/Layout.h
|
//
// Layout.h
// FullRich
//
// Created by 任强宾 on 16/10/26.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef Layout_h
#define Layout_h
#pragma mark - 全富
//首页和店铺首页组头的高度
#define Layout_home_sectionHeader_height 40
//自定义底部bar的高度
#define Layout_customBar_height 45
//圆角的大小
#define Layout_cornerRadius 3.0
//边线的宽度
#define Layout_borderWidth 0.6
//margin
#define kMargin 10.0f
//footerH
#define kFooterViewH 5.0f
// 某些页面下面红色横条
#define kBottomH 45.0f
//右箭头的尺寸
#define kArrowImageVSize CGSizeMake(9, 14)
#pragma mark - 通用尺寸
/****************通用尺寸****************/
//导航栏高度
#define TopBarHeight 64
#define kCommentRect CGRectMake(0, TopBarHeight, kScreenW, kScreenH - TopBarHeight)
#pragma mark - 比例
/****************比例****************/
#define Banner_W_H_Scale 2.2 //Banner图的宽高比
#define Banner_Shop_W_H_Scale 2.2 //店铺Banner图的宽高比
#define Advert_W_H_Scale 5.0 //广告图的宽高比
#define Cell_Goods_W_H_Scale (156.0 / 120) //商品图片展示的宽高比
#endif /* Layout_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/Animation/ADTransition/Scale/UIViewController+ADScaleTransition.h
|
<gh_stars>1-10
//
// UIViewController+ADScaleTransition.h
// CommonLibrary
//
// Created by James on 3/7/14.
// Copyright (c) 2014 CommonLibrary. All rights reserved.
//
#if kSupportADTransition
#import <UIKit/UIKit.h>
#import "ADScaleTransition.h"
@interface UIViewController (ADScaleTransition)
@property (nonatomic) ADScaleTransition *presentedScaleTransition;
@property (nonatomic) ADScaleTransition *presentingScaleTransition;
/**
* Present a view controller modally from the current view controller using a
* scale animation.
* @param destinationViewController The view controller to present
* @param sourceView A subview of the current view controller to scale from
* @param completion A block to run on completion. Can be NULL.
*/
- (void)scaleToViewController:(UIViewController *)destinationViewController fromView:(UIView *)sourceView withCompletion:(void (^)(void))completion;
/**
* Present a view controller modally from the current view controller using a
* scale animation.
* @param destinationViewController The view controller to present
* @param sourceView A subview of the current view controller to scale 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)scaleToViewController:(UIViewController *)destinationViewController fromView:(UIView *)sourceView withSourceSnapshotImage:(UIImage *)sourceSnapshot andDestinationSnapshot:(UIImage *)destinationSnapshot withCompletion:(void (^)(void))completion;
/**
* Present a view controller as a child view controller from the current view
* controller using a scale animation.
* @param destinationViewController The view controller to present
* @param sourceView A subview of the current view controller to scale 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)scaleToViewController:(UIViewController *)destinationViewController fromView:(UIView *)sourceView asChildWithSize:(CGSize)destinationSize withCompletion:(void (^)(void))completion;
/**
* Present a view controller as a child view controller from the current view
* controller using a scale animation.
* @param destinationViewController The view controller to present
* @param sourceView A subview of the current view controller to scale 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)scaleToViewController:(UIViewController *)destinationViewController fromView:(UIView *)sourceView asChildWithSize:(CGSize)destinationSize withSourceSnapshotImage:(UIImage *)sourceSnapshot andDestinationSnapshot:(UIImage *)destinationSnapshot withCompletion:(void (^)(void))completion;
/**
* Dismiss the current modal view controller with a scale animation.
* @discussion Only works when the current view controller has been presented
* using one of the category convenience methods to present the view controller.
* @param completion A block to run on completion. Can be NULL.
*/
- (void)dismissScaleWithCompletion:(void (^)(void))completion;
/**
* Dismiss the current modal view controller with a scale animation to a cell in
* a UICollectionViewController or UITableViewController.
* @discussion Only works when the current view controller has been presented
* using one of the category convenience methods to present the view controller.
* @param indexPath The location of the cell to scale back to.
* @param completion A block to run on completion. Can be NULL.
*/
- (void)dismissScaleToIndexPath:(NSIndexPath *)indexPath withCompletion:(void (^)(void))completion;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Comment/V/SecondCommentBottomView.h
|
<reponame>754340156/NQ_quanfu
//
// SecondCommentBottomView.h
// allrichstore
//
// Created by zhaozhe on 16/11/23.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol SecondCommentBottomViewDelegate <NSObject>
- (void)SecondCommentBottomViewDelegate_clickSubmit;
@end
@interface SecondCommentBottomView : UIView
/** 代理*/
@property (nonatomic,weak) id <SecondCommentBottomViewDelegate> delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/UIFramework/RefreshView.h
|
//
// RefreshView.h
// CommonLibrary
//
// Created by Alexi on 15-2-4.
// Copyright (c) 2015年 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RefreshAbleView.h"
typedef enum
{
ELoadingOver,
EWillLoading,
EReleaseLoading,
ELoading,
}RefreshLoadingState;
@interface HeadRefreshView : UIView<RefreshAbleView>
{
@protected
UILabel *_loading;
UIActivityIndicatorView *_indicator;
@protected
RefreshLoadingState _state;
}
@property (nonatomic, assign) NSInteger refreshHeight;
@property (nonatomic, readonly) RefreshLoadingState state;
@end
@interface FootRefreshView : HeadRefreshView
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/UIFramework/PopupView.h
|
<reponame>754340156/NQ_quanfu<gh_stars>1-10
//
// PopupView.h
// HudDemo
//
// Created by Alexi on 13-12-3.
// Copyright (c) 2013年 <NAME>. All rights reserved.
//
#if kSupportPopupView
#import <UIKit/UIKit.h>
@class PopupView;
@protocol PopupContentViewDelegate <NSObject>
// 在Window中时显示的大小
//- (CGSize)contentSize;
@required
- (void)setPopupParent:(PopupView *)popup;
- (CGRect)showRect;
- (void)closePopup;
// YES:击返回空的区域
- (BOOL)isAlert;
// 点击空白区域
- (void)onTouchBlank;
@optional
- (void)adjustShowRectOnRorate;
@end
@class PopupContentView;
typedef void (^PopupContentViewAnimationBlock)(PopupContentView *popup);
@interface PopupContentView : UIView<PopupContentViewDelegate>
{
@protected
__unsafe_unretained PopupView *_popupParent;
CGRect _showRect;
CGSize _showSize;
BOOL _isAlert;
}
@property (nonatomic, assign) PopupView *popupParent;
@property (nonatomic, assign) CGRect showRect;
@property (nonatomic, assign) CGSize showSize;
@property (nonatomic, assign) BOOL isAlert;
@property (nonatomic, copy) PopupContentViewAnimationBlock outAnimation;
@end
typedef enum
{
/** Opacity animation */
EPopupViewAnimationFade,
/** Opacity + scale animation */
EPopupViewAnimationZoom,
EPopupViewAnimationZoomOut = EPopupViewAnimationZoom,
EPopupViewAnimationZoomIn
}PopupViewAnimation;
@interface PopupView : UIView<UIGestureRecognizerDelegate>
@property (assign) BOOL dimBackground;
@property (assign) PopupViewAnimation animationType;
@property (nonatomic, readonly) UIView<PopupContentViewDelegate> *contentView;
@property (nonatomic, assign) CGFloat animationDuration;
+ (PopupView *)alertInWindow:(PopupContentView *)contentView;
+ (PopupView *)alertInWindow:(PopupContentView *)contentView withAnimation:(void (^)(void))animation;
+ (PopupView *)alert:(PopupContentView *)contentView inView:(UIView *)view;
+ (PopupView *)alert:(PopupContentView *)contentView inView:(UIView *)view withAnimation:(void (^)(void))animation;
+ (PopupView *)tipInWindow:(PopupContentView *)contentView;
+ (PopupView *)tipInWindow:(PopupContentView *)contentView withAnimation:(void (^)(void))animation;
+ (PopupView *)tip:(PopupContentView *)contentView inView:(UIView *)view;
+ (PopupView *)tip:(PopupContentView *)contentView inView:(UIView *)view withAnimation:(void (^)(void))animation;
- (void)show:(BOOL)animated;
- (void)hide:(BOOL)animated;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/Library/SGPickerView_DatePicker/SGDatePickerSheetView.h
|
<gh_stars>1-10
//
// SGDatePickerSheetView.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>
@interface SGDatePickerSheetView : UIView
@property (weak, nonatomic) IBOutlet UIDatePicker *datePicker;
/** 取消按钮的点击事件 */
- (void)addTargetCancelBtn:(id)target action:(SEL)action;
/** 确定按钮的点击事件 */
- (void)addTargetSureBtn:(id)target action:(SEL)action;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/secondView/GoodsDetailSecondHeaderView.h
|
//
// GoodsDetailSecondHeaderView.h
// allrichstore
//
// Created by zhaozhe on 16/11/17.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol GoodsDetailSecondHeaderViewDelegate <NSObject>
- (void)GoodsDetailSecondHeaderViewDelegate_clickIndex:(NSInteger)index;
@end
@interface GoodsDetailSecondHeaderView : UIView
- (instancetype)initWithFrame:(CGRect)frame TitleArray:(NSArray *)titleArray;
/** 代理*/
@property (nonatomic,weak) id <GoodsDetailSecondHeaderViewDelegate> delegate;
/** 点击一下按钮 */
- (void)GoodsDetailSecondHeaderViewClickWithIndex:(NSInteger)index;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIButton++/UIButtonCategoryHeader.h
|
<reponame>754340156/NQ_quanfu
//
// UIButtonCategoryHeader.h
// allrichstore
//
// Created by 任强宾 on 16/11/27.
// Copyright © 2016年 allrich88. All rights reserved.
//
#ifndef UIButtonCategoryHeader_h
#define UIButtonCategoryHeader_h
#import "UIButton+qbExtension.h" //常规扩展
#import "UIButton+Block.h" //block扩展
#endif /* UIButtonCategoryHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/firstView/GoodsDetailScrollView.h
|
//
// GoodsDetailScrollView.h
// allrichstore
//
// Created by zhaozhe on 16/11/1.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@class GoodsDetailModel,GoodsDetailEvaluativeView;
@protocol GoodsDetailScrollViewDelegate <NSObject>
/** 点击评论整体 */
- (void)GoodsDetailScrollViewDelegate_clickEvaluativeWithEvaluativeView:(GoodsDetailEvaluativeView *)evaluativeView;
@end
@interface GoodsDetailScrollView : UIScrollView
/** model */
@property(nonatomic,strong) GoodsDetailModel * model;
/** 代理*/
@property (nonatomic,weak) id <GoodsDetailScrollViewDelegate> GD_delegate;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/LDTools/LDFrameExtension/UIView+LDFrameExtension.h
|
//
// UIView+LDFrameExtension.h
// OCLDProject
//
// Created by apple on 16/4/29.
// Copyright © 2016年 LDSmallCat. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (LDFrameExtension)
@property (nonatomic,assign) CGFloat LDWidth;
@property (nonatomic,assign) CGFloat LDHeight;
@property (nonatomic,assign) CGFloat LDX;
@property (nonatomic,assign) CGFloat LDY;
@property (nonatomic,assign) CGSize LDSize;
@property (nonatomic, assign) CGFloat LDCenterX;
@property (nonatomic, assign) CGFloat LDCenterY;
@property (nonatomic, assign) CGFloat LDRight;
@property (nonatomic, assign) CGFloat LDBottom;
@end
/**
* 在分类中声明属性@property,只会生成方法的声明,不会生成方法的实现和带有_下划线的成员变量.只相当于写了set和get方法的声明没有实现
* 分类中一般只添加方法,不添加成员变量.分类中特有的语法.
*/
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/ExpressAddress/C/AddressManageVC.h
|
<reponame>754340156/NQ_quanfu<gh_stars>1-10
//
// AddressManageVC.h
// allrichstore
//
// Created by 任强宾 on 16/11/22.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseVC.h"
@interface AddressManageVC : BaseVC
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/NetEngine/NetEngineHeaders.h
|
//
// NetEngineHeaders.h
// CommonLibrary
//
// Created by Alexi on 14-2-25.
// Copyright (c) 2014年 CommonLibrary. All rights reserved.
//
#ifndef CommonLibrary_NetEngineHeaders_h
#define CommonLibrary_NetEngineHeaders_h
#if kSupportMKNetworkKit
#import "MKNetworkKit.h"
#endif
#endif
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/DatePickerView.h
|
//
// DatePickerView.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/8.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, DatePickerViewType)
{
DatePickerViewTypeNormal = 0,
DatePickerViewTypeHaveBtn,
DatePickerViewTypeAutoComputeAge,
DatePickerViewTypeAutoComputeConstellation,
DatePickerViewTypeAutoComputeAgeAndConstellation
};
typedef void(^DatePickerViewBlock)(NSDate *selectedDate, NSInteger age, NSString *constellation);
@interface DatePickerView : UIView
- (instancetype)initWithStyle:(DatePickerViewType)style date:(NSDate *)date block:(DatePickerViewBlock)block;
//显示
- (void)show;
//隐藏
- (void)dismiss;
//设置顶部的按钮Bar的颜色 和 按钮标题的颜色
- (void)setBtnBarColor:(UIColor *)barColor btnTitleColor:(UIColor *)btnTitleColor;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/ExpressAddress/M/AddressListModel.h
|
//
// AddressListModel.h
// allrichstore
//
// Created by 任强宾 on 16/11/22.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseModel.h"
@interface AddressListModel : BaseModel<NSCopying>
//收货人姓名
@property (nonatomic, copy) NSString *name;
//收货人电话
@property (nonatomic, copy) NSString *tel;
//省市区拼接的地址
@property (nonatomic, copy) NSString *addressPCD;
//完整地址
@property (nonatomic, copy) NSString *addressText;
//收货地址一级
@property (nonatomic, copy) NSString *addressProvince;
//收货地址二级
@property (nonatomic, copy) NSString *addressCity;
//收货地址三级
@property (nonatomic, copy) NSString *addressDistrict;
//详细地址
@property (nonatomic, copy) NSString *addressDetail;
//是否是默认地址
@property (nonatomic, assign) BOOL isDefault;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/Invoice/M/InvoiceModel.h
|
<filename>allrichstore/UI/Common/Invoice/M/InvoiceModel.h
//
// InvoiceModel.h
// allrichstore
//
// Created by 任强宾 on 16/11/18.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSUInteger, InvoiceType)
{
InvoiceTypeOrdinaryPersonal = 0, //普通(个人)
InvoiceTypeOrdinaryCompany, //普通(公司)
InvoiceTypeAddedTax, //增值税
InvoiceTypeNotNeed //不要发票
};
@interface InvoiceModel : NSObject<NSCopying>
//发票类型
@property (nonatomic, assign) InvoiceType type;
//发票抬头
@property (nonatomic, copy) NSString *header;
//纳税人识别码
@property (nonatomic, copy) NSString *identifierCode;
//注册地址
@property (nonatomic, copy) NSString *registerAddress;
//注册电话
@property (nonatomic, copy) NSString *registerTel;
//开户银行
@property (nonatomic, copy) NSString *accountBank;
//银行账户
@property (nonatomic, copy) NSString *accountNum;
//发票内容数组
@property (nonatomic, strong) NSMutableArray *containArray;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/CustomNaviBar/CustomNaviBar.h
|
<gh_stars>1-10
//
// CustomNaviBar.h
// allrichstore
//
// Created by 任强宾 on 16/10/31.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, CustomNaviBarStyle) {
CustomNaviBarStyleTranslucent = 0,
CustomNaviBarStyleOpaque
};
@interface CustomNaviBar : UIView
{
}
@property (nonatomic, strong) UIView *titleView;
@property (nonatomic, strong) UIView *bottomLineView;
@property (nonatomic, strong) UIView *backGoundView;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/NSArray++/NSArray+QBArray.h
|
<filename>allrichstore/Tools/QBClass/QBCategory/NSArray++/NSArray+QBArray.h
//
// NSArray+QBArray.h
// PRJ_CreditRecruit
//
// Created by apple on 16/4/21.
// Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSArray (QBArray)
//包含某个字符串
- (BOOL)isHaveString:(NSString *)string;
//将model数组转换成其属性的数组
- (NSArray *)valueArrayWithKey:(NSString *)key;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/NSString++/NSString+QBGet.h
|
//
// NSString+QBGet.h
// PRJ_CreditRecruit
//
// Created by apple on 15/2/28.
// Copyright © 2015年 河南维创盈通科技有限公司. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (QBGet)
//如果字符串长度大于min, 截取min长度的字符串
- (NSString *)getSubStringNotLongThanLength:(NSInteger)length;
//去除一个字符串的某个字串
- (NSString *)removeString:(NSString *)string;
//将一个字符串后N位,转换为某个字符串
- (NSString *)getStringCoverLastLength:(NSInteger)length
newString:(NSString *)newString;
//将一个字符串按照某个格式进行空格
- (NSString *)getStringLikeFormatString:(NSString *)formatString;
//将一个字符串在固定的N个位置插入某个字符
- (NSString *)insetedSubString:(NSString *)subString
atIndexArray:(NSArray *)indexArray;
//时间字符串(格式yyyy-MM-dd)转时间截(秒)
- (NSTimeInterval)convertToTimeSec;
//时间字符串(格式yyyy-MM-dd)转时间截(毫秒)
- (NSTimeInterval)convertToTimeMillSec;
//将对象转成json字符串
+ (NSString *)jsonStringWithObject:(id)obj;
//商品价格格式化
+ (NSString *)stringWithPrice:(CGFloat)price;
//拼接model数组中的字符串
+ (NSString *)stringWithModelArray:(NSArray *)array
modelKey:(NSString *)key
spaceStr:(NSString *)spaceStr;
//时间截(秒)字符串->格式化字符串
+ (NSString *)dateStringWithSec:(NSInteger)sec;
//时间截(毫秒)字符串->格式化字符串
+ (NSString *)dateStringWithMillSec:(NSInteger)millSec;
#pragma mark -
/** 时间戳转时间(转成xxxx-xx-xx) */
+ (NSString *)StringDateWithDate:(NSString *)date;
/** 去字符串后四位(手机尾号) */
+ (NSString *)StringEndFourWithStr:(NSString *)str;
/** 把字典转成字符串形式 */
+ (NSString *)StringDicWithDic:(NSDictionary *)dic;
/** 数字过万处理 */
+ (NSString *)StringBreakWanHandleWithString:(NSString *)string;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/Single.h
|
//
// Single.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/12.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <Foundation/Foundation.h>
@class UserModel;
@interface Single : NSObject
+ (Single *)single;
+ (void)setLoc:(NSString *)locStr;
+ (QButton *)locBtnTitle:(NSString *)title;
+ (BOOL)isLogin;
+ (NSMutableArray *)addressListArray;
//返回当前(定位/选择的)地址
+ (NSString *)locStr;
@property (nonatomic, copy) NSString *locStr;
//地址选择数组
@property (nonatomic, strong) NSMutableArray *loctionBtnsArray;
//我的收货地址列表数组
@property (nonatomic, strong) NSMutableArray *addressListArray;
@property (nonatomic, assign) BOOL isLogin;
#pragma mark - 图片资源配置
/**图片资源配置*/
@property (nonatomic, copy) NSString *themeName;// 主题名字
@property (nonatomic, strong) NSDictionary * themePlistDic; // 主题属性列表字典
+ (UIImage *)themeImageWithName:(NSString *)imageName;
#pragma mark - 用户相关
//用户信息归档到本地
+ (void)updateWithUserModel:(UserModel *)userModel;
//取出来
+ (UserModel *)getUserModel;
//退出登录的时候清空数据
+ (void)clearUserMode;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBClassMethod/QBShowMessage.h
|
<filename>allrichstore/Tools/QBClass/QBClassMethod/QBShowMessage.h
//
// QBShowMessage.h
// RQBClass
//
// Created by apple on 15/1/12.
// Copyright © 2015年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface QBShowMessage : NSObject
//在窗口展示消息信息(默认样式)
+ (void)showMessage:(NSString *)message;
//在窗口展示消息信息(默认样式)(自定义时间)
+ (void)showMessage:(NSString *)message
time:(CGFloat)time;
//在窗口中心展示消息信息(默认样式)(自定义时间)
+ (void)showMessageAtCenter:(NSString *)message
time:(CGFloat)time;
//在窗口展示消息信息(默认样式)(自定义高度)
+ (void)showMessage:(NSString *)message
atTop:(CGFloat)top;
//在窗口展示消息信息(默认样式)(自定义高度, 时间)
+ (void)showMessage:(NSString *)message
atTop:(CGFloat)top
time:(CGFloat)time;
//隐藏显示的消息(在切换界面的时候需要调用)(避免新的页面残留上一个页面的提醒消息)
+ (void)hiddenMessage; //对所有showMessage都起作用
//展示信息(第二种类型)(自定义时间, 前景色, 背景色)
+ (void)showMessage:(NSString *)message
time:(CGFloat)time
backColor:(UIColor *)backColor
frontColor:(UIColor *)frontColor;
//展示动画弹窗信息
+ (void)showPopWindowWithMessage1:(NSString *)message1
message2:(NSString *)message2
message3:(NSString *)message3
time:(CGFloat)time
frame:(CGRect)frame
backColor:(UIColor *)backColor
frontColor:(UIColor *)frontColor;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/NSString++/NSStringCategoryHeader.h
|
//
// NSStringCategoryHeader.h
// MeiYiQuan
//
// Created by 任强宾 on 16/9/29.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef NSStringCategoryHeader_h
#define NSStringCategoryHeader_h
#import "NSString+Base64.h"
#import "NSString+QBGet.h"
#import "NSString+QBJudge.h"
#import "NSString+Additions.h"
#import "NSAttributedString+Extension.h"
#endif /* NSStringCategoryHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/CommonLibraryConfig.h
|
//
// CommonLibraryConfig.h
// CommonLibrary
//
// Created by AlexiChen on 16/1/29.
// Copyright © 2016年 AlexiChen. All rights reserved.
//
#ifndef CommonLibraryConfig_h
#define CommonLibraryConfig_h
// CommonLibrary中的样式配置
#ifndef kAppBakgroundColor
// 背景色
#define kAppBakgroundColor kWhiteColor
#endif
#ifndef kAppModalBackgroundColor
// 模态框内容背景色
#define kAppModalBackgroundColor [kBlackColor colorWithAlphaComponent:0.6]
#endif
#ifndef kAppModalDimbackgroundColor
// 模态框dim的背景色
#define kAppModalDimbackgroundColor [RGB(16, 16, 16) colorWithAlphaComponent:0.3]
#endif
// 导航主色调
#ifndef kNavBarThemeColor
#define kNavBarThemeColor nil
#endif
#ifndef kDefaultCellHeight
// 默认TableViewCell高度
#define kDefaultCellHeight 50
#endif
#ifndef kDefaultMargin
// 默认界面之间的间距
#define kDefaultMargin 8
#endif
#ifndef kMainTextColor
// 默认的字体颜色
#define kMainTextColor kBlackColor
#endif
#ifndef kDetailTextColor
#define kDetailTextColor RGB(145, 145, 145)
#endif
#ifndef kDownRefreshLoadOver
#define kDownRefreshLoadOver @"没有更多了"
#endif
#ifndef kDownReleaseToRefresh
#define kDownReleaseToRefresh @"松开即可更新..."
#endif
#ifndef kDownDragUpToRefresh
#define kDownDragUpToRefresh @"上拉即可更新..."
#endif
#ifndef kDownRefreshLoading
#define kDownRefreshLoading @"加载中..."
#endif
#ifndef kCommonLargeTextFont
// CommonLibrary中常用的字体
#define kCommonLargeTextFont [UIFont systemFontOfSize:16]
#endif
#ifndef kCommonMiddleTextFont
#define kCommonMiddleTextFont [UIFont systemFontOfSize:14]
#endif
#ifndef kCommonSmallTextFont
#define kCommonSmallTextFont [UIFont systemFontOfSize:12]
#endif
#endif /* CommonLibraryConfig_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/AddressPickerView/AddressPickerView.h
|
<reponame>754340156/NQ_quanfu
//
// AddressPickerView.h
// MeiYiQuan
//
// Created by 任强宾 on 16/9/28.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AddressModel.h"
typedef NS_ENUM(NSInteger, AddressViewType)
{
AddressViewTypeNormal = 0,
AddressViewTypeHaveBtn
};
@interface AddressPickerView : UIView <UIPickerViewDelegate, UIPickerViewDataSource>
//自定义初始化方法,内部事件通过block传递出来
- (instancetype)initWithStyle:(AddressViewType)style columnCount:(NSInteger)columnCount block:(AdressBlock)block;
//设置顶部的按钮Bar的颜色 和 按钮标题的颜色
- (void)setBtnBarColor:(UIColor *)barColor btnTitleColor:(UIColor *)btnTitleColor;
//显示
- (void)show;
//隐藏
- (void)dismiss;
//绑定默认值 省名 市名 区名
- (void)configDataProvinceName:(NSString *)provinceName cityName:(NSString *)cityName regionName:(NSString *)regionName;
//绑定默认值 省码 市码 区码
- (void)configDataProvinceCode:(NSString *)provinceCode cityCode:(NSString *)cityCode regionCode:(NSString *)regionCode;
@property (nonatomic, strong) UIView *bgView;
@end
|
754340156/NQ_quanfu
|
allrichstore/Base/C/BaseVC.h
|
//
// BaseVC.h
// LiveTest
//
// Created by 任强宾 on 16/8/14.
// Copyright © 2016年 NeiQuan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BaseVC : UIViewController<UITableViewDataSource, UITableViewDelegate, UICollectionViewDelegateFlowLayout, UICollectionViewDataSource, UICollectionViewDelegate, UIGestureRecognizerDelegate, UIWebViewDelegate>
{
NSMutableArray *childVcArray; //子控制器数组
UITableView *_tableView;
UICollectionView *_collectionView;
UIScrollView *_scrollView;
UIWebView *_webView;
NSMutableArray *_listArray; //列表数据源
NSInteger _pageIndex; //列表页码
MJRefreshNormalHeader *_refreshHeader; //下拉刷新
MJRefreshAutoNormalFooter *_refreshFooter; //上拉加载
BOOL _isEditState; //是否是编辑状态
}
//是否是第一次创建视图的时候
@property (nonatomic, assign) BOOL isFirstLoad;
//视图是否已经出现
@property (nonatomic, assign) BOOL isDidAppear;
//是否是编辑状态
@property (nonatomic, assign) BOOL isEditState;
//导航条底部的黑线(系统和自定义)隐藏和颜色的设置
@property (nonatomic, assign) BOOL naviBarSystemLine_hidden;
@property (nonatomic, assign) BOOL naviBarCustomLine_hidden;
@property (nonatomic, strong) UIColor *naviBarCustomLine_color;
@property (nonatomic, weak, readonly) AppDelegate *appDelegate;
@property (nonatomic, strong) NSMutableArray *childVcArray;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, strong) UIScrollView *scrollView;
@property (nonatomic, strong) UIWebView *webView;
@property (nonatomic, strong) NSString *webViewUrl;
@property (nonatomic, strong) NSString *listUrl;
@property (nonatomic, strong) NSMutableArray *listArray;
@property (nonatomic, strong) NSArray *placeholderArray;
@property (nonatomic, strong) MJRefreshNormalHeader *refreshHeader; //下拉刷新
@property (nonatomic, strong) MJRefreshAutoNormalFooter *refreshFooter; //上拉加载
@property (nonatomic, assign) BOOL isUseKeyboardManager; //是否使用键盘管理者(默认使用)
@property (nonatomic, assign) NSInteger pageIndex;//页码
@property (nonatomic, strong) UIImageView *backgroundView;//背景
@property (nonatomic, assign) NSInteger networkCount;
//自定义控制器的初始化方法
//- (instancetype)initWithRootView:(UIView *)rootView;
//配置初始化的参数 (供子类重写)
- (void)configParams;
//配置容器类 (供子类重写)
- (void)configContainer;
//添加views (供子类重写)
- (void)addOwnViews;
//配置,布局views (供子类重写)
- (void)configOwnViews;
//请求初始数据(供子类重写)
- (void)requestInitialData;
//为热更新预留的方法
- (void)reserveJS;
//设置导航栏图片按钮
- (void)addLeftImage:(UIImage *)image action:(SEL)action;
- (void)addRightImage:(UIImage *)image action:(SEL)action;
//设置导航栏右侧文字按钮
- (void)addLeftTitle:(NSString *)title action:(SEL)action;
- (void)addRightTitle:(NSString *)title action:(SEL)action;
- (void)addLeftBtn:(UIButton *)btn action:(SEL)action;
- (void)addRightBtn:(UIButton *)btn action:(SEL)action;
- (void)removeAllLeftBtns;
- (void)removeAllRightBtns;
#pragma mark - handle action
//默认的列表网络请求
- (void)requestListDataDefault;
///列表数据网络请求
- (void)requestListDataAnimation:(BOOL)animated;
//解析数据
- (void)receiveListData:(id)data;
///下拉刷新 -- 触发事件
- (void)onDownPullRefresh:(MJRefreshNormalHeader *)refreshHeader;
//上拉加载 -- 触发事件
- (void)onUpPullRefresh:(MJRefreshAutoNormalFooter *)refreshFooter;
///停止刷新
- (void)endRefreshing;
- (void)addRefreshHeader;
- (void)addRefreshFooter;
//创建tableView
- (void)setupTableView:(UITableViewStyle)style;
//点击某个按钮执行的事件(确定/删除/完成)
- (void)handleComplete:(UIButton *)sender;
//左侧按钮 dismiss
- (void)handleDismiss;
//左侧返回按钮 -- pop
- (void)handlePop;
#pragma mark - network
//单纯的网络请求
- (void)POST_:(NSString *)url parameters:(NSDictionary *)parameters success:(void(^)(NSDictionary*dic))success fail:(void(^)(NSError*error))fail;
//耦合视图层的请求
- (void)POST:(NSString *)url parameters:(NSDictionary *)parameters success:(void(^)(NSDictionary*dic))success fail:(void(^)(NSError*error))fail sendView:(UIView *)sendView animSuperView:(UIView *)animSuperView animated:(BOOL)animated;
#pragma mark - helper
//查找到某视图高度小于1的UIImageView控件
- (UIImageView *)findHairlineImageViewUnder:(UIView *)view;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/ExpressAddress/V/AddressListCell.h
|
<reponame>754340156/NQ_quanfu
//
// AddressListCell.h
// allrichstore
//
// Created by 任强宾 on 16/11/22.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
#import "AddressListModel.h" //我的收货地址model
@interface AddressListCell : BaseTableViewCell
@property (nonatomic, strong) AddressListModel *model;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderServiceCell.h
|
//
// CreateOrderServiceCell.h
// allrichstore
//
// Created by zhaozhe on 16/11/16.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@class CreateOrderServiceModel;
@interface CreateOrderServiceCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) CreateOrderServiceModel * model;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/Category/MKMapView+ZoomLevel.h
|
//
// MKMapView+ZoomLevel.h
// CommonLibrary
//
// Created by Alexi on 14-11-17.
// Copyright (c) 2014年 <NAME>. All rights reserved.
//
#if kSupportMKMapViewZoomLevel
#import <MapKit/MapKit.h>
#define kMKMapViewMaxZoomLevel 19
#define kMKMapViewMinZoomLevel 3
@interface MKMapView (ZoomLevel)
//@property (nonatomic, assign) NSUInteger zoomLevel;
- (void)setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:(NSUInteger)zoomLevel animated:(BOOL)animated;
- (void)setZoomLevel:(NSUInteger)zoomLevel animated:(BOOL)animated;
- (void)setZoomLevel:(NSUInteger)zoomLevel;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/UIFramework/RefreshAbleView.h
|
//
// RefreshAbleView.h
// CommonLibrary
//
// Created by Alexi on 15-2-4.
// Copyright (c) 2015年 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol RefreshAbleView <NSObject>
@property (nonatomic, assign) NSInteger refreshHeight;
- (void)willLoading;
- (void)releaseLoading;
- (void)loading;
- (void)loadingOver;
@end
|
754340156/NQ_quanfu
|
Pods/Target Support Files/UIActivityIndicator-for-SDWebImage/UIActivityIndicator-for-SDWebImage-umbrella.h
|
<reponame>754340156/NQ_quanfu<gh_stars>1-10
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "UIImageView+UIActivityIndicatorForSDWebImage.h"
FOUNDATION_EXPORT double UIActivityIndicator_for_SDWebImageVersionNumber;
FOUNDATION_EXPORT const unsigned char UIActivityIndicator_for_SDWebImageVersionString[];
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIImage++/UIImage+RoundedCorner.h
|
//
// UIImage+RoundedCorner.h
// MeiYiQuan
//
// Created by 任强宾 on 16/9/30.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (RoundedCorner)
- (UIImage *)roundedCornerImage:(NSInteger)cornerSize borderSize:(NSInteger)borderSize;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIImageView++/UIImageView+Blurry.h
|
<gh_stars>1-10
//
// UIImageView+Blurry.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/15.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImageView (Blurry)
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/Animation/ADTransition/UIViewController+ADTransition.h
|
#if kSupportADTransition
#import <UIKit/UIKit.h>
#import "ADFlipTransition.h"
@interface UIViewController (ADTransition)
@property (nonatomic, strong) ADTransition *presentedTransition;
@property (nonatomic, strong) ADTransition *presentingTransition;
- (ADTransition *)presentedTransition;
- (void)setPresentedTransition:(ADTransition *)presentedTransition;
- (ADTransition *)presentingTransition;
- (void)setPresentingTransition:(ADTransition *)presentingTransition;
- (ADTransition *)getPresentingTransition;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIView++/UIView+BlankPageView.h
|
<gh_stars>1-10
//
// UIView+BlankPageView.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/4.
// Copyright © 2016年 任强宾. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BlankPageView.h"
@interface UIView (BlankPageView)
@property (nonatomic, strong) BlankPageView *blankPageView;
- (void)configBlankPage:(BlankPageType)blankPageType hasData:(BOOL)hasData noDataStr:(NSString *)noDataStr hasError:(BOOL)hasError errorStr:(NSString *)errorStr reloadButtonBlock:(void(^)(id sender))block;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodList/V/GoodsHaveBtnStyleTableCell.h
|
<filename>allrichstore/UI/Common/GoodList/V/GoodsHaveBtnStyleTableCell.h
//
// GoodsHaveBtnStyleTableCell.h
// allrichstore
//
// Created by 任强宾 on 16/11/4.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
#import "GoodsModel.h" //商品model
@interface GoodsHaveBtnStyleTableCell : BaseTableViewCell
//价格
@property (nonatomic, strong) UILabel *priceLabel;
//评价个数
@property (nonatomic, strong) UILabel *evaluatNumLabel;
//好评率
@property (nonatomic, strong) UILabel *praiseRateLabel;
//加入购物车的按钮
@property (nonatomic, strong) UIButton *addToCartBtn;
//商品的model
@property (nonatomic, strong) GoodsModel *model;
@end
|
754340156/NQ_quanfu
|
allrichstore/Category/SDCycleScrollView+Extend.h
|
//
// SDCycleScrollView+Extend.h
// allrichstore
//
// Created by 任强宾 on 16/12/16.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <SDCycleScrollView/SDCycleScrollView.h>
@protocol SDCycleModelAble <NSObject>
- (NSString *)cycleImgUrl;
- (NSString *)cycleTitle;
- (NSString *)cycleJumpUrl;
@end
@interface SDCycleScrollView (Extend)<SDCycleScrollViewDelegate>
/**
传入model数组的初始化方式
@param frame frame
@param array 对象数组
*/
+ (instancetype)cycleScrollViewWithFrame:(CGRect)frame modelArray:(NSArray<id<SDCycleModelAble>> *)array;
@property (nonatomic, strong) NSArray *modelArray;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIImage++/UIImage+Scale.h
|
//
// UIImage+Scale.h
// LessonUITableView
//
// Created by Frank on 15/1/22.
// Copyright (c) 2015年 Frank. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Scale)
- (UIImage *)scaleToSize:(CGSize)size;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/CommonView/KeyValueTableViewController.h
|
<gh_stars>1-10
//
// KeyValueTableViewController.h
// CommonLibrary
//
// Created by Alexi on 14-7-22.
// Copyright (c) 2014年 <NAME>. All rights reserved.
//
#if kSupportUnusedCommonView
#import "BaseViewController.h"
@class KeyValue;
@interface KeyValueTableViewController : BaseViewController<UITableViewDelegate, UITableViewDataSource>
{
@protected
NSMutableArray *_data;
UITableView *_tableView;
}
@property (nonatomic, readonly) UITableView *tableView;
@property (nonatomic, strong) NSMutableArray *data;
- (void)configCell:(UITableViewCell *)cell with:(KeyValue *)kv;
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/Library/SGPickerView_DatePicker/SGPicker.h
|
//
// SGPicker.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>
#import "SGPickerView.h"
#import "SGDatePicker.h"
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/Category/UITextField+UITextField_Tip.h
|
//
// UITextField+UITextField_Tip.h
// CommonLibrary
//
// Created by Alexi on 15-1-7.
// Copyright (c) 2015年 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NSObject+CommonBlock.h"
@interface UITextField (UITextField_Tip)
+ (instancetype)textFieldWithTip:(NSString *)tip size:(CGSize)tipSize;
- (void)addLeftTip:(NSString *)left;
- (void)addRightTip:(NSString *)right action:(CommonBlock)action;
- (void)addRightImage:(UIImage *)right action:(CommonBlock)action;
- (instancetype)initLeftWith:(NSString *)left;
- (instancetype)initLeftWith:(NSString *)left margin:(CGFloat)margin;
- (instancetype)initLeftIconWith:(UIImage *)left;
- (instancetype)initLeftWith:(NSString *)left rightWith:(NSString *)right;
- (instancetype)initLeftWith:(NSString *)left rightWith:(NSString *)right action:(CommonBlock)action;
- (instancetype)initLeftWith:(NSString *)left rightImageWith:(UIImage *)right action:(CommonBlock)action;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Mine/Main/M/UserModel.h
|
//
// UserModel.h
// allrichstore
//
// Created by zhaozhe on 16/11/7.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseModel.h"
@interface UserModel : BaseModel<NSCoding, NSCopying>
///** userid */
//@property(nonatomic,copy) NSString * ID;
/** 用户真实姓名 */
@property(nonatomic,copy) NSString * uRealname;
/** 昵称 */
@property(nonatomic,copy) NSString * uNickname;
/** 登陆账号 */
@property(nonatomic,copy) NSString * uSername;
/** 密码 */
@property(nonatomic,copy) NSString * uPassword;
/** 性别 1:男 2:女 */
@property(nonatomic,copy) NSString * uSex;
/** 用户头像 */
@property(nonatomic,copy) NSString * uHeadimage;
/** 身份证号 */
@property(nonatomic,copy) NSString * uIdcard;
/** 电话 */
@property(nonatomic,copy) NSString * uPhone;
/** 邮箱 */
@property(nonatomic,copy) NSString * uEmail;
/** 经验值 */
@property(nonatomic,copy) NSString * uExperience;
/** 会员等级 */
@property(nonatomic,copy) NSString * uLevelId;
/** 会员的积分 */
@property(nonatomic,copy) NSString * uIntegral;
/** 会员qq */
@property(nonatomic,copy) NSString * uQq;
/** 会员微信 */
@property(nonatomic,copy) NSString * uWechat;
/** 年龄 */
@property(nonatomic,copy) NSString * uAge;
/** 婚姻状态 1:未婚 2:已婚 */
@property(nonatomic,copy) NSString * uMarriage;
/** 生日 */
@property(nonatomic,copy) NSString * uBirthday;
/** 会员余额 */
@property(nonatomic,copy) NSString * uMoney;
/** 月收入 */
@property(nonatomic,copy) NSString * uMonthpay;
/** 教育程度 */
@property(nonatomic,copy) NSString * uEducation;
/** 所属行业 */
@property(nonatomic,copy) NSString * uProfession;
/** 关联地址表 */
@property(nonatomic,copy) NSString * uAddressId;
///** <#注释#> */
//@property(nonatomic,copy) NSString * u_coupon_id;
/** 状态(0:正常,1:删除,2:冻结) */
@property(nonatomic,copy) NSString * uStatus;
/** 创建时间 */
@property(nonatomic,copy) NSString * uCreatetime;
/** 用户环信ID */
@property(nonatomic,copy) NSString * uHxid;
/** 用户极光ID */
@property(nonatomic,copy) NSString * uJgid;
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/GoodsDetailBottomView.h
|
//
// GoodsDetailBottomView.h
// allrichstore
//
// Created by zhaozhe on 16/11/2.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol GoodsDetailBottomViewDelegate <NSObject>
/** 点击客服 */
- (void)GoodsDetailBottomViewDelegate_clickService;
/** 点击店铺 */
- (void)GoodsDetailBottomViewDelegate_clickStore;
/** 点击收藏 */
- (void)GoodsDetailBottomViewDelegate_clickCollectionWithButton:(UIButton *)sender;
/** 点击加入购物车 */
- (void)GoodsDetailBottomViewDelegate_clickIntoCart;
/** 点击立即购买 */
- (void)GoodsDetailBottomViewDelegate_clickBuy;
@end
@interface GoodsDetailBottomView : UIView
/** 代理*/
@property (nonatomic,weak) id <GoodsDetailBottomViewDelegate> delegate;
/** 是否被收藏过 */
@property(nonatomic,assign) BOOL IsCollection;
@end
|
754340156/NQ_quanfu
|
allrichstore/Other/Font.h
|
//
// Font.h
// allrichstore
//
// Created by 任强宾 on 16/11/3.
// Copyright © 2016年 allrich88. All rights reserved.
//
#ifndef Font_h
#define Font_h
#pragma mark - 全富字体
/*******************cell字体*****************/
#pragma mark - -商品cell(四方形)-
//商品标题
#define QFFont_GoodsSquareCell_Title AdaptedFont(14)
//商品价格
#define QFFont_GoodsSquareCell_Price AdaptedFont(14)
//最小字体(评价人数/好评率)
#define QFFont_GoodsSquareCell_Min AdaptedFont(10)
#pragma mark - -商品cell(长方形)-
//商品标题
#define QFFont_GoodsOblongCell_Title AdaptedFont(14)
//商品价格
#define QFFont_GoodsOblongCell_Price AdaptedFont(16)
//地址
#define QFFont_GoodsOblongCell_Address AdaptedFont(13)
//最小字体(评价人数/好评率)
#define QFFont_GoodsOblongCell_Min AdaptedFont(13)
#pragma mark - 通用
/******************font**********************/
#define Font_Min Font(13)
#define Font_Mid Font(15)
#define Font_Max Font(16)
//固定字体
#define Font_SizeOf(x) [UIFont systemFontOfSize:x]
#define BoldFont_SizeOf(x) [UIFont boldSystemFontOfSize:(x)]
//适配字体
#define AdaptedFontSize(R) CHINESE_SYSTEM(AdaptedWidth(R))
#define AdaptedSystemFontSize(R) Font_SizeOf(AdaptedWidth(R))
#define AdaptedBoldSystemFontSize(R) [UIFont boldSystemFontOfSize:AdaptedWidth(R)]
#endif /* Font_h */
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBViewClass/QBWaterWaveView.h
|
//
// QBWaterWaveView.h
// PRJ_CreditRecruit
//
// Created by apple on 15/1/17.
// Copyright © 2016年 河南维创盈通科技有限公司. All rights reserved.
//
#import <UIKit/UIKit.h>
/*
本类为: 自定义的水波视图, 可自定义水波大小, 振幅, 颜色
*/
@interface QBWaterWaveView : UIView
@property (nonatomic, strong) UIColor *firstWaveColor; // 第一个波浪颜色
@property (nonatomic, strong) UIColor *secondWaveColor; // 第二个波浪颜色
@property (nonatomic, assign) CGFloat percent; // 百分比
- (void)startWave; //开始波动
- (void)stopWave; //停止波动
- (void)reset; //重置水波
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBCategory/UIView++/UIView+OwnVC.h
|
//
// UIView+OwnVC.h
// LiveTest
//
// Created by 任强宾 on 16/9/20.
// Copyright © 2016年 NeiQuan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (OwnVC)
- (UIViewController *)currentVC;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/CommonLibrary/Animation/ADTransition/Scale/ADScaleTransition.h
|
//
// ADScaleTransition.h
// CommonLibrary
//
// Created by James on 3/7/14.
// Copyright (c) 2014 CommonLibrary. All rights reserved.
//
#if kSupportADTransition
#import "ADTransition.h"
@interface ADScaleTransition : ADTransition
@end
#endif
|
754340156/NQ_quanfu
|
allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderAmountCell.h
|
<reponame>754340156/NQ_quanfu<filename>allrichstore/UI/ShoppingCart/CreateOrder/V/CreateOrderAmountCell.h
//
// CreateOrderAmountCell.h
// allrichstore
//
// Created by zhaozhe on 16/11/18.
// Copyright © 2016年 allrich88. All rights reserved.
//商品金额cell
#import "BaseTableViewCell.h"
@class CreateOrderGoodsPrices;
@interface CreateOrderAmountCell : BaseTableViewCell
/** model */
@property(nonatomic,strong) CreateOrderGoodsPrices * model;
@end
|
754340156/NQ_quanfu
|
allrichstore/Tools/QBClass/QBMacro/QBMacroHeader.h
|
<gh_stars>1-10
//
// QBMacroHeader.h
// MeiYiQuan
//
// Created by 任强宾 on 16/10/21.
// Copyright © 2016年 任强宾. All rights reserved.
//
#ifndef QBMacroHeader_h
#define QBMacroHeader_h
#import "QBLayout.h" //布局
#import "QBFont.h" //字体
#import "QBColor.h" //颜色
#endif /* QBMacroHeader_h */
|
754340156/NQ_quanfu
|
allrichstore/UI/Home/Message/V/SysytemMsgCell.h
|
//
// SysytemMsgCell.h
// allrichstore
//
// Created by 任强宾 on 16/11/15.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import "BaseTableViewCell.h"
@interface SysytemMsgCell : BaseTableViewCell
@end
|
754340156/NQ_quanfu
|
allrichstore/UI/Common/GoodDetail/Main/V/firstView/GoodsDetailActiveView.h
|
<reponame>754340156/NQ_quanfu
//
// GoodsDetailActiveView.h
// allrichstore
//
// Created by zhaozhe on 16/11/1.
// Copyright © 2016年 allrich88. All rights reserved.
//
#import <UIKit/UIKit.h>
@class GoodsDetailModel;
@interface GoodsDetailActiveView : UIView
/** model */
@property(nonatomic,strong) GoodsDetailModel * model;
@end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.