From 8929369da70ca3a63953bf9448f62acb5d2957a6 Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Mon, 27 Mar 2017 09:23:18 +0800 Subject: [PATCH] 添加V1.1.3 --- frameworks/MJRefresh.framework/_CodeSignature/CodeDirectory | 0 frameworks/MJRefresh.framework/Headers/UIScrollView+MJRefresh.h | 23 + frameworks/WAApwImpl.framework/Headers/WAApwCore.h | 24 + frameworks/MJRefresh.framework/_CodeSignature/CodeResources | 271 ++++++++++++++++++ frameworks/WAApwImpl.framework/Headers/WAApw.h | 15 + WAApwImpl_CN.podspec | 25 + frameworks/MJRefresh.framework/Headers/MJRefreshBackGifFooter.h | 15 + frameworks/WAApwImpl.framework/Info.plist | 0 frameworks/MJRefresh.framework/Headers/MJRefreshHeader.h | 25 + frameworks/MJRefresh.framework/Headers/MJRefresh.h | 12 frameworks/MJRefresh.framework/Headers/MJRefreshNormalHeader.h | 15 + frameworks/MJRefresh.framework/Headers/MJRefreshComponent.h | 93 ++++++ config/wa_sdk_impl_config_apw.xml | 8 frameworks/MJRefresh.framework/Headers/MJRefreshBackFooter.h | 13 frameworks/MJRefresh.framework/Headers/MJRefreshAutoNormalFooter.h | 14 frameworks/MJRefresh.framework/_CodeSignature/CodeSignature | 0 frameworks/MJRefresh.framework/Headers/MJRefreshAutoGifFooter.h | 15 + frameworks/MJRefresh.framework/Modules/module.modulemap | 6 frameworks/MJRefresh.framework/Headers/MJRefreshGifHeader.h | 15 + frameworks/MJRefresh.framework/Headers/MJRefreshFooter.h | 30 ++ frameworks/MJRefresh.framework/Headers/MJRefreshStateHeader.h | 23 + frameworks/MJRefresh.framework/Headers/UIScrollView+MJExtension.h | 23 + frameworks/WAApwImpl.framework/Headers/WAApwImpl.h | 19 + frameworks/MJRefresh.framework/MJRefresh | 0 frameworks/MJRefresh.framework/Headers/MJRefreshAutoFooter.h | 20 + frameworks/WAApwImpl.framework/WAApwImpl | 0 frameworks/MJRefresh.framework/_CodeSignature/CodeRequirements | 0 frameworks/MJRefresh.framework/Headers/MJRefreshBackNormalFooter.h | 15 + frameworks/MJRefresh.framework/Headers/MJRefreshBackStateFooter.h | 19 + frameworks/MJRefresh.framework/Info.plist | 0 frameworks/MJRefresh.framework/Headers/MJRefreshAutoStateFooter.h | 20 + frameworks/MJRefresh.framework/Headers/UIView+MJExtension.h | 19 + frameworks/WAApwImpl.framework/Modules/module.modulemap | 6 frameworks/MJRefresh.framework/Headers/MJRefreshConst.h | 63 ++++ 34 files changed, 846 insertions(+), 0 deletions(-) diff --git a/WAApwImpl_CN.podspec b/WAApwImpl_CN.podspec new file mode 100644 index 0000000..337ded9 --- /dev/null +++ b/WAApwImpl_CN.podspec @@ -0,0 +1,25 @@ +# +# Be sure to run `pod spec lint WAApImpl.podspec' to ensure this is a +# valid spec and to remove all comments including this before submitting the spec. +# +# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html +# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ +# + +Pod::Spec.new do |s| + +s.name = 'WAApwImpl_CN' +s.version = '1.1.3' +s.summary = 'WAApwImpl_CN framework in testing environment.' +s.license = 'MIT' +s.author = { "Hank" => "hank.zhang@gamehollywood.com" } +s.homepage = 'http://repo.wingsdk.cn:8082/summary/WAApwImpl_CN.git' +s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WAApwImpl_CN.git" , :tag => s.version} +s.platform = :ios +s.ios.deployment_target = "7.0" +s.vendored_frameworks = 'frameworks/*.framework' +s.resources = ['config/*.xml'] +s.requires_arc = true +s.dependency 'WASdkIntf_CN', '~> 1.1.3' #此处添加私有库依赖 +s.dependency 'WASdkImpl_CN', '~> 1.1.3' +end diff --git a/config/wa_sdk_impl_config_apw.xml b/config/wa_sdk_impl_config_apw.xml new file mode 100644 index 0000000..041fa89 --- /dev/null +++ b/config/wa_sdk_impl_config_apw.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<config> + <version val="AP1.1.3"/> + <comps> + <!-- 应用墙模块 --> + <comp module="APW" plaf="APW" mandatory="NO" value="WAApw" desc="应用墙"/> + </comps> +</config> diff --git a/frameworks/MJRefresh.framework/Headers/MJRefresh.h b/frameworks/MJRefresh.framework/Headers/MJRefresh.h new file mode 100755 index 0000000..3673cca --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefresh.h @@ -0,0 +1,12 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 + +#import<MJRefresh/UIScrollView+MJRefresh.h> +#import<MJRefresh/UIScrollView+MJExtension.h> +#import<MJRefresh/UIView+MJExtension.h> +#import<MJRefresh/MJRefreshNormalHeader.h> +#import<MJRefresh/MJRefreshGifHeader.h> +#import<MJRefresh/MJRefreshBackNormalFooter.h> +#import<MJRefresh/MJRefreshBackGifFooter.h> +#import<MJRefresh/MJRefreshAutoNormalFooter.h> +#import<MJRefresh/MJRefreshAutoGifFooter.h> \ No newline at end of file diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshAutoFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoFooter.h new file mode 100755 index 0000000..5aac4f6 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoFooter.h @@ -0,0 +1,20 @@ +// +// MJRefreshAutoFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshFooter.h" + +@interface MJRefreshAutoFooter : MJRefreshFooter +/** 是否自动刷新(默认为YES) */ +@property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; + +/** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ +@property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); + +/** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ +@property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshAutoGifFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoGifFooter.h new file mode 100755 index 0000000..4c96286 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoGifFooter.h @@ -0,0 +1,15 @@ +// +// MJRefreshAutoGifFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshAutoStateFooter.h" + +@interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter +/** 设置state状态下的动画图片images 动画持续时间duration*/ +- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; +- (void)setImages:(NSArray *)images forState:(MJRefreshState)state; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshAutoNormalFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoNormalFooter.h new file mode 100755 index 0000000..5549cff --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoNormalFooter.h @@ -0,0 +1,14 @@ +// +// MJRefreshAutoNormalFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshAutoStateFooter.h" + +@interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter +/** 菊花的样式 */ +@property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshAutoStateFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoStateFooter.h new file mode 100755 index 0000000..956188b --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshAutoStateFooter.h @@ -0,0 +1,20 @@ +// +// MJRefreshAutoStateFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/6/13. +// Copyright © 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshAutoFooter.h" + +@interface MJRefreshAutoStateFooter : MJRefreshAutoFooter +/** 显示刷新状态的label */ +@property (weak, nonatomic, readonly) UILabel *stateLabel; + +/** 设置state状态下的文字 */ +- (void)setTitle:(NSString *)title forState:(MJRefreshState)state; + +/** 隐藏刷新状态的文字 */ +@property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshBackFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshBackFooter.h new file mode 100755 index 0000000..347083c --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshBackFooter.h @@ -0,0 +1,13 @@ +// +// MJRefreshBackFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshFooter.h" + +@interface MJRefreshBackFooter : MJRefreshFooter + +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshBackGifFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshBackGifFooter.h new file mode 100755 index 0000000..10d92e4 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshBackGifFooter.h @@ -0,0 +1,15 @@ +// +// MJRefreshBackGifFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshBackStateFooter.h" + +@interface MJRefreshBackGifFooter : MJRefreshBackStateFooter +/** 设置state状态下的动画图片images 动画持续时间duration*/ +- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; +- (void)setImages:(NSArray *)images forState:(MJRefreshState)state; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshBackNormalFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshBackNormalFooter.h new file mode 100755 index 0000000..90e8b77 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshBackNormalFooter.h @@ -0,0 +1,15 @@ +// +// MJRefreshBackNormalFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshBackStateFooter.h" + +@interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter +@property (weak, nonatomic, readonly) UIImageView *arrowView; +/** 菊花的样式 */ +@property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshBackStateFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshBackStateFooter.h new file mode 100755 index 0000000..2d02b2e --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshBackStateFooter.h @@ -0,0 +1,19 @@ +// +// MJRefreshBackStateFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/6/13. +// Copyright © 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshBackFooter.h" + +@interface MJRefreshBackStateFooter : MJRefreshBackFooter +/** 显示刷新状态的label */ +@property (weak, nonatomic, readonly) UILabel *stateLabel; +/** 设置state状态下的文字 */ +- (void)setTitle:(NSString *)title forState:(MJRefreshState)state; + +/** 获取state状态下的title */ +- (NSString *)titleForState:(MJRefreshState)state; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshComponent.h b/frameworks/MJRefresh.framework/Headers/MJRefreshComponent.h new file mode 100755 index 0000000..943d405 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshComponent.h @@ -0,0 +1,93 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +// MJRefreshComponent.h +// MJRefreshExample +// +// Created by MJ Lee on 15/3/4. +// Copyright (c) 2015年 小码哥. All rights reserved. +// 刷新控件的基类 + +#import <UIKit/UIKit.h> +#import "MJRefreshConst.h" +#import "UIView+MJExtension.h" +#import "UIScrollView+MJExtension.h" +#import "UIScrollView+MJRefresh.h" + +/** 刷新控件的状态 */ +typedef enum { + /** 普通闲置状态 */ + MJRefreshStateIdle = 1, + /** 松开就可以进行刷新的状态 */ + MJRefreshStatePulling, + /** 正在刷新中的状态 */ + MJRefreshStateRefreshing, + /** 即将刷新的状态 */ + MJRefreshStateWillRefresh, + /** 所有数据加载完毕,没有更多的数据了 */ + MJRefreshStateNoMoreData +} MJRefreshState; + +/** 进入刷新状态的回调 */ +typedef void (^MJRefreshComponentRefreshingBlock)(); + +/** 刷新控件的基类 */ +@interface MJRefreshComponent : UIView +{ + /** 记录scrollView刚开始的inset */ + UIEdgeInsets _scrollViewOriginalInset; + /** 父控件 */ + __weak UIScrollView *_scrollView; +} +#pragma mark - 刷新回调 +/** 正在刷新的回调 */ +@property (copy, nonatomic) MJRefreshComponentRefreshingBlock refreshingBlock; +/** 设置回调对象和回调方法 */ +- (void)setRefreshingTarget:(id)target refreshingAction:(SEL)action; +/** 回调对象 */ +@property (weak, nonatomic) id refreshingTarget; +/** 回调方法 */ +@property (assign, nonatomic) SEL refreshingAction; +/** 触发回调(交给子类去调用) */ +- (void)executeRefreshingCallback; + +#pragma mark - 刷新状态控制 +/** 进入刷新状态 */ +- (void)beginRefreshing; +/** 结束刷新状态 */ +- (void)endRefreshing; +/** 是否正在刷新 */ +- (BOOL)isRefreshing; +/** 刷新状态 一般交给子类内部实现 */ +@property (assign, nonatomic) MJRefreshState state; + +#pragma mark - 交给子类去访问 +/** 记录scrollView刚开始的inset */ +@property (assign, nonatomic, readonly) UIEdgeInsets scrollViewOriginalInset; +/** 父控件 */ +@property (weak, nonatomic, readonly) UIScrollView *scrollView; + +#pragma mark - 交给子类们去实现 +/** 初始化 */ +- (void)prepare NS_REQUIRES_SUPER; +/** 摆放子控件frame */ +- (void)placeSubviews NS_REQUIRES_SUPER; +/** 当scrollView的contentOffset发生改变的时候调用 */ +- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change NS_REQUIRES_SUPER; +/** 当scrollView的contentSize发生改变的时候调用 */ +- (void)scrollViewContentSizeDidChange:(NSDictionary *)change NS_REQUIRES_SUPER; +/** 当scrollView的拖拽状态发生改变的时候调用 */ +- (void)scrollViewPanStateDidChange:(NSDictionary *)change NS_REQUIRES_SUPER; + + +#pragma mark - 其他 +/** 拉拽的百分比(交给子类重写) */ +@property (assign, nonatomic) CGFloat pullingPercent; +/** 根据拖拽比例自动切换透明度 */ +@property (assign, nonatomic, getter=isAutoChangeAlpha) BOOL autoChangeAlpha MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); +/** 根据拖拽比例自动切换透明度 */ +@property (assign, nonatomic, getter=isAutomaticallyChangeAlpha) BOOL automaticallyChangeAlpha; +@end + +@interface UILabel(MJRefresh) ++ (instancetype)label; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshConst.h b/frameworks/MJRefresh.framework/Headers/MJRefreshConst.h new file mode 100755 index 0000000..b3a46ca --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshConst.h @@ -0,0 +1,63 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +#import <UIKit/UIKit.h> +#import <objc/message.h> + +// 日志输出 +#ifdef DEBUG +#define MJRefreshLog(...) NSLog(__VA_ARGS__) +#else +#define MJRefreshLog(...) +#endif + +// 过期提醒 +#define MJRefreshDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead) + +// 运行时objc_msgSend +#define MJRefreshMsgSend(...) ((void (*)(void *, SEL, UIView *))objc_msgSend)(__VA_ARGS__) +#define MJRefreshMsgTarget(target) (__bridge void *)(target) + +// RGB颜色 +#define MJRefreshColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0] + +// 文字颜色 +#define MJRefreshLabelTextColor MJRefreshColor(90, 90, 90) + +// 字体大小 +#define MJRefreshLabelFont [UIFont boldSystemFontOfSize:14] + +// 图片路径 +#define MJRefreshSrcName(file) [@"WASDK-Resource.bundle" stringByAppendingPathComponent:file] +#define MJRefreshFrameworkSrcName(file) [@"Frameworks/MJRefresh.framework/MJRefresh.bundl" stringByAppendingPathComponent:file] + +// 常量 +UIKIT_EXTERN const CGFloat MJRefreshHeaderHeight; +UIKIT_EXTERN const CGFloat MJRefreshFooterHeight; +UIKIT_EXTERN const CGFloat MJRefreshFastAnimationDuration; +UIKIT_EXTERN const CGFloat MJRefreshSlowAnimationDuration; + +UIKIT_EXTERN NSString *const MJRefreshKeyPathContentOffset; +UIKIT_EXTERN NSString *const MJRefreshKeyPathContentSize; +UIKIT_EXTERN NSString *const MJRefreshKeyPathContentInset; +UIKIT_EXTERN NSString *const MJRefreshKeyPathPanState; + +UIKIT_EXTERN NSString *const MJRefreshHeaderLastUpdatedTimeKey; + +UIKIT_EXTERN NSString *const MJRefreshHeaderIdleText; +UIKIT_EXTERN NSString *const MJRefreshHeaderPullingText; +UIKIT_EXTERN NSString *const MJRefreshHeaderRefreshingText; + +UIKIT_EXTERN NSString *const MJRefreshAutoFooterIdleText; +UIKIT_EXTERN NSString *const MJRefreshAutoFooterRefreshingText; +UIKIT_EXTERN NSString *const MJRefreshAutoFooterNoMoreDataText; + +UIKIT_EXTERN NSString *const MJRefreshBackFooterIdleText; +UIKIT_EXTERN NSString *const MJRefreshBackFooterPullingText; +UIKIT_EXTERN NSString *const MJRefreshBackFooterRefreshingText; +UIKIT_EXTERN NSString *const MJRefreshBackFooterNoMoreDataText; + +// 状态检查 +#define MJRefreshCheckState \ +MJRefreshState oldState = self.state; \ +if (state == oldState) return; \ +[super setState:state]; diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshFooter.h b/frameworks/MJRefresh.framework/Headers/MJRefreshFooter.h new file mode 100755 index 0000000..e25628f --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshFooter.h @@ -0,0 +1,30 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +// MJRefreshFooter.h +// MJRefreshExample +// +// Created by MJ Lee on 15/3/5. +// Copyright (c) 2015年 小码哥. All rights reserved. +// 上拉刷新控件 + +#import "MJRefreshComponent.h" + +@interface MJRefreshFooter : MJRefreshComponent +/** 创建footer */ ++ (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; +/** 创建footer */ ++ (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; + +/** 提示没有更多的数据 */ +- (void)endRefreshingWithNoMoreData; +- (void)noticeNoMoreData MJRefreshDeprecated("使用endRefreshingWithNoMoreData"); + +/** 重置没有更多的数据(消除没有更多数据的状态) */ +- (void)resetNoMoreData; + +/** 忽略多少scrollView的contentInset的bottom */ +@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom; + +/** 自动根据有无数据来显示和隐藏(有数据就显示,没有数据隐藏) */ +@property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshGifHeader.h b/frameworks/MJRefresh.framework/Headers/MJRefreshGifHeader.h new file mode 100755 index 0000000..560c847 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshGifHeader.h @@ -0,0 +1,15 @@ +// +// MJRefreshGifHeader.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshStateHeader.h" + +@interface MJRefreshGifHeader : MJRefreshStateHeader +/** 设置state状态下的动画图片images 动画持续时间duration*/ +- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; +- (void)setImages:(NSArray *)images forState:(MJRefreshState)state; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshHeader.h b/frameworks/MJRefresh.framework/Headers/MJRefreshHeader.h new file mode 100755 index 0000000..0816024 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshHeader.h @@ -0,0 +1,25 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +// MJRefreshHeader.h +// MJRefreshExample +// +// Created by MJ Lee on 15/3/4. +// Copyright (c) 2015年 小码哥. All rights reserved. +// 下拉刷新控件:负责监控用户下拉的状态 + +#import "MJRefreshComponent.h" + +@interface MJRefreshHeader : MJRefreshComponent +/** 创建header */ ++ (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; +/** 创建header */ ++ (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; + +/** 这个key用来存储上一次下拉刷新成功的时间 */ +@property (copy, nonatomic) NSString *lastUpdatedTimeKey; +/** 上一次下拉刷新成功的时间 */ +@property (strong, nonatomic, readonly) NSDate *lastUpdatedTime; + +/** 忽略多少scrollView的contentInset的top */ +@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshNormalHeader.h b/frameworks/MJRefresh.framework/Headers/MJRefreshNormalHeader.h new file mode 100755 index 0000000..547d05e --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshNormalHeader.h @@ -0,0 +1,15 @@ +// +// MJRefreshNormalHeader.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshStateHeader.h" + +@interface MJRefreshNormalHeader : MJRefreshStateHeader +@property (weak, nonatomic, readonly) UIImageView *arrowView; +/** 菊花的样式 */ +@property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +@end diff --git a/frameworks/MJRefresh.framework/Headers/MJRefreshStateHeader.h b/frameworks/MJRefresh.framework/Headers/MJRefreshStateHeader.h new file mode 100755 index 0000000..5909532 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/MJRefreshStateHeader.h @@ -0,0 +1,23 @@ +// +// MJRefreshStateHeader.h +// MJRefreshExample +// +// Created by MJ Lee on 15/4/24. +// Copyright (c) 2015年 小码哥. All rights reserved. +// + +#import "MJRefreshHeader.h" + +@interface MJRefreshStateHeader : MJRefreshHeader +#pragma mark - 刷新时间相关 +/** 利用这个block来决定显示的更新时间文字 */ +@property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime); +/** 显示上一次刷新时间的label */ +@property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel; + +#pragma mark - 状态相关 +/** 显示刷新状态的label */ +@property (weak, nonatomic, readonly) UILabel *stateLabel; +/** 设置state状态下的文字 */ +- (void)setTitle:(NSString *)title forState:(MJRefreshState)state; +@end diff --git a/frameworks/MJRefresh.framework/Headers/UIScrollView+MJExtension.h b/frameworks/MJRefresh.framework/Headers/UIScrollView+MJExtension.h new file mode 100755 index 0000000..734110f --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/UIScrollView+MJExtension.h @@ -0,0 +1,23 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +// UIScrollView+Extension.h +// MJRefreshExample +// +// Created by MJ Lee on 14-5-28. +// Copyright (c) 2014年 小码哥. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface UIScrollView (MJExtension) +@property (assign, nonatomic) CGFloat mj_insetT; +@property (assign, nonatomic) CGFloat mj_insetB; +@property (assign, nonatomic) CGFloat mj_insetL; +@property (assign, nonatomic) CGFloat mj_insetR; + +@property (assign, nonatomic) CGFloat mj_offsetX; +@property (assign, nonatomic) CGFloat mj_offsetY; + +@property (assign, nonatomic) CGFloat mj_contentW; +@property (assign, nonatomic) CGFloat mj_contentH; +@end diff --git a/frameworks/MJRefresh.framework/Headers/UIScrollView+MJRefresh.h b/frameworks/MJRefresh.framework/Headers/UIScrollView+MJRefresh.h new file mode 100755 index 0000000..9f6dc53 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/UIScrollView+MJRefresh.h @@ -0,0 +1,23 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +// UIScrollView+MJRefresh.h +// MJRefreshExample +// +// Created by MJ Lee on 15/3/4. +// Copyright (c) 2015年 小码哥. All rights reserved. +// 给ScrollView增加下拉刷新、上拉刷新的功能 + +#import <UIKit/UIKit.h> + +@class MJRefreshHeader, MJRefreshFooter; + +@interface UIScrollView (MJRefresh) +/** 下拉刷新控件 */ +@property (strong, nonatomic) MJRefreshHeader *header; +/** 上拉刷新控件 */ +@property (strong, nonatomic) MJRefreshFooter *footer; + +#pragma mark - other +- (NSInteger)totalDataCount; +@property (copy, nonatomic) void (^reloadDataBlock)(NSInteger totalDataCount); +@end diff --git a/frameworks/MJRefresh.framework/Headers/UIView+MJExtension.h b/frameworks/MJRefresh.framework/Headers/UIView+MJExtension.h new file mode 100755 index 0000000..7fde7c1 --- /dev/null +++ b/frameworks/MJRefresh.framework/Headers/UIView+MJExtension.h @@ -0,0 +1,19 @@ +// 代码地址: https://github.com/CoderMJLee/MJRefresh +// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 +// UIView+Extension.h +// MJRefreshExample +// +// Created by MJ Lee on 14-5-28. +// Copyright (c) 2014年 小码哥. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface UIView (MJExtension) +@property (assign, nonatomic) CGFloat mj_x; +@property (assign, nonatomic) CGFloat mj_y; +@property (assign, nonatomic) CGFloat mj_w; +@property (assign, nonatomic) CGFloat mj_h; +@property (assign, nonatomic) CGSize mj_size; +@property (assign, nonatomic) CGPoint mj_origin; +@end diff --git a/frameworks/MJRefresh.framework/Info.plist b/frameworks/MJRefresh.framework/Info.plist new file mode 100644 index 0000000..c3cdba3 --- /dev/null +++ b/frameworks/MJRefresh.framework/Info.plist Binary files differ diff --git a/frameworks/MJRefresh.framework/MJRefresh b/frameworks/MJRefresh.framework/MJRefresh new file mode 100644 index 0000000..a32793c --- /dev/null +++ b/frameworks/MJRefresh.framework/MJRefresh Binary files differ diff --git a/frameworks/MJRefresh.framework/Modules/module.modulemap b/frameworks/MJRefresh.framework/Modules/module.modulemap new file mode 100644 index 0000000..4a501b8 --- /dev/null +++ b/frameworks/MJRefresh.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module MJRefresh { + umbrella header "MJRefresh.h" + + export * + module * { export * } +} diff --git a/frameworks/MJRefresh.framework/_CodeSignature/CodeDirectory b/frameworks/MJRefresh.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..7e65732 --- /dev/null +++ b/frameworks/MJRefresh.framework/_CodeSignature/CodeDirectory Binary files differ diff --git a/frameworks/MJRefresh.framework/_CodeSignature/CodeRequirements b/frameworks/MJRefresh.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..c76e813 --- /dev/null +++ b/frameworks/MJRefresh.framework/_CodeSignature/CodeRequirements Binary files differ diff --git a/frameworks/MJRefresh.framework/_CodeSignature/CodeResources b/frameworks/MJRefresh.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..1d2ab6c --- /dev/null +++ b/frameworks/MJRefresh.framework/_CodeSignature/CodeResources @@ -0,0 +1,271 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>files</key> + <dict> + <key>Headers/MJRefresh.h</key> + <data> + hsVYQiz8loKQq7sz/4SUogl6IAk= + </data> + <key>Headers/MJRefreshAutoFooter.h</key> + <data> + 6CgGCZCs5YWh9Vq5kgphr2LfRs8= + </data> + <key>Headers/MJRefreshAutoGifFooter.h</key> + <data> + FUIzOm9mNRbnO+Uf/I7/E0fWuUI= + </data> + <key>Headers/MJRefreshAutoNormalFooter.h</key> + <data> + M/mV734XKxJlLUqo4DFGk7Dn6Ys= + </data> + <key>Headers/MJRefreshAutoStateFooter.h</key> + <data> + uGzWf3OoGGLWN8ZjYJTivu5kJ00= + </data> + <key>Headers/MJRefreshBackFooter.h</key> + <data> + vahmOBJb7RedOjuseFg1U0wbZGI= + </data> + <key>Headers/MJRefreshBackGifFooter.h</key> + <data> + +Y64GcEW6kbwWrttItd0rDy9jbw= + </data> + <key>Headers/MJRefreshBackNormalFooter.h</key> + <data> + l7SlQ9m7iZ+Pd/jx7ZBpmwst2Og= + </data> + <key>Headers/MJRefreshBackStateFooter.h</key> + <data> + o8tWkXyJ3jTqgKfXrt6+0Im2b3Y= + </data> + <key>Headers/MJRefreshComponent.h</key> + <data> + HT5bOvQh5V/j+RFok5ZqZqCfd3s= + </data> + <key>Headers/MJRefreshConst.h</key> + <data> + 89DFUmKlK9qVssCHngD0JXHH8Yk= + </data> + <key>Headers/MJRefreshFooter.h</key> + <data> + 8vGYPrw7nDfFbC9g5RNU7zTHNLE= + </data> + <key>Headers/MJRefreshGifHeader.h</key> + <data> + 2C00r1fJcLuTM0YOkIqq2aMg9rI= + </data> + <key>Headers/MJRefreshHeader.h</key> + <data> + BCRQ0f1Hf3p1CN9Qw2Nl6j8kI+E= + </data> + <key>Headers/MJRefreshNormalHeader.h</key> + <data> + sm6wAMfc48sdNYLwZ7X1rctMyFI= + </data> + <key>Headers/MJRefreshStateHeader.h</key> + <data> + 1PUfIPsuvLTNWvOAcSfmqeVH9lI= + </data> + <key>Headers/UIScrollView+MJExtension.h</key> + <data> + oTZ4DL4dmPslq2OehJsgeJIVt64= + </data> + <key>Headers/UIScrollView+MJRefresh.h</key> + <data> + rb/7tuZzKdp3ibkHi2ZUpmi9Pdg= + </data> + <key>Headers/UIView+MJExtension.h</key> + <data> + lRqeMEN7MCSmwB9i065HF5L/zvU= + </data> + <key>Info.plist</key> + <data> + UaBGddOm/KbDcCETFTFAuanZbUU= + </data> + <key>Modules/module.modulemap</key> + <data> + SOzT3U2wHkzCJ+1z/jqxp1ftKMA= + </data> + </dict> + <key>files2</key> + <dict> + <key>Headers/MJRefresh.h</key> + <data> + hsVYQiz8loKQq7sz/4SUogl6IAk= + </data> + <key>Headers/MJRefreshAutoFooter.h</key> + <data> + 6CgGCZCs5YWh9Vq5kgphr2LfRs8= + </data> + <key>Headers/MJRefreshAutoGifFooter.h</key> + <data> + FUIzOm9mNRbnO+Uf/I7/E0fWuUI= + </data> + <key>Headers/MJRefreshAutoNormalFooter.h</key> + <data> + M/mV734XKxJlLUqo4DFGk7Dn6Ys= + </data> + <key>Headers/MJRefreshAutoStateFooter.h</key> + <data> + uGzWf3OoGGLWN8ZjYJTivu5kJ00= + </data> + <key>Headers/MJRefreshBackFooter.h</key> + <data> + vahmOBJb7RedOjuseFg1U0wbZGI= + </data> + <key>Headers/MJRefreshBackGifFooter.h</key> + <data> + +Y64GcEW6kbwWrttItd0rDy9jbw= + </data> + <key>Headers/MJRefreshBackNormalFooter.h</key> + <data> + l7SlQ9m7iZ+Pd/jx7ZBpmwst2Og= + </data> + <key>Headers/MJRefreshBackStateFooter.h</key> + <data> + o8tWkXyJ3jTqgKfXrt6+0Im2b3Y= + </data> + <key>Headers/MJRefreshComponent.h</key> + <data> + HT5bOvQh5V/j+RFok5ZqZqCfd3s= + </data> + <key>Headers/MJRefreshConst.h</key> + <data> + 89DFUmKlK9qVssCHngD0JXHH8Yk= + </data> + <key>Headers/MJRefreshFooter.h</key> + <data> + 8vGYPrw7nDfFbC9g5RNU7zTHNLE= + </data> + <key>Headers/MJRefreshGifHeader.h</key> + <data> + 2C00r1fJcLuTM0YOkIqq2aMg9rI= + </data> + <key>Headers/MJRefreshHeader.h</key> + <data> + BCRQ0f1Hf3p1CN9Qw2Nl6j8kI+E= + </data> + <key>Headers/MJRefreshNormalHeader.h</key> + <data> + sm6wAMfc48sdNYLwZ7X1rctMyFI= + </data> + <key>Headers/MJRefreshStateHeader.h</key> + <data> + 1PUfIPsuvLTNWvOAcSfmqeVH9lI= + </data> + <key>Headers/UIScrollView+MJExtension.h</key> + <data> + oTZ4DL4dmPslq2OehJsgeJIVt64= + </data> + <key>Headers/UIScrollView+MJRefresh.h</key> + <data> + rb/7tuZzKdp3ibkHi2ZUpmi9Pdg= + </data> + <key>Headers/UIView+MJExtension.h</key> + <data> + lRqeMEN7MCSmwB9i065HF5L/zvU= + </data> + <key>Modules/module.modulemap</key> + <data> + SOzT3U2wHkzCJ+1z/jqxp1ftKMA= + </data> + </dict> + <key>rules</key> + <dict> + <key>^</key> + <true/> + <key>^.*\.lproj/</key> + <dict> + <key>optional</key> + <true/> + <key>weight</key> + <real>1000</real> + </dict> + <key>^.*\.lproj/locversion.plist$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>1100</real> + </dict> + <key>^version.plist$</key> + <true/> + </dict> + <key>rules2</key> + <dict> + <key>.*\.dSYM($|/)</key> + <dict> + <key>weight</key> + <real>11</real> + </dict> + <key>^</key> + <dict> + <key>weight</key> + <real>20</real> + </dict> + <key>^(.*/)?\.DS_Store$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>2000</real> + </dict> + <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key> + <dict> + <key>nested</key> + <true/> + <key>weight</key> + <real>10</real> + </dict> + <key>^.*</key> + <true/> + <key>^.*\.lproj/</key> + <dict> + <key>optional</key> + <true/> + <key>weight</key> + <real>1000</real> + </dict> + <key>^.*\.lproj/locversion.plist$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>1100</real> + </dict> + <key>^Info\.plist$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>20</real> + </dict> + <key>^PkgInfo$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>20</real> + </dict> + <key>^[^/]+$</key> + <dict> + <key>nested</key> + <true/> + <key>weight</key> + <real>10</real> + </dict> + <key>^embedded\.provisionprofile$</key> + <dict> + <key>weight</key> + <real>20</real> + </dict> + <key>^version\.plist$</key> + <dict> + <key>weight</key> + <real>20</real> + </dict> + </dict> +</dict> +</plist> diff --git a/frameworks/MJRefresh.framework/_CodeSignature/CodeSignature b/frameworks/MJRefresh.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..da6750a --- /dev/null +++ b/frameworks/MJRefresh.framework/_CodeSignature/CodeSignature Binary files differ diff --git a/frameworks/WAApwImpl.framework/Headers/WAApw.h b/frameworks/WAApwImpl.framework/Headers/WAApw.h new file mode 100644 index 0000000..0cefa43 --- /dev/null +++ b/frameworks/WAApwImpl.framework/Headers/WAApw.h @@ -0,0 +1,15 @@ +// +// WAApw.h +// WAApwImplUI +// +// Created by wuyx on 16/3/10. +// Copyright © 2016年 GHW-T-01. All rights reserved. +// + +#import <Foundation/Foundation.h> +#import <WASdkIntf/WASdkIntf.h> +#import "WASdkExtend.h" +@interface WAApw : WAIApw +-(void)showEntryFlowIcon; +-(void)hideEntryFlowIcon; +@end diff --git a/frameworks/WAApwImpl.framework/Headers/WAApwCore.h b/frameworks/WAApwImpl.framework/Headers/WAApwCore.h new file mode 100644 index 0000000..613f5df --- /dev/null +++ b/frameworks/WAApwImpl.framework/Headers/WAApwCore.h @@ -0,0 +1,24 @@ +// +// WAApwCore.h +// WAApwImplUI +// +// Created by hank on 2017/3/21. +// Copyright © 2017年 hank. All rights reserved. +// + +#import <WASdkIntf/WASdkIntf.h> + +@class WACoreProxy; +@class WAApwCore; +#define WAApwLog(fmt,...) {\ +if([WACoreProxy isDebugMode]){\ +NSLog((@"WAApw LOG [(version %@) %s ]:" fmt), [WAApwCore getVersion],__FUNCTION__, ##__VA_ARGS__);\ +[WACoreProxy addLogWithString:[NSString stringWithFormat:(@"(version %@) %s ]:" fmt),[WAApwCore getVersion],__FUNCTION__, ##__VA_ARGS__]];\ +}\ +} + +@interface WAApwCore : WACore + ++(NSString*)getVersion; + +@end diff --git a/frameworks/WAApwImpl.framework/Headers/WAApwImpl.h b/frameworks/WAApwImpl.framework/Headers/WAApwImpl.h new file mode 100644 index 0000000..9e5d3b5 --- /dev/null +++ b/frameworks/WAApwImpl.framework/Headers/WAApwImpl.h @@ -0,0 +1,19 @@ +// +// WAApwImpl.h +// WAApwImpl +// +// Created by hank on 2017/3/20. +// Copyright © 2017年 hank. All rights reserved. +// + +#import <UIKit/UIKit.h> + +//! Project version number for WAApwImpl. +FOUNDATION_EXPORT double WAApwImplVersionNumber; + +//! Project version string for WAApwImpl. +FOUNDATION_EXPORT const unsigned char WAApwImplVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import <WAApwImpl/PublicHeader.h> + +//time:2017/3/25 14:36 ver:1.1.3 diff --git a/frameworks/WAApwImpl.framework/Info.plist b/frameworks/WAApwImpl.framework/Info.plist new file mode 100644 index 0000000..d31d57c --- /dev/null +++ b/frameworks/WAApwImpl.framework/Info.plist Binary files differ diff --git a/frameworks/WAApwImpl.framework/Modules/module.modulemap b/frameworks/WAApwImpl.framework/Modules/module.modulemap new file mode 100644 index 0000000..5a0e8ef --- /dev/null +++ b/frameworks/WAApwImpl.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module WAApwImpl { + umbrella header "WAApwImpl.h" + + export * + module * { export * } +} diff --git a/frameworks/WAApwImpl.framework/WAApwImpl b/frameworks/WAApwImpl.framework/WAApwImpl new file mode 100644 index 0000000..378b999 --- /dev/null +++ b/frameworks/WAApwImpl.framework/WAApwImpl Binary files differ -- Gitblit v1.8.0