EGOTableViewPullRefresh下拉原理及代码详解

http://blog.csdn.net/kqjob/article/details/9891065#comments

在移动应用开发中,无论是Android还是IOS应用,经常可以看到下拉列表松开后自动刷行数据,在IOS中,使用下拉刷新UITableView中的数据用的非常多,最典型的就是新浪微博的客户端,使用下拉的形式来更新最新的微博信息。


首先请点击下载源码,下载完成后里面有个Demo是可以直接运行的Xcode工程,然后就是这个开源项目的源码,如何使用可以参照Demo,这个EGOTableViewPullRefresh我修改了一部分,并添加了一些注释,主要是支持了中英文版本,原生的只支持英文,我添加了中英文支持,然后就是刷新时间的格式,修改后的格式更直观,原生的是使用SDK自带的时间格式。


这时我第一次写博客,写的不好请见谅哈!


开始进入正题。。。。。

这次主要讲解EGOTableViewPullRefresh下拉的实现原理,并对EGOTableViewPullRefresh源代码进行讲解,至于如何使用EGOTableViewPullRefresh,可以参考我上传的Demo。

UITableView继承之UIScrollView,所以利用UIScrollView滚动的位置属性contentOffset,获取用户下拉的位置contentOffset.y,通过计算用户下拉了多少,来实现下拉刷新的功能。

首先看看下拉列表的组成部分,下拉列表就是UITableView了,在UITableView中添加一个子View,用来显示下拉刷新的状态,我把它叫做HeaderView,HeaderView初始化frame的位置是{0,-60,0,60},所以正常情况下我们看不到HeaderView,当用户下拉列表时HeaderView就会显示出来。 第二张图的数值表示的是初始化的时候,不是下拉时的数值,为了方便看到HeaderView,便于理解,所以把列表下拉后标注数值。



UITableView在顶部时UIScrollView的contentoffset.y=0,在用户下拉滑动列表时,

contentoffset.y为负数增大,

当contentoffset.y <= -65时表示HeaderView已经完全显示出来了,此时HeaderView便显示“松开刷新”

,并把下拉的箭头图标向上。


此时若用户松开手,停止下拉,HeaderView的状态就改为等待数据的状态,如下图所示(下图的contentoffset.y=0标错了,是=-60)



以上就是顶部下拉刷新数据的原理了,根据这个原理也就不难写出底部上拉刷新数据的实现了。


下面我们来分析下EGOTableViewPullRefresh的代码。

EGOTableViewPullRefresh的代码结构


EGORefreshTableHeaderView.h的代码

<a target=_blank id="L1" href="http://blog.csdn.net/kqjob/article/details/9891065#L1" rel="#L1" style="color: rgb(102, 102, 102); text-decoration: none;">  1</a>
<a target=_blank id="L2" href="http://blog.csdn.net/kqjob/article/details/9891065#L2" rel="#L2" style="color: rgb(102, 102, 102); text-decoration: none;">  2</a>
<a target=_blank id="L3" href="http://blog.csdn.net/kqjob/article/details/9891065#L3" rel="#L3" style="color: rgb(102, 102, 102); text-decoration: none;">  3</a>
<a target=_blank id="L4" href="http://blog.csdn.net/kqjob/article/details/9891065#L4" rel="#L4" style="color: rgb(102, 102, 102); text-decoration: none;">  4</a>
<a target=_blank id="L5" href="http://blog.csdn.net/kqjob/article/details/9891065#L5" rel="#L5" style="color: rgb(102, 102, 102); text-decoration: none;">  5</a>
<a target=_blank id="L6" href="http://blog.csdn.net/kqjob/article/details/9891065#L6" rel="#L6" style="color: rgb(102, 102, 102); text-decoration: none;">  6</a>
<a target=_blank id="L7" href="http://blog.csdn.net/kqjob/article/details/9891065#L7" rel="#L7" style="color: rgb(102, 102, 102); text-decoration: none;">  7</a>
<a target=_blank id="L8" href="http://blog.csdn.net/kqjob/article/details/9891065#L8" rel="#L8" style="color: rgb(102, 102, 102); text-decoration: none;">  8</a>
<a target=_blank id="L9" href="http://blog.csdn.net/kqjob/article/details/9891065#L9" rel="#L9" style="color: rgb(102, 102, 102); text-decoration: none;">  9</a>
<a target=_blank id="L10" href="http://blog.csdn.net/kqjob/article/details/9891065#L10" rel="#L10" style="color: rgb(102, 102, 102); text-decoration: none;"> 10</a>
<a target=_blank id="L11" href="http://blog.csdn.net/kqjob/article/details/9891065#L11" rel="#L11" style="color: rgb(102, 102, 102); text-decoration: none;"> 11</a>
<a target=_blank id="L12" href="http://blog.csdn.net/kqjob/article/details/9891065#L12" rel="#L12" style="color: rgb(102, 102, 102); text-decoration: none;"> 12</a>
<a target=_blank id="L13" href="http://blog.csdn.net/kqjob/article/details/9891065#L13" rel="#L13" style="color: rgb(102, 102, 102); text-decoration: none;"> 13</a>
<a target=_blank id="L14" href="http://blog.csdn.net/kqjob/article/details/9891065#L14" rel="#L14" style="color: rgb(102, 102, 102); text-decoration: none;"> 14</a>
<a target=_blank id="L15" href="http://blog.csdn.net/kqjob/article/details/9891065#L15" rel="#L15" style="color: rgb(102, 102, 102); text-decoration: none;"> 15</a>
<a target=_blank id="L16" href="http://blog.csdn.net/kqjob/article/details/9891065#L16" rel="#L16" style="color: rgb(102, 102, 102); text-decoration: none;"> 16</a>
<a target=_blank id="L17" href="http://blog.csdn.net/kqjob/article/details/9891065#L17" rel="#L17" style="color: rgb(102, 102, 102); text-decoration: none;"> 17</a>
<a target=_blank id="L18" href="http://blog.csdn.net/kqjob/article/details/9891065#L18" rel="#L18" style="color: rgb(102, 102, 102); text-decoration: none;"> 18</a>
<a target=_blank id="L19" href="http://blog.csdn.net/kqjob/article/details/9891065#L19" rel="#L19" style="color: rgb(102, 102, 102); text-decoration: none;"> 19</a>
<a target=_blank id="L20" href="http://blog.csdn.net/kqjob/article/details/9891065#L20" rel="#L20" style="color: rgb(102, 102, 102); text-decoration: none;"> 20</a>
<a target=_blank id="L21" href="http://blog.csdn.net/kqjob/article/details/9891065#L21" rel="#L21" style="color: rgb(102, 102, 102); text-decoration: none;"> 21</a>
<a target=_blank id="L22" href="http://blog.csdn.net/kqjob/article/details/9891065#L22" rel="#L22" style="color: rgb(102, 102, 102); text-decoration: none;"> 22</a>
<a target=_blank id="L23" href="http://blog.csdn.net/kqjob/article/details/9891065#L23" rel="#L23" style="color: rgb(102, 102, 102); text-decoration: none;"> 23</a>
<a target=_blank id="L24" href="http://blog.csdn.net/kqjob/article/details/9891065#L24" rel="#L24" style="color: rgb(102, 102, 102); text-decoration: none;"> 24</a>
<a target=_blank id="L25" href="http://blog.csdn.net/kqjob/article/details/9891065#L25" rel="#L25" style="color: rgb(102, 102, 102); text-decoration: none;"> 25</a>
<a target=_blank id="L26" href="http://blog.csdn.net/kqjob/article/details/9891065#L26" rel="#L26" style="color: rgb(102, 102, 102); text-decoration: none;"> 26</a>
<a target=_blank id="L27" href="http://blog.csdn.net/kqjob/article/details/9891065#L27" rel="#L27" style="color: rgb(102, 102, 102); text-decoration: none;"> 27</a>
<a target=_blank id="L28" href="http://blog.csdn.net/kqjob/article/details/9891065#L28" rel="#L28" style="color: rgb(102, 102, 102); text-decoration: none;"> 28</a>
<a target=_blank id="L29" href="http://blog.csdn.net/kqjob/article/details/9891065#L29" rel="#L29" style="color: rgb(102, 102, 102); text-decoration: none;"> 29</a>
<a target=_blank id="L30" href="http://blog.csdn.net/kqjob/article/details/9891065#L30" rel="#L30" style="color: rgb(102, 102, 102); text-decoration: none;"> 30</a>
<a target=_blank id="L31" href="http://blog.csdn.net/kqjob/article/details/9891065#L31" rel="#L31" style="color: rgb(102, 102, 102); text-decoration: none;"> 31</a>
<a target=_blank id="L32" href="http://blog.csdn.net/kqjob/article/details/9891065#L32" rel="#L32" style="color: rgb(102, 102, 102); text-decoration: none;"> 32</a>
<a target=_blank id="L33" href="http://blog.csdn.net/kqjob/article/details/9891065#L33" rel="#L33" style="color: rgb(102, 102, 102); text-decoration: none;"> 33</a>
<a target=_blank id="L34" href="http://blog.csdn.net/kqjob/article/details/9891065#L34" rel="#L34" style="color: rgb(102, 102, 102); text-decoration: none;"> 34</a>
<a target=_blank id="L35" href="http://blog.csdn.net/kqjob/article/details/9891065#L35" rel="#L35" style="color: rgb(102, 102, 102); text-decoration: none;"> 35</a>
<a target=_blank id="L36" href="http://blog.csdn.net/kqjob/article/details/9891065#L36" rel="#L36" style="color: rgb(102, 102, 102); text-decoration: none;"> 36</a>
<a target=_blank id="L37" href="http://blog.csdn.net/kqjob/article/details/9891065#L37" rel="#L37" style="color: rgb(102, 102, 102); text-decoration: none;"> 37</a>
<a target=_blank id="L38" href="http://blog.csdn.net/kqjob/article/details/9891065#L38" rel="#L38" style="color: rgb(102, 102, 102); text-decoration: none;"> 38</a>
<a target=_blank id="L39" href="http://blog.csdn.net/kqjob/article/details/9891065#L39" rel="#L39" style="color: rgb(102, 102, 102); text-decoration: none;"> 39</a>
<a target=_blank id="L40" href="http://blog.csdn.net/kqjob/article/details/9891065#L40" rel="#L40" style="color: rgb(102, 102, 102); text-decoration: none;"> 40</a>
<a target=_blank id="L41" href="http://blog.csdn.net/kqjob/article/details/9891065#L41" rel="#L41" style="color: rgb(102, 102, 102); text-decoration: none;"> 41</a>
<a target=_blank id="L42" href="http://blog.csdn.net/kqjob/article/details/9891065#L42" rel="#L42" style="color: rgb(102, 102, 102); text-decoration: none;"> 42</a>
<a target=_blank id="L43" href="http://blog.csdn.net/kqjob/article/details/9891065#L43" rel="#L43" style="color: rgb(102, 102, 102); text-decoration: none;"> 43</a>
<a target=_blank id="L44" href="http://blog.csdn.net/kqjob/article/details/9891065#L44" rel="#L44" style="color: rgb(102, 102, 102); text-decoration: none;"> 44</a>
<a target=_blank id="L45" href="http://blog.csdn.net/kqjob/article/details/9891065#L45" rel="#L45" style="color: rgb(102, 102, 102); text-decoration: none;"> 45</a>
<a target=_blank id="L46" href="http://blog.csdn.net/kqjob/article/details/9891065#L46" rel="#L46" style="color: rgb(102, 102, 102); text-decoration: none;"> 46</a>
<a target=_blank id="L47" href="http://blog.csdn.net/kqjob/article/details/9891065#L47" rel="#L47" style="color: rgb(102, 102, 102); text-decoration: none;"> 47</a>
<a target=_blank id="L48" href="http://blog.csdn.net/kqjob/article/details/9891065#L48" rel="#L48" style="color: rgb(102, 102, 102); text-decoration: none;"> 48</a>
<a target=_blank id="L49" href="http://blog.csdn.net/kqjob/article/details/9891065#L49" rel="#L49" style="color: rgb(102, 102, 102); text-decoration: none;"> 49</a>
<a target=_blank id="L50" href="http://blog.csdn.net/kqjob/article/details/9891065#L50" rel="#L50" style="color: rgb(102, 102, 102); text-decoration: none;"> 50</a>
           
           
#import <QuartzCore/QuartzCore.h>
//下拉状态
typedef enum {
EGOOPullRefreshPulling = 0 ,
EGOOPullRefreshNormal ,
EGOOPullRefreshLoading ,
} EGOPullRefreshState ;
@protocol EGORefreshTableHeaderDelegate;
@interface EGORefreshTableHeaderView : UIView {
id _delegate ;
EGOPullRefreshState _state ; //下拉状态
UILabel * _lastUpdatedLabel ; //显示最后更新的时间
UILabel * _statusLabel ; //显示下拉状态
CALayer * _arrowImage ; //显示下拉图标
UIActivityIndicatorView * _activityView ; //等待指示器
}
@property ( nonatomic , assign ) id < EGORefreshTableHeaderDelegate > delegate ;
- ( id ) initWithFrame: ( CGRect ) frame arrowImageName: ( NSString * ) arrow textColor: ( UIColor * ) textColor ;
//刷新最后更新时间
- ( void ) refreshLastUpdatedDate ;
//UIScrollView 滑动时调用该方法
- ( void ) egoRefreshScrollViewDidScroll: ( UIScrollView * ) scrollView ;
//UIScrollView 停止拖拽时调用该方法
- ( void ) egoRefreshScrollViewDidEndDragging: ( UIScrollView * ) scrollView ;
//数据载入完成时调用此方法
- ( void ) egoRefreshScrollViewDataSourceDidFinishedLoading: ( UIScrollView * ) scrollView ;
@end
//下拉委托
@protocol EGORefreshTableHeaderDelegate
//指示开始刷新数据
- ( void ) egoRefreshTableHeaderDidTriggerRefresh: ( EGORefreshTableHeaderView * ) view ;
//是否正在载入数据
- ( BOOL ) egoRefreshTableHeaderDataSourceIsLoading: ( EGORefreshTableHeaderView * ) view ;
@optional
//返回最后更新时间
- ( NSDate * ) egoRefreshTableHeaderDataSourceLastUpdated : ( EGORefreshTableHeaderView * ) view ;
@end
 来自CODE的代码片
EGOTableViewPullRefresh.h


EGORefreshTableHeaderView.m的代码

<a target=_blank id="L1" href="http://blog.csdn.net/kqjob/article/details/9891065#L1" rel="#L1" style="color: rgb(102, 102, 102); text-decoration: none;">   1</a>
<a target=_blank id="L2" href="http://blog.csdn.net/kqjob/article/details/9891065#L2" rel="#L2" style="color: rgb(102, 102, 102); text-decoration: none;">   2</a>
<a target=_blank id="L3" href="http://blog.csdn.net/kqjob/article/details/9891065#L3" rel="#L3" style="color: rgb(102, 102, 102); text-decoration: none;">   3</a>
<a target=_blank id="L4" href="http://blog.csdn.net/kqjob/article/details/9891065#L4" rel="#L4" style="color: rgb(102, 102, 102); text-decoration: none;">   4</a>
<a target=_blank id="L5" href="http://blog.csdn.net/kqjob/article/details/9891065#L5" rel="#L5" style="color: rgb(102, 102, 102); text-decoration: none;">   5</a>
<a target=_blank id="L6" href="http://blog.csdn.net/kqjob/article/details/9891065#L6" rel="#L6" style="color: rgb(102, 102, 102); text-decoration: none;">   6</a>
<a target=_blank id="L7" href="http://blog.csdn.net/kqjob/article/details/9891065#L7" rel="#L7" style="color: rgb(102, 102, 102); text-decoration: none;">   7</a>
<a target=_blank id="L8" href="http://blog.csdn.net/kqjob/article/details/9891065#L8" rel="#L8" style="color: rgb(102, 102, 102); text-decoration: none;">   8</a>
<a target=_blank id="L9" href="http://blog.csdn.net/kqjob/article/details/9891065#L9" rel="#L9" style="color: rgb(102, 102, 102); text-decoration: none;">   9</a>
<a target=_blank id="L10" href="http://blog.csdn.net/kqjob/article/details/9891065#L10" rel="#L10" style="color: rgb(102, 102, 102); text-decoration: none;">  10</a>
<a target=_blank id="L11" href="http://blog.csdn.net/kqjob/article/details/9891065#L11" rel="#L11" style="color: rgb(102, 102, 102); text-decoration: none;">  11</a>
<a target=_blank id="L12" href="http://blog.csdn.net/kqjob/article/details/9891065#L12" rel="#L12" style="color: rgb(102, 102, 102); text-decoration: none;">  12</a>
<a target=_blank id="L13" href="http://blog.csdn.net/kqjob/article/details/9891065#L13" rel="#L13" style="color: rgb(102, 102, 102); text-decoration: none;">  13</a>
<a target=_blank id="L14" href="http://blog.csdn.net/kqjob/article/details/9891065#L14" rel="#L14" style="color: rgb(102, 102, 102); text-decoration: none;">  14</a>
<a target=_blank id="L15" href="http://blog.csdn.net/kqjob/article/details/9891065#L15" rel="#L15" style="color: rgb(102, 102, 102); text-decoration: none;">  15</a>
<a target=_blank id="L16" href="http://blog.csdn.net/kqjob/article/details/9891065#L16" rel="#L16" style="color: rgb(102, 102, 102); text-decoration: none;">  16</a>
<a target=_blank id="L17" href="http://blog.csdn.net/kqjob/article/details/9891065#L17" rel="#L17" style="color: rgb(102, 102, 102); text-decoration: none;">  17</a>
<a target=_blank id="L18" href="http://blog.csdn.net/kqjob/article/details/9891065#L18" rel="#L18" style="color: rgb(102, 102, 102); text-decoration: none;">  18</a>
<a target=_blank id="L19" href="http://blog.csdn.net/kqjob/article/details/9891065#L19" rel="#L19" style="color: rgb(102, 102, 102); text-decoration: none;">  19</a>
<a target=_blank id="L20" href="http://blog.csdn.net/kqjob/article/details/9891065#L20" rel="#L20" style="color: rgb(102, 102, 102); text-decoration: none;">  20</a>
<a target=_blank id="L21" href="http://blog.csdn.net/kqjob/article/details/9891065#L21" rel="#L21" style="color: rgb(102, 102, 102); text-decoration: none;">  21</a>
<a target=_blank id="L22" href="http://blog.csdn.net/kqjob/article/details/9891065#L22" rel="#L22" style="color: rgb(102, 102, 102); text-decoration: none;">  22</a>
<a target=_blank id="L23" href="http://blog.csdn.net/kqjob/article/details/9891065#L23" rel="#L23" style="color: rgb(102, 102, 102); text-decoration: none;">  23</a>
<a target=_blank id="L24" href="http://blog.csdn.net/kqjob/article/details/9891065#L24" rel="#L24" style="color: rgb(102, 102, 102); text-decoration: none;">  24</a>
<a target=_blank id="L25" href="http://blog.csdn.net/kqjob/article/details/9891065#L25" rel="#L25" style="color: rgb(102, 102, 102); text-decoration: none;">  25</a>
<a target=_blank id="L26" href="http://blog.csdn.net/kqjob/article/details/9891065#L26" rel="#L26" style="color: rgb(102, 102, 102); text-decoration: none;">  26</a>
<a target=_blank id="L27" href="http://blog.csdn.net/kqjob/article/details/9891065#L27" rel="#L27" style="color: rgb(102, 102, 102); text-decoration: none;">  27</a>
<a target=_blank id="L28" href="http://blog.csdn.net/kqjob/article/details/9891065#L28" rel="#L28" style="color: rgb(102, 102, 102); text-decoration: none;">  28</a>
<a target=_blank id="L29" href="http://blog.csdn.net/kqjob/article/details/9891065#L29" rel="#L29" style="color: rgb(102, 102, 102); text-decoration: none;">  29</a>
<a target=_blank id="L30" href="http://blog.csdn.net/kqjob/article/details/9891065#L30" rel="#L30" style="color: rgb(102, 102, 102); text-decoration: none;">  30</a>
<a target=_blank id="L31" href="http://blog.csdn.net/kqjob/article/details/9891065#L31" rel="#L31" style="color: rgb(102, 102, 102); text-decoration: none;">  31</a>
<a target=_blank id="L32" href="http://blog.csdn.net/kqjob/article/details/9891065#L32" rel="#L32" style="color: rgb(102, 102, 102); text-decoration: none;">  32</a>
<a target=_blank id="L33" href="http://blog.csdn.net/kqjob/article/details/9891065#L33" rel="#L33" style="color: rgb(102, 102, 102); text-decoration: none;">  33</a>
<a target=_blank id="L34" href="http://blog.csdn.net/kqjob/article/details/9891065#L34" rel="#L34" style="color: rgb(102, 102, 102); text-decoration: none;">  34</a>
<a target=_blank id="L35" href="http://blog.csdn.net/kqjob/article/details/9891065#L35" rel="#L35" style="color: rgb(102, 102, 102); text-decoration: none;">  35</a>
<a target=_blank id="L36" href="http://blog.csdn.net/kqjob/article/details/9891065#L36" rel="#L36" style="color: rgb(102, 102, 102); text-decoration: none;">  36</a>
<a target=_blank id="L37" href="http://blog.csdn.net/kqjob/article/details/9891065#L37" rel="#L37" style="color: rgb(102, 102, 102); text-decoration: none;">  37</a>
<a target=_blank id="L38" href="http://blog.csdn.net/kqjob/article/details/9891065#L38" rel="#L38" style="color: rgb(102, 102, 102); text-decoration: none;">  38</a>
<a target=_blank id="L39" href="http://blog.csdn.net/kqjob/article/details/9891065#L39" rel="#L39" style="color: rgb(102, 102, 102); text-decoration: none;">  39</a>
<a target=_blank id="L40" href="http://blog.csdn.net/kqjob/article/details/9891065#L40" rel="#L40" style="color: rgb(102, 102, 102); text-decoration: none;">  40</a>
<a target=_blank id="L41" href="http://blog.csdn.net/kqjob/article/details/9891065#L41" rel="#L41" style="color: rgb(102, 102, 102); text-decoration: none;">  41</a>
<a target=_blank id="L42" href="http://blog.csdn.net/kqjob/article/details/9891065#L42" rel="#L42" style="color: rgb(102, 102, 102); text-decoration: none;">  42</a>
<a target=_blank id="L43" href="http://blog.csdn.net/kqjob/article/details/9891065#L43" rel="#L43" style="color: rgb(102, 102, 102); text-decoration: none;">  43</a>
<a target=_blank id="L44" href="http://blog.csdn.net/kqjob/article/details/9891065#L44" rel="#L44" style="color: rgb(102, 102, 102); text-decoration: none;">  44</a>
<a target=_blank id="L45" href="http://blog.csdn.net/kqjob/article/details/9891065#L45" rel="#L45" style="color: rgb(102, 102, 102); text-decoration: none;">  45</a>
<a target=_blank id="L46" href="http://blog.csdn.net/kqjob/article/details/9891065#L46" rel="#L46" style="color: rgb(102, 102, 102); text-decoration: none;">  46</a>
<a target=_blank id="L47" href="http://blog.csdn.net/kqjob/article/details/9891065#L47" rel="#L47" style="color: rgb(102, 102, 102); text-decoration: none;">  47</a>
<a target=_blank id="L48" href="http://blog.csdn.net/kqjob/article/details/9891065#L48" rel="#L48" style="color: rgb(102, 102, 102); text-decoration: none;">  48</a>
<a target=_blank id="L49" href="http://blog.csdn.net/kqjob/article/details/9891065#L49" rel="#L49" style="color: rgb(102, 102, 102); text-decoration: none;">  49</a>
<a target=_blank id="L50" href="http://blog.csdn.net/kqjob/article/details/9891065#L50" rel="#L50" style="color: rgb(102, 102, 102); text-decoration: none;">  50</a>
<a target=_blank id="L51" href="http://blog.csdn.net/kqjob/article/details/9891065#L51" rel="#L51" style="color: rgb(102, 102, 102); text-decoration: none;">  51</a>
<a target=_blank id="L52" href="http://blog.csdn.net/kqjob/article/details/9891065#L52" rel="#L52" style="color: rgb(102, 102, 102); text-decoration: none;">  52</a>
<a target=_blank id="L53" href="http://blog.csdn.net/kqjob/article/details/9891065#L53" rel="#L53" style="color: rgb(102, 102, 102); text-decoration: none;">  53</a>
<a target=_blank id="L54" href="http://blog.csdn.net/kqjob/article/details/9891065#L54" rel="#L54" style="color: rgb(102, 102, 102); text-decoration: none;">  54</a>
<a target=_blank id="L55" href="http://blog.csdn.net/kqjob/article/details/9891065#L55" rel="#L55" style="color: rgb(102, 102, 102); text-decoration: none;">  55</a>
<a target=_blank id="L56" href="http://blog.csdn.net/kqjob/article/details/9891065#L56" rel="#L56" style="color: rgb(102, 102, 102); text-decoration: none;">  56</a>
<a target=_blank id="L57" href="http://blog.csdn.net/kqjob/article/details/9891065#L57" rel="#L57" style="color: rgb(102, 102, 102); text-decoration: none;">  57</a>
<a target=_blank id="L58" href="http://blog.csdn.net/kqjob/article/details/9891065#L58" rel="#L58" style="color: rgb(102, 102, 102); text-decoration: none;">  58</a>
<a target=_blank id="L59" href="http://blog.csdn.net/kqjob/article/details/9891065#L59" rel="#L59" style="color: rgb(102, 102, 102); text-decoration: none;">  59</a>
<a target=_blank id="L60" href="http://blog.csdn.net/kqjob/article/details/9891065#L60" rel="#L60" style="color: rgb(102, 102, 102); text-decoration: none;">  60</a>
<a target=_blank id="L61" href="http://blog.csdn.net/kqjob/article/details/9891065#L61" rel="#L61" style="color: rgb(102, 102, 102); text-decoration: none;">  61</a>
<a target=_blank id="L62" href="http://blog.csdn.net/kqjob/article/details/9891065#L62" rel="#L62" style="color: rgb(102, 102, 102); text-decoration: none;">  62</a>
<a target=_blank id="L63" href="http://blog.csdn.net/kqjob/article/details/9891065#L63" rel="#L63" style="color: rgb(102, 102, 102); text-decoration: none;">  63</a>
<a target=_blank id="L64" href="http://blog.csdn.net/kqjob/article/details/9891065#L64" rel="#L64" style="color: rgb(102, 102, 102); text-decoration: none;">  64</a>
<a target=_blank id="L65" href="http://blog.csdn.net/kqjob/article/details/9891065#L65" rel="#L65" style="color: rgb(102, 102, 102); text-decoration: none;">  65</a>
<a target=_blank id="L66" href="http://blog.csdn.net/kqjob/article/details/9891065#L66" rel="#L66" style="color: rgb(102, 102, 102); text-decoration: none;">  66</a>
<a target=_blank id="L67" href="http://blog.csdn.net/kqjob/article/details/9891065#L67" rel="#L67" style="color: rgb(102, 102, 102); text-decoration: none;">  67</a>
<a target=_blank id="L68" href="http://blog.csdn.net/kqjob/article/details/9891065#L68" rel="#L68" style="color: rgb(102, 102, 102); text-decoration: none;">  68</a>
<a target=_blank id="L69" href="http://blog.csdn.net/kqjob/article/details/9891065#L69" rel="#L69" style="color: rgb(102, 102, 102); text-decoration: none;">  69</a>
<a target=_blank id="L70" href="http://blog.csdn.net/kqjob/article/details/9891065#L70" rel="#L70" style="color: rgb(102, 102, 102); text-decoration: none;">  70</a>
<a target=_blank id="L71" href="http://blog.csdn.net/kqjob/article/details/9891065#L71" rel="#L71" style="color: rgb(102, 102, 102); text-decoration: none;">  71</a>
<a target=_blank id="L72" href="http://blog.csdn.net/kqjob/article/details/9891065#L72" rel="#L72" style="color: rgb(102, 102, 102); text-decoration: none;">  72</a>
<a target=_blank id="L73" href="http://blog.csdn.net/kqjob/article/details/9891065#L73" rel="#L73" style="color: rgb(102, 102, 102); text-decoration: none;">  73</a>
<a target=_blank id="L74" href="http://blog.csdn.net/kqjob/article/details/9891065#L74" rel="#L74" style="color: rgb(102, 102, 102); text-decoration: none;">  74</a>
<a target=_blank id="L75" href="http://blog.csdn.net/kqjob/article/details/9891065#L75" rel="#L75" style="color: rgb(102, 102, 102); text-decoration: none;">  75</a>
<a target=_blank id="L76" href="http://blog.csdn.net/kqjob/article/details/9891065#L76" rel="#L76" style="color: rgb(102, 102, 102); text-decoration: none;">  76</a>
<a target=_blank id="L77" href="http://blog.csdn.net/kqjob/article/details/9891065#L77" rel="#L77" style="color: rgb(102, 102, 102); text-decoration: none;">  77</a>
<a target=_blank id="L78" href="http://blog.csdn.net/kqjob/article/details/9891065#L78" rel="#L78" style="color: rgb(102, 102, 102); text-decoration: none;">  78</a>
<a target=_blank id="L79" href="http://blog.csdn.net/kqjob/article/details/9891065#L79" rel="#L79" style="color: rgb(102, 102, 102); text-decoration: none;">  79</a>
<a target=_blank id="L80" href="http://blog.csdn.net/kqjob/article/details/9891065#L80" rel="#L80" style="color: rgb(102, 102, 102); text-decoration: none;">  80</a>
<a target=_blank id="L81" href="http://blog.csdn.net/kqjob/article/details/9891065#L81" rel="#L81" style="color: rgb(102, 102, 102); text-decoration: none;">  81</a>
<a target=_blank id="L82" href="http://blog.csdn.net/kqjob/article/details/9891065#L82" rel="#L82" style="color: rgb(102, 102, 102); text-decoration: none;">  82</a>
<a target=_blank id="L83" href="http://blog.csdn.net/kqjob/article/details/9891065#L83" rel="#L83" style="color: rgb(102, 102, 102); text-decoration: none;">  83</a>
<a target=_blank id="L84" href="http://blog.csdn.net/kqjob/article/details/9891065#L84" rel="#L84" style="color: rgb(102, 102, 102); text-decoration: none;">  84</a>
<a target=_blank id="L85" href="http://blog.csdn.net/kqjob/article/details/9891065#L85" rel="#L85" style="color: rgb(102, 102, 102); text-decoration: none;">  85</a>
<a target=_blank id="L86" href="http://blog.csdn.net/kqjob/article/details/9891065#L86" rel="#L86" style="color: rgb(102, 102, 102); text-decoration: none;">  86</a>
<a target=_blank id="L87" href="http://blog.csdn.net/kqjob/article/details/9891065#L87" rel="#L87" style="color: rgb(102, 102, 102); text-decoration: none;">  87</a>
<a target=_blank id="L88" href="http://blog.csdn.net/kqjob/article/details/9891065#L88" rel="#L88" style="color: rgb(102, 102, 102); text-decoration: none;">  88</a>
<a target=_blank id="L89" href="http://blog.csdn.net/kqjob/article/details/9891065#L89" rel="#L89" style="color: rgb(102, 102, 102); text-decoration: none;">  89</a>
<a target=_blank id="L90" href="http://blog.csdn.net/kqjob/article/details/9891065#L90" rel="#L90" style="color: rgb(102, 102, 102); text-decoration: none;">  90</a>
<a target=_blank id="L91" href="http://blog.csdn.net/kqjob/article/details/9891065#L91" rel="#L91" style="color: rgb(102, 102, 102); text-decoration: none;">  91</a>
<a target=_blank id="L92" href="http://blog.csdn.net/kqjob/article/details/9891065#L92" rel="#L92" style="color: rgb(102, 102, 102); text-decoration: none;">  92</a>
<a target=_blank id="L93" href="http://blog.csdn.net/kqjob/article/details/9891065#L93" rel="#L93" style="color: rgb(102, 102, 102); text-decoration: none;">  93</a>
<a target=_blank id="L94" href="http://blog.csdn.net/kqjob/article/details/9891065#L94" rel="#L94" style="color: rgb(102, 102, 102); text-decoration: none;">  94</a>
<a target=_blank id="L95" href="http://blog.csdn.net/kqjob/article/details/9891065#L95" rel="#L95" style="color: rgb(102, 102, 102); text-decoration: none;">  95</a>
<a target=_blank id="L96" href="http://blog.csdn.net/kqjob/article/details/9891065#L96" rel="#L96" style="color: rgb(102, 102, 102); text-decoration: none;">  96</a>
<a target=_blank id="L97" href="http://blog.csdn.net/kqjob/article/details/9891065#L97" rel="#L97" style="color: rgb(102, 102, 102); text-decoration: none;">  97</a>
<a target=_blank id="L98" href="http://blog.csdn.net/kqjob/article/details/9891065#L98" rel="#L98" style="color: rgb(102, 102, 102); text-decoration: none;">  98</a>
<a target=_blank id="L99" href="http://blog.csdn.net/kqjob/article/details/9891065#L99" rel="#L99" style="color: rgb(102, 102, 102); text-decoration: none;">  99</a>
<a target=_blank id="L100" href="http://blog.csdn.net/kqjob/article/details/9891065#L100" rel="#L100" style="color: rgb(102, 102, 102); text-decoration: none;"> 100</a>
<a target=_blank id="L101" href="http://blog.csdn.net/kqjob/article/details/9891065#L101" rel="#L101" style="color: rgb(102, 102, 102); text-decoration: none;"> 101</a>
<a target=_blank id="L102" href="http://blog.csdn.net/kqjob/article/details/9891065#L102" rel="#L102" style="color: rgb(102, 102, 102); text-decoration: none;"> 102</a>
<a target=_blank id="L103" href="http://blog.csdn.net/kqjob/article/details/9891065#L103" rel="#L103" style="color: rgb(102, 102, 102); text-decoration: none;"> 103</a>
<a target=_blank id="L104" href="http://blog.csdn.net/kqjob/article/details/9891065#L104" rel="#L104" style="color: rgb(102, 102, 102); text-decoration: none;"> 104</a>
<a target=_blank id="L105" href="http://blog.csdn.net/kqjob/article/details/9891065#L105" rel="#L105" style="color: rgb(102, 102, 102); text-decoration: none;"> 105</a>
<a target=_blank id="L106" href="http://blog.csdn.net/kqjob/article/details/9891065#L106" rel="#L106" style="color: rgb(102, 102, 102); text-decoration: none;"> 106</a>
<a target=_blank id="L107" href="http://blog.csdn.net/kqjob/article/details/9891065#L107" rel="#L107" style="color: rgb(102, 102, 102); text-decoration: none;"> 107</a>
<a target=_blank id="L108" href="http://blog.csdn.net/kqjob/article/details/9891065#L108" rel="#L108" style="color: rgb(102, 102, 102); text-decoration: none;"> 108</a>
<a target=_blank id="L109" href="http://blog.csdn.net/kqjob/article/details/9891065#L109" rel="#L109" style="color: rgb(102, 102, 102); text-decoration: none;"> 109</a>
<a target=_blank id="L110" href="http://blog.csdn.net/kqjob/article/details/9891065#L110" rel="#L110" style="color: rgb(102, 102, 102); text-decoration: none;"> 110</a>
<a target=_blank id="L111" href="http://blog.csdn.net/kqjob/article/details/9891065#L111" rel="#L111" style="color: rgb(102, 102, 102); text-decoration: none;"> 111</a>
<a target=_blank id="L112" href="http://blog.csdn.net/kqjob/article/details/9891065#L112" rel="#L112" style="color: rgb(102, 102, 102); text-decoration: none;"> 112</a>
<a target=_blank id="L113" href="http://blog.csdn.net/kqjob/article/details/9891065#L113" rel="#L113" style="color: rgb(102, 102, 102); text-decoration: none;"> 113</a>
<a target=_blank id="L114" href="http://blog.csdn.net/kqjob/article/details/9891065#L114" rel="#L114" style="color: rgb(102, 102, 102); text-decoration: none;"> 114</a>
<a target=_blank id="L115" href="http://blog.csdn.net/kqjob/article/details/9891065#L115" rel="#L115" style="color: rgb(102, 102, 102); text-decoration: none;"> 115</a>
<a target=_blank id="L116" href="http://blog.csdn.net/kqjob/article/details/9891065#L116" rel="#L116" style="color: rgb(102, 102, 102); text-decoration: none;"> 116</a>
<a target=_blank id="L117" href="http://blog.csdn.net/kqjob/article/details/9891065#L117" rel="#L117" style="color: rgb(102, 102, 102); text-decoration: none;"> 117</a>
<a target=_blank id="L118" href="http://blog.csdn.net/kqjob/article/details/9891065#L118" rel="#L118" style="color: rgb(102, 102, 102); text-decoration: none;"> 118</a>
<a target=_blank id="L119" href="http://blog.csdn.net/kqjob/article/details/9891065#L119" rel="#L119" style="color: rgb(102, 102, 102); text-decoration: none;"> 119</a>
<a target=_blank id="L120" href="http://blog.csdn.net/kqjob/article/details/9891065#L120" rel="#L120" style="color: rgb(102, 102, 102); text-decoration: none;"> 120</a>
<a target=_blank id="L121" href="http://blog.csdn.net/kqjob/article/details/9891065#L121" rel="#L121" style="color: rgb(102, 102, 102); text-decoration: none;"> 121</a>
<a target=_blank id="L122" href="http://blog.csdn.net/kqjob/article/details/9891065#L122" rel="#L122" style="color: rgb(102, 102, 102); text-decoration: none;"> 122</a>
<a target=_blank id="L123" href="http://blog.csdn.net/kqjob/article/details/9891065#L123" rel="#L123" style="color: rgb(102, 102, 102); text-decoration: none;"> 123</a>
<a target=_blank id="L124" href="http://blog.csdn.net/kqjob/article/details/9891065#L124" rel="#L124" style="color: rgb(102, 102, 102); text-decoration: none;"> 124</a>
<a target=_blank id="L125" href="http://blog.csdn.net/kqjob/article/details/9891065#L125" rel="#L125" style="color: rgb(102, 102, 102); text-decoration: none;"> 125</a>
<a target=_blank id="L126" href="http://blog.csdn.net/kqjob/article/details/9891065#L126" rel="#L126" style="color: rgb(102, 102, 102); text-decoration: none;"> 126</a>
<a target=_blank id="L127" href="http://blog.csdn.net/kqjob/article/details/9891065#L127" rel="#L127" style="color: rgb(102, 102, 102); text-decoration: none;"> 127</a>
<a target=_blank id="L128" href="http://blog.csdn.net/kqjob/article/details/9891065#L128" rel="#L128" style="color: rgb(102, 102, 102); text-decoration: none;"> 128</a>
<a target=_blank id="L129" href="http://blog.csdn.net/kqjob/article/details/9891065#L129" rel="#L129" style="color: rgb(102, 102, 102); text-decoration: none;"> 129</a>
<a target=_blank id="L130" href="http://blog.csdn.net/kqjob/article/details/9891065#L130" rel="#L130" style="color: rgb(102, 102, 102); text-decoration: none;"> 130</a>
<a target=_blank id="L131" href="http://blog.csdn.net/kqjob/article/details/9891065#L131" rel="#L131" style="color: rgb(102, 102, 102); text-decoration: none;"> 131</a>
<a target=_blank id="L132" href="http://blog.csdn.net/kqjob/article/details/9891065#L132" rel="#L132" style="color: rgb(102, 102, 102); text-decoration: none;"> 132</a>
<a target=_blank id="L133" href="http://blog.csdn.net/kqjob/article/details/9891065#L133" rel="#L133" style="color: rgb(102, 102, 102); text-decoration: none;"> 133</a>
<a target=_blank id="L134" href="http://blog.csdn.net/kqjob/article/details/9891065#L134" rel="#L134" style="color: rgb(102, 102, 102); text-decoration: none;"> 134</a>
<a target=_blank id="L135" href="http://blog.csdn.net/kqjob/article/details/9891065#L135" rel="#L135" style="color: rgb(102, 102, 102); text-decoration: none;"> 135</a>
<a target=_blank id="L136" href="http://blog.csdn.net/kqjob/article/details/9891065#L136" rel="#L136" style="color: rgb(102, 102, 102); text-decoration: none;"> 136</a>
<a target=_blank id="L137" href="http://blog.csdn.net/kqjob/article/details/9891065#L137" rel="#L137" style="color: rgb(102, 102, 102); text-decoration: none;"> 137</a>
<a target=_blank id="L138" href="http://blog.csdn.net/kqjob/article/details/9891065#L138" rel="#L138" style="color: rgb(102, 102, 102); text-decoration: none;"> 138</a>
<a target=_blank id="L139" href="http://blog.csdn.net/kqjob/article/details/9891065#L139" rel="#L139" style="color: rgb(102, 102, 102); text-decoration: none;"> 139</a>
<a target=_blank id="L140" href="http://blog.csdn.net/kqjob/article/details/9891065#L140" rel="#L140" style="color: rgb(102, 102, 102); text-decoration: none;"> 140</a>
<a target=_blank id="L141" href="http://blog.csdn.net/kqjob/article/details/9891065#L141" rel="#L141" style="color: rgb(102, 102, 102); text-decoration: none;"> 141</a>
<a target=_blank id="L142" href="http://blog.csdn.net/kqjob/article/details/9891065#L142" rel="#L142" style="color: rgb(102, 102, 102); text-decoration: none;"> 142</a>
<a target=_blank id="L143" href="http://blog.csdn.net/kqjob/article/details/9891065#L143" rel="#L143" style="color: rgb(102, 102, 102); text-decoration: none;"> 143</a>
<a target=_blank id="L144" href="http://blog.csdn.net/kqjob/article/details/9891065#L144" rel="#L144" style="color: rgb(102, 102, 102); text-decoration: none;"> 144</a>
<a target=_blank id="L145" href="http://blog.csdn.net/kqjob/article/details/9891065#L145" rel="#L145" style="color: rgb(102, 102, 102); text-decoration: none;"> 145</a>
<a target=_blank id="L146" href="http://blog.csdn.net/kqjob/article/details/9891065#L146" rel="#L146" style="color: rgb(102, 102, 102); text-decoration: none;"> 146</a>
<a target=_blank id="L147" href="http://blog.csdn.net/kqjob/article/details/9891065#L147" rel="#L147" style="color: rgb(102, 102, 102); text-decoration: none;"> 147</a>
<a target=_blank id="L148" href="http://blog.csdn.net/kqjob/article/details/9891065#L148" rel="#L148" style="color: rgb(102, 102, 102); text-decoration: none;"> 148</a>
<a target=_blank id="L149" href="http://blog.csdn.net/kqjob/article/details/9891065#L149" rel="#L149" style="color: rgb(102, 102, 102); text-decoration: none;"> 149</a>
<a target=_blank id="L150" href="http://blog.csdn.net/kqjob/article/details/9891065#L150" rel="#L150" style="color: rgb(102, 102, 102); text-decoration: none;"> 150</a>
<a target=_blank id="L151" href="http://blog.csdn.net/kqjob/article/details/9891065#L151" rel="#L151" style="color: rgb(102, 102, 102); text-decoration: none;"> 151</a>
<a target=_blank id="L152" href="http://blog.csdn.net/kqjob/article/details/9891065#L152" rel="#L152" style="color: rgb(102, 102, 102); text-decoration: none;"> 152</a>
<a target=_blank id="L153" href="http://blog.csdn.net/kqjob/article/details/9891065#L153" rel="#L153" style="color: rgb(102, 102, 102); text-decoration: none;"> 153</a>
<a target=_blank id="L154" href="http://blog.csdn.net/kqjob/article/details/9891065#L154" rel="#L154" style="color: rgb(102, 102, 102); text-decoration: none;"> 154</a>
<a target=_blank id="L155" href="http://blog.csdn.net/kqjob/article/details/9891065#L155" rel="#L155" style="color: rgb(102, 102, 102); text-decoration: none;"> 155</a>
<a target=_blank id="L156" href="http://blog.csdn.net/kqjob/article/details/9891065#L156" rel="#L156" style="color: rgb(102, 102, 102); text-decoration: none;"> 156</a>
<a target=_blank id="L157" href="http://blog.csdn.net/kqjob/article/details/9891065#L157" rel="#L157" style="color: rgb(102, 102, 102); text-decoration: none;"> 157</a>
<a target=_blank id="L158" href="http://blog.csdn.net/kqjob/article/details/9891065#L158" rel="#L158" style="color: rgb(102, 102, 102); text-decoration: none;"> 158</a>
<a target=_blank id="L159" href="http://blog.csdn.net/kqjob/article/details/9891065#L159" rel="#L159" style="color: rgb(102, 102, 102); text-decoration: none;"> 159</a>
<a target=_blank id="L160" href="http://blog.csdn.net/kqjob/article/details/9891065#L160" rel="#L160" style="color: rgb(102, 102, 102); text-decoration: none;"> 160</a>
<a target=_blank id="L161" href="http://blog.csdn.net/kqjob/article/details/9891065#L161" rel="#L161" style="color: rgb(102, 102, 102); text-decoration: none;"> 161</a>
<a target=_blank id="L162" href="http://blog.csdn.net/kqjob/article/details/9891065#L162" rel="#L162" style="color: rgb(102, 102, 102); text-decoration: none;"> 162</a>
<a target=_blank id="L163" href="http://blog.csdn.net/kqjob/article/details/9891065#L163" rel="#L163" style="color: rgb(102, 102, 102); text-decoration: none;"> 163</a>
<a target=_blank id="L164" href="http://blog.csdn.net/kqjob/article/details/9891065#L164" rel="#L164" style="color: rgb(102, 102, 102); text-decoration: none;"> 164</a>
<a target=_blank id="L165" href="http://blog.csdn.net/kqjob/article/details/9891065#L165" rel="#L165" style="color: rgb(102, 102, 102); text-decoration: none;"> 165</a>
<a target=_blank id="L166" href="http://blog.csdn.net/kqjob/article/details/9891065#L166" rel="#L166" style="color: rgb(102, 102, 102); text-decoration: none;"> 166</a>
<a target=_blank id="L167" href="http://blog.csdn.net/kqjob/article/details/9891065#L167" rel="#L167" style="color: rgb(102, 102, 102); text-decoration: none;"> 167</a>
<a target=_blank id="L168" href="http://blog.csdn.net/kqjob/article/details/9891065#L168" rel="#L168" style="color: rgb(102, 102, 102); text-decoration: none;"> 168</a>
<a target=_blank id="L169" href="http://blog.csdn.net/kqjob/article/details/9891065#L169" rel="#L169" style="color: rgb(102, 102, 102); text-decoration: none;"> 169</a>
<a target=_blank id="L170" href="http://blog.csdn.net/kqjob/article/details/9891065#L170" rel="#L170" style="color: rgb(102, 102, 102); text-decoration: none;"> 170</a>
<a target=_blank id="L171" href="http://blog.csdn.net/kqjob/article/details/9891065#L171" rel="#L171" style="color: rgb(102, 102, 102); text-decoration: none;"> 171</a>
<a target=_blank id="L172" href="http://blog.csdn.net/kqjob/article/details/9891065#L172" rel="#L172" style="color: rgb(102, 102, 102); text-decoration: none;"> 172</a>
<a target=_blank id="L173" href="http://blog.csdn.net/kqjob/article/details/9891065#L173" rel="#L173" style="color: rgb(102, 102, 102); text-decoration: none;"> 173</a>
<a target=_blank id="L174" href="http://blog.csdn.net/kqjob/article/details/9891065#L174" rel="#L174" style="color: rgb(102, 102, 102); text-decoration: none;"> 174</a>
<a target=_blank id="L175" href="http://blog.csdn.net/kqjob/article/details/9891065#L175" rel="#L175" style="color: rgb(102, 102, 102); text-decoration: none;"> 175</a>
<a target=_blank id="L176" href="http://blog.csdn.net/kqjob/article/details/9891065#L176" rel="#L176" style="color: rgb(102, 102, 102); text-decoration: none;"> 176</a>
<a target=_blank id="L177" href="http://blog.csdn.net/kqjob/article/details/9891065#L177" rel="#L177" style="color: rgb(102, 102, 102); text-decoration: none;"> 177</a>
<a target=_blank id="L178" href="http://blog.csdn.net/kqjob/article/details/9891065#L178" rel="#L178" style="color: rgb(102, 102, 102); text-decoration: none;"> 178</a>
<a target=_blank id="L179" href="http://blog.csdn.net/kqjob/article/details/9891065#L179" rel="#L179" style="color: rgb(102, 102, 102); text-decoration: none;"> 179</a>
<a target=_blank id="L180" href="http://blog.csdn.net/kqjob/article/details/9891065#L180" rel="#L180" style="color: rgb(102, 102, 102); text-decoration: none;"> 180</a>
<a target=_blank id="L181" href="http://blog.csdn.net/kqjob/article/details/9891065#L181" rel="#L181" style="color: rgb(102, 102, 102); text-decoration: none;"> 181</a>
<a target=_blank id="L182" href="http://blog.csdn.net/kqjob/article/details/9891065#L182" rel="#L182" style="color: rgb(102, 102, 102); text-decoration: none;"> 182</a>
<a target=_blank id="L183" href="http://blog.csdn.net/kqjob/article/details/9891065#L183" rel="#L183" style="color: rgb(102, 102, 102); text-decoration: none;"> 183</a>
<a target=_blank id="L184" href="http://blog.csdn.net/kqjob/article/details/9891065#L184" rel="#L184" style="color: rgb(102, 102, 102); text-decoration: none;"> 184</a>
<a target=_blank id="L185" href="http://blog.csdn.net/kqjob/article/details/9891065#L185" rel="#L185" style="color: rgb(102, 102, 102); text-decoration: none;"> 185</a>
<a target=_blank id="L186" href="http://blog.csdn.net/kqjob/article/details/9891065#L186" rel="#L186" style="color: rgb(102, 102, 102); text-decoration: none;"> 186</a>
<a target=_blank id="L187" href="http://blog.csdn.net/kqjob/article/details/9891065#L187" rel="#L187" style="color: rgb(102, 102, 102); text-decoration: none;"> 187</a>
<a target=_blank id="L188" href="http://blog.csdn.net/kqjob/article/details/9891065#L188" rel="#L188" style="color: rgb(102, 102, 102); text-decoration: none;"> 188</a>
<a target=_blank id="L189" href="http://blog.csdn.net/kqjob/article/details/9891065#L189" rel="#L189" style="color: rgb(102, 102, 102); text-decoration: none;"> 189</a>
<a target=_blank id="L190" href="http://blog.csdn.net/kqjob/article/details/9891065#L190" rel="#L190" style="color: rgb(102, 102, 102); text-decoration: none;"> 190</a>
<a target=_blank id="L191" href="http://blog.csdn.net/kqjob/article/details/9891065#L191" rel="#L191" style="color: rgb(102, 102, 102); text-decoration: none;"> 191</a>
<a target=_blank id="L192" href="http://blog.csdn.net/kqjob/article/details/9891065#L192" rel="#L192" style="color: rgb(102, 102, 102); text-decoration: none;"> 192</a>
<a target=_blank id="L193" href="http://blog.csdn.net/kqjob/article/details/9891065#L193" rel="#L193" style="color: rgb(102, 102, 102); text-decoration: none;"> 193</a>
<a target=_blank id="L194" href="http://blog.csdn.net/kqjob/article/details/9891065#L194" rel="#L194" style="color: rgb(102, 102, 102); text-decoration: none;"> 194</a>
<a target=_blank id="L195" href="http://blog.csdn.net/kqjob/article/details/9891065#L195" rel="#L195" style="color: rgb(102, 102, 102); text-decoration: none;"> 195</a>
<a target=_blank id="L196" href="http://blog.csdn.net/kqjob/article/details/9891065#L196" rel="#L196" style="color: rgb(102, 102, 102); text-decoration: none;"> 196</a>
<a target=_blank id="L197" href="http://blog.csdn.net/kqjob/article/details/9891065#L197" rel="#L197" style="color: rgb(102, 102, 102); text-decoration: none;"> 197</a>
<a target=_blank id="L198" href="http://blog.csdn.net/kqjob/article/details/9891065#L198" rel="#L198" style="color: rgb(102, 102, 102); text-decoration: none;"> 198</a>
<a target=_blank id="L199" href="http://blog.csdn.net/kqjob/article/details/9891065#L199" rel="#L199" style="color: rgb(102, 102, 102); text-decoration: none;"> 199</a>
<a target=_blank id="L200" href="http://blog.csdn.net/kqjob/article/details/9891065#L200" rel="#L200" style="color: rgb(102, 102, 102); text-decoration: none;"> 200</a>
<a target=_blank id="L201" href="http://blog.csdn.net/kqjob/article/details/9891065#L201" rel="#L201" style="color: rgb(102, 102, 102); text-decoration: none;"> 201</a>
<a target=_blank id="L202" href="http://blog.csdn.net/kqjob/article/details/9891065#L202" rel="#L202" style="color: rgb(102, 102, 102); text-decoration: none;"> 202</a>
<a target=_blank id="L203" href="http://blog.csdn.net/kqjob/article/details/9891065#L203" rel="#L203" style="color: rgb(102, 102, 102); text-decoration: none;"> 203</a>
<a target=_blank id="L204" href="http://blog.csdn.net/kqjob/article/details/9891065#L204" rel="#L204" style="color: rgb(102, 102, 102); text-decoration: none;"> 204</a>
<a target=_blank id="L205" href="http://blog.csdn.net/kqjob/article/details/9891065#L205" rel="#L205" style="color: rgb(102, 102, 102); text-decoration: none;"> 205</a>
<a target=_blank id="L206" href="http://blog.csdn.net/kqjob/article/details/9891065#L206" rel="#L206" style="color: rgb(102, 102, 102); text-decoration: none;"> 206</a>
<a target=_blank id="L207" href="http://blog.csdn.net/kqjob/article/details/9891065#L207" rel="#L207" style="color: rgb(102, 102, 102); text-decoration: none;"> 207</a>
<a target=_blank id="L208" href="http://blog.csdn.net/kqjob/article/details/9891065#L208" rel="#L208" style="color: rgb(102, 102, 102); text-decoration: none;"> 208</a>
<a target=_blank id="L209" href="http://blog.csdn.net/kqjob/article/details/9891065#L209" rel="#L209" style="color: rgb(102, 102, 102); text-decoration: none;"> 209</a>
<a target=_blank id="L210" href="http://blog.csdn.net/kqjob/article/details/9891065#L210" rel="#L210" style="color: rgb(102, 102, 102); text-decoration: none;"> 210</a>
<a target=_blank id="L211" href="http://blog.csdn.net/kqjob/article/details/9891065#L211" rel="#L211" style="color: rgb(102, 102, 102); text-decoration: none;"> 211</a>
<a target=_blank id="L212" href="http://blog.csdn.net/kqjob/article/details/9891065#L212" rel="#L212" style="color: rgb(102, 102, 102); text-decoration: none;"> 212</a>
<a target=_blank id="L213" href="http://blog.csdn.net/kqjob/article/details/9891065#L213" rel="#L213" style="color: rgb(102, 102, 102); text-decoration: none;"> 213</a>
<a target=_blank id="L214" href="http://blog.csdn.net/kqjob/article/details/9891065#L214" rel="#L214" style="color: rgb(102, 102, 102); text-decoration: none;"> 214</a>
<a target=_blank id="L215" href="http://blog.csdn.net/kqjob/article/details/9891065#L215" rel="#L215" style="color: rgb(102, 102, 102); text-decoration: none;"> 215</a>
<a target=_blank id="L216" href="http://blog.csdn.net/kqjob/article/details/9891065#L216" rel="#L216" style="color: rgb(102, 102, 102); text-decoration: none;"> 216</a>
<a target=_blank id="L217" href="http://blog.csdn.net/kqjob/article/details/9891065#L217" rel="#L217" style="color: rgb(102, 102, 102); text-decoration: none;"> 217</a>
<a target=_blank id="L218" href="http://blog.csdn.net/kqjob/article/details/9891065#L218" rel="#L218" style="color: rgb(102, 102, 102); text-decoration: none;"> 218</a>
<a target=_blank id="L219" href="http://blog.csdn.net/kqjob/article/details/9891065#L219" rel="#L219" style="color: rgb(102, 102, 102); text-decoration: none;"> 219</a>
<a target=_blank id="L220" href="http://blog.csdn.net/kqjob/article/details/9891065#L220" rel="#L220" style="color: rgb(102, 102, 102); text-decoration: none;"> 220</a>
<a target=_blank id="L221" href="http://blog.csdn.net/kqjob/article/details/9891065#L221" rel="#L221" style="color: rgb(102, 102, 102); text-decoration: none;"> 221</a>
<a target=_blank id="L222" href="http://blog.csdn.net/kqjob/article/details/9891065#L222" rel="#L222" style="color: rgb(102, 102, 102); text-decoration: none;"> 222</a>
<a target=_blank id="L223" href="http://blog.csdn.net/kqjob/article/details/9891065#L223" rel="#L223" style="color: rgb(102, 102, 102); text-decoration: none;"> 223</a>
<a target=_blank id="L224" href="http://blog.csdn.net/kqjob/article/details/9891065#L224" rel="#L224" style="color: rgb(102, 102, 102); text-decoration: none;"> 224</a>
<a target=_blank id="L225" href="http://blog.csdn.net/kqjob/article/details/9891065#L225" rel="#L225" style="color: rgb(102, 102, 102); text-decoration: none;"> 225</a>
<a target=_blank id="L226" href="http://blog.csdn.net/kqjob/article/details/9891065#L226" rel="#L226" style="color: rgb(102, 102, 102); text-decoration: none;"> 226</a>
<a target=_blank id="L227" href="http://blog.csdn.net/kqjob/article/details/9891065#L227" rel="#L227" style="color: rgb(102, 102, 102); text-decoration: none;"> 227</a>
<a target=_blank id="L228" href="http://blog.csdn.net/kqjob/article/details/9891065#L228" rel="#L228" style="color: rgb(102, 102, 102); text-decoration: none;"> 228</a>
<a target=_blank id="L229" href="http://blog.csdn.net/kqjob/article/details/9891065#L229" rel="#L229" style="color: rgb(102, 102, 102); text-decoration: none;"> 229</a>
<a target=_blank id="L230" href="http://blog.csdn.net/kqjob/article/details/9891065#L230" rel="#L230" style="color: rgb(102, 102, 102); text-decoration: none;"> 230</a>
<a target=_blank id="L231" href="http://blog.csdn.net/kqjob/article/details/9891065#L231" rel="#L231" style="color: rgb(102, 102, 102); text-decoration: none;"> 231</a>
<a target=_blank id="L232" href="http://blog.csdn.net/kqjob/article/details/9891065#L232" rel="#L232" style="color: rgb(102, 102, 102); text-decoration: none;"> 232</a>
<a target=_blank id="L233" href="http://blog.csdn.net/kqjob/article/details/9891065#L233" rel="#L233" style="color: rgb(102, 102, 102); text-decoration: none;"> 233</a>
<a target=_blank id="L234" href="http://blog.csdn.net/kqjob/article/details/9891065#L234" rel="#L234" style="color: rgb(102, 102, 102); text-decoration: none;"> 234</a>
<a target=_blank id="L235" href="http://blog.csdn.net/kqjob/article/details/9891065#L235" rel="#L235" style="color: rgb(102, 102, 102); text-decoration: none;"> 235</a>
<a target=_blank id="L236" href="http://blog.csdn.net/kqjob/article/details/9891065#L236" rel="#L236" style="color: rgb(102, 102, 102); text-decoration: none;"> 236</a>
<a target=_blank id="L237" href="http://blog.csdn.net/kqjob/article/details/9891065#L237" rel="#L237" style="color: rgb(102, 102, 102); text-decoration: none;"> 237</a>
<a target=_blank id="L238" href="http://blog.csdn.net/kqjob/article/details/9891065#L238" rel="#L238" style="color: rgb(102, 102, 102); text-decoration: none;"> 238</a>
<a target=_blank id="L239" href="http://blog.csdn.net/kqjob/article/details/9891065#L239" rel="#L239" style="color: rgb(102, 102, 102); text-decoration: none;"> 239</a>
<a target=_blank id="L240" href="http://blog.csdn.net/kqjob/article/details/9891065#L240" rel="#L240" style="color: rgb(102, 102, 102); text-decoration: none;"> 240</a>
<a target=_blank id="L241" href="http://blog.csdn.net/kqjob/article/details/9891065#L241" rel="#L241" style="color: rgb(102, 102, 102); text-decoration: none;"> 241</a>
<a target=_blank id="L242" href="http://blog.csdn.net/kqjob/article/details/9891065#L242" rel="#L242" style="color: rgb(102, 102, 102); text-decoration: none;"> 242</a>
<a target=_blank id="L243" href="http://blog.csdn.net/kqjob/article/details/9891065#L243" rel="#L243" style="color: rgb(102, 102, 102); text-decoration: none;"> 243</a>
<a target=_blank id="L244" href="http://blog.csdn.net/kqjob/article/details/9891065#L244" rel="#L244" style="color: rgb(102, 102, 102); text-decoration: none;"> 244</a>
<a target=_blank id="L245" href="http://blog.csdn.net/kqjob/article/details/9891065#L245" rel="#L245" style="color: rgb(102, 102, 102); text-decoration: none;"> 245</a>
<a target=_blank id="L246" href="http://blog.csdn.net/kqjob/article/details/9891065#L246" rel="#L246" style="color: rgb(102, 102, 102); text-decoration: none;"> 246</a>
<a target=_blank id="L247" href="http://blog.csdn.net/kqjob/article/details/9891065#L247" rel="#L247" style="color: rgb(102, 102, 102); text-decoration: none;"> 247</a>
<a target=_blank id="L248" href="http://blog.csdn.net/kqjob/article/details/9891065#L248" rel="#L248" style="color: rgb(102, 102, 102); text-decoration: none;"> 248</a>
<a target=_blank id="L249" href="http://blog.csdn.net/kqjob/article/details/9891065#L249" rel="#L249" style="color: rgb(102, 102, 102); text-decoration: none;"> 249</a>
<a target=_blank id="L250" href="http://blog.csdn.net/kqjob/article/details/9891065#L250" rel="#L250" style="color: rgb(102, 102, 102); text-decoration: none;"> 250</a>
<a target=_blank id="L251" href="http://blog.csdn.net/kqjob/article/details/9891065#L251" rel="#L251" style="color: rgb(102, 102, 102); text-decoration: none;"> 251</a>
<a target=_blank id="L252" href="http://blog.csdn.net/kqjob/article/details/9891065#L252" rel="#L252" style="color: rgb(102, 102, 102); text-decoration: none;"> 252</a>
<a target=_blank id="L253" href="http://blog.csdn.net/kqjob/article/details/9891065#L253" rel="#L253" style="color: rgb(102, 102, 102); text-decoration: none;"> 253</a>
<a target=_blank id="L254" href="http://blog.csdn.net/kqjob/article/details/9891065#L254" rel="#L254" style="color: rgb(102, 102, 102); text-decoration: none;"> 254</a>
<a target=_blank id="L255" href="http://blog.csdn.net/kqjob/article/details/9891065#L255" rel="#L255" style="color: rgb(102, 102, 102); text-decoration: none;"> 255</a>
<a target=_blank id="L256" href="http://blog.csdn.net/kqjob/article/details/9891065#L256" rel="#L256" style="color: rgb(102, 102, 102); text-decoration: none;"> 256</a>
<a target=_blank id="L257" href="http://blog.csdn.net/kqjob/article/details/9891065#L257" rel="#L257" style="color: rgb(102, 102, 102); text-decoration: none;"> 257</a>
<a target=_blank id="L258" href="http://blog.csdn.net/kqjob/article/details/9891065#L258" rel="#L258" style="color: rgb(102, 102, 102); text-decoration: none;"> 258</a>
<a target=_blank id="L259" href="http://blog.csdn.net/kqjob/article/details/9891065#L259" rel="#L259" style="color: rgb(102, 102, 102); text-decoration: none;"> 259</a>
<a target=_blank id="L260" href="http://blog.csdn.net/kqjob/article/details/9891065#L260" rel="#L260" style="color: rgb(102, 102, 102); text-decoration: none;"> 260</a>
<a target=_blank id="L261" href="http://blog.csdn.net/kqjob/article/details/9891065#L261" rel="#L261" style="color: rgb(102, 102, 102); text-decoration: none;"> 261</a>
<a target=_blank id="L262" href="http://blog.csdn.net/kqjob/article/details/9891065#L262" rel="#L262" style="color: rgb(102, 102, 102); text-decoration: none;"> 262</a>
            
            
#define TEXT_COLOR [UIColor colorWithRed:87.0/255.0 green:108.0/255.0 blue:137.0/255.0 alpha:1.0]
#define FLIP_ANIMATION_DURATION 0.18f
@interface EGORefreshTableHeaderView (Private)
//设置下拉状态
- ( void ) setState: ( EGOPullRefreshState ) aState ;
@end
@implementation EGORefreshTableHeaderView
@synthesize delegate = _delegate ;
- ( id ) initWithFrame: ( CGRect ) frame arrowImageName: ( NSString * ) arrow textColor: ( UIColor * ) textColor {
if (( self = [ super initWithFrame : frame ])) {
//设置UIView为的缩放模式
self . autoresizingMask = UIViewAutoresizingFlexibleWidth ;
self . backgroundColor = [ UIColor colorWithRed : 226.0 / 255.0 green : 231.0 / 255.0 blue : 237.0 / 255.0 alpha : 1.0 ];
//初始化 用来显示最后更新日期的控件
UILabel * label = [[ UILabel alloc ] initWithFrame : CGRectMake ( 0.0f , frame . size . height - 30.0f , self . frame . size . width , 20.0f )];
label . autoresizingMask = UIViewAutoresizingFlexibleWidth ;
label . font = [ UIFont systemFontOfSize : 12.0f ];
label . textColor = textColor ;
label . shadowColor = [ UIColor colorWithWhite : 0.9f alpha : 1.0f ];
label . shadowOffset = CGSizeMake ( 0.0f , 1.0f );
label . backgroundColor = [ UIColor clearColor ];
label . textAlignment = UITextAlignmentCenter ;
[ self addSubview : label ];
_lastUpdatedLabel = label ;
[ label release ];
//初始化 用来显示下拉状态的控件
label = [[ UILabel alloc ] initWithFrame : CGRectMake ( 0.0f , frame . size . height - 48.0f , self . frame . size . width , 20.0f )];
label . autoresizingMask = UIViewAutoresizingFlexibleWidth ;
label . font = [ UIFont boldSystemFontOfSize : 13.0f ];
label . textColor = textColor ;
label . shadowColor = [ UIColor colorWithWhite : 0.9f alpha : 1.0f ];
label . shadowOffset = CGSizeMake ( 0.0f , 1.0f );
label . backgroundColor = [ UIColor clearColor ];
label . textAlignment = UITextAlignmentCenter ;
[ self addSubview : label ];
_statusLabel = label ;
[ label release ];
//初始化 用来显示指示图标的图层
CALayer * layer = [ CALayer layer ];
layer . frame = CGRectMake ( 25.0f , frame . size . height - 65.0f , 30.0f , 55.0f );
layer . contentsGravity = kCAGravityResizeAspect ; //图像显示模式
layer . contents = ( id )[ UIImage imageNamed : arrow ]. CGImage ;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
if ([[ UIScreen mainScreen ] respondsToSelector : @selector ( scale )]) {
layer . contentsScale = [[ UIScreen mainScreen ] scale ];
}
#endif
[[ self layer ] addSublayer : layer ];
_arrowImage = layer ;
//初始化 等待指示器
UIActivityIndicatorView * view = [[ UIActivityIndicatorView alloc ] initWithActivityIndicatorStyle : UIActivityIndicatorViewStyleGray ];
view . frame = CGRectMake ( 25.0f , frame . size . height - 38.0f , 20.0f , 20.0f );
[ self addSubview : view ];
_activityView = view ;
[ view release ];
//初始化下拉状态
[ self setState : EGOOPullRefreshNormal ];
}
return self ;
}
- ( id ) initWithFrame: ( CGRect ) frame {
return [ self initWithFrame : frame arrowImageName : @"blueArrow.png" textColor : TEXT_COLOR ];
}
#pragma mark -
#pragma mark Setters
//更新最后刷新时间
- ( void ) refreshLastUpdatedDate {
if ([ _delegate respondsToSelector : @selector ( egoRefreshTableHeaderDataSourceLastUpdated : )]) {
//通过委托egoRefreshTableHeaderDataSourceLastUpdated:返回时间,并格式化时间
NSDate * date = [ _delegate egoRefreshTableHeaderDataSourceLastUpdated : self ];
[ NSDateFormatter setDefaultFormatterBehavior : NSDateFormatterBehaviorDefault ];
NSDateFormatter * dateFormatter = [[[ NSDateFormatter alloc ] init ] autorelease ];
// [dateFormatter setDateStyle:NSDateFormatterShortStyle];
// [dateFormatter setTimeStyle:NSDateFormatterShortStyle];
[ dateFormatter setDateFormat : @"yyyy-MM-dd HH:mm:ss" ];
//更新最后显示的时间
NSString * lastUpdated = NSLocalizedString ( @"last updated" , @"" );
_lastUpdatedLabel . text = [ NSString stringWithFormat : @"%@ %@" , lastUpdated , [ dateFormatter stringFromDate : date ]];
//保存最后刷新的时间,以便下次打开应用的时候还有
[[ NSUserDefaults standardUserDefaults ] setObject : _lastUpdatedLabel . text forKey : @"EGORefreshTableView_LastRefresh" ];
[[ NSUserDefaults standardUserDefaults ] synchronize ];
} else {
_lastUpdatedLabel . text = nil ;
}
}
//设置下拉状态
- ( void ) setState: ( EGOPullRefreshState ) aState {
switch ( aState ) {
case EGOOPullRefreshPulling: //如果是下拉状态,则更新_statusLabel内容,并把下拉图标旋转180度
// _statusLabel.text = NSLocalizedString(@"Release to refresh...", @"Release to refresh status");
_statusLabel . text = NSLocalizedString ( @"release to refresh" , @"" );
[ CATransaction begin ];
[ CATransaction setAnimationDuration : FLIP_ANIMATION_DURATION ];
_arrowImage . transform = CATransform3DMakeRotation (( M_PI / 180.0 ) * 180.0f , 0.0f , 0.0f , 1.0f );
[ CATransaction commit ];
break ;
case EGOOPullRefreshNormal: //普通状态,恢复默认值
if ( _state == EGOOPullRefreshPulling ) {
[ CATransaction begin ];
[ CATransaction setAnimationDuration : FLIP_ANIMATION_DURATION ];
_arrowImage . transform = CATransform3DIdentity ; //把transform设为默认值
[ CATransaction commit ];
}
// _statusLabel.text = NSLocalizedString(@"Pull down to refresh...", @"Pull down to refresh status");
_statusLabel . text = NSLocalizedString ( @"pull down to refresh" , @"" );
[ _activityView stopAnimating ];
[ CATransaction begin ];
[ CATransaction setValue : ( id ) kCFBooleanTrue forKey : kCATransactionDisableActions ];
_arrowImage . hidden = NO ;
_arrowImage . transform = CATransform3DIdentity ;
[ CATransaction commit ];
[ self refreshLastUpdatedDate ];
break ;
case EGOOPullRefreshLoading: //如果是下拉状态,则显示为载入中,显示等待指示器,并隐藏箭头
// _statusLabel.text = NSLocalizedString(@"Loading...", @"Loading Status");
_statusLabel . text = NSLocalizedString ( @"loading" , @"" );
[ _activityView startAnimating ];
[ CATransaction begin ];
[ CATransaction setValue : ( id ) kCFBooleanTrue forKey : kCATransactionDisableActions ];
_arrowImage . hidden = YES ;
[ CATransaction commit ];
break ;
default:
break ;
}
_state = aState ;
}
#pragma mark -
#pragma mark ScrollView Methods
//UIScrollView 滑动时调用该方法
- ( void ) egoRefreshScrollViewDidScroll: ( UIScrollView * ) scrollView {
if ( _state == EGOOPullRefreshLoading ) { //如果正在载入中,则判断如果是上拉则不改变scrollView,如果是下拉,则保持HeaderView在顶部
CGFloat offset = MAX ( scrollView . contentOffset . y * - 1 , 0 );
offset = MIN ( offset , 60 );
scrollView . contentInset = UIEdgeInsetsMake ( offset , 0.0f , 0.0f , 0.0f );
} else if ( scrollView . isDragging ) { //scrollView停止拖拽时计算下拉状态
BOOL _loading = NO ;
//委托egoRefreshTableHeaderDataSourceIsLoading:返回用户载入数据的情况
if ([ _delegate respondsToSelector : @selector ( egoRefreshTableHeaderDataSourceIsLoading : )]) {
_loading = [ _delegate egoRefreshTableHeaderDataSourceIsLoading : self ];
}
//如果现在时上拉状态,并且没有数据在载入中,则恢复默认状态
if ( _state == EGOOPullRefreshPulling && scrollView . contentOffset . y > - 65.0f && scrollView . contentOffset . y < 0.0f && ! _loading ) {
[ self setState : EGOOPullRefreshNormal ];
} //如果当前为默认状态,下拉大于65,并且不是在载入数据状态,则设置为Pull状态
else if ( _state == EGOOPullRefreshNormal && scrollView . contentOffset . y < - 65.0f && ! _loading ) {
[ self setState : EGOOPullRefreshPulling ];
}
if ( scrollView . contentInset . top != 0 ) {
scrollView . contentInset = UIEdgeInsetsZero ;
}
}
}
//UIScrollView 停止拖拽时调用该方法
- ( void ) egoRefreshScrollViewDidEndDragging: ( UIScrollView * ) scrollView {
BOOL _loading = NO ;
if ([ _delegate respondsToSelector : @selector ( egoRefreshTableHeaderDataSourceIsLoading : )]) {
_loading = [ _delegate egoRefreshTableHeaderDataSourceIsLoading : self ];
}
//如果还没有载入数据,则通知载入数据
if ( scrollView . contentOffset . y <= - 65.0f && ! _loading ) {
if ([ _delegate respondsToSelector : @selector ( egoRefreshTableHeaderDidTriggerRefresh : )]) {
[ _delegate egoRefreshTableHeaderDidTriggerRefresh : self ];
}
[ self setState : EGOOPullRefreshLoading ];
[ UIView beginAnimations : nil context : NULL ];
[ UIView setAnimationDuration : 0.2 ];
scrollView . contentInset = UIEdgeInsetsMake ( 60.0f , 0.0f , 0.0f , 0.0f );
[ UIView commitAnimations ];
}
}
//数据载入完成是调用此方法
- ( void ) egoRefreshScrollViewDataSourceDidFinishedLoading: ( UIScrollView * ) scrollView {
[ UIView beginAnimations : nil context : NULL ];
[ UIView setAnimationDuration : .3 ];
[ scrollView setContentInset : UIEdgeInsetsMake ( 0.0f , 0.0f , 0.0f , 0.0f )];
[ UIView commitAnimations ];
[ self setState : EGOOPullRefreshNormal ];
}
#pragma mark -
#pragma mark Dealloc
- ( void ) dealloc {
_delegate = nil ;
_activityView = nil ;
_statusLabel = nil ;
_arrowImage = nil ;
_lastUpdatedLabel = nil ;
[ super dealloc ];
}
@end
 来自CODE的代码片
EGORefreshTableHeaderView.m


这是我发的处女文章,写的不好请见谅哈,如果觉得还可以,就转载下哈。
http://blog.csdn.net/kqjob
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值