上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 98 下一页
摘要: scrollView.bounds.origin.y = self.tableview.contentoffset.y,contentoffset:偏移出 当前 scrollview frame的 内容;当 scrollview滑动 到最下面的 时候,contentSize.height = contentoffset.y + scrollview.frame.height;滑动到下面,当 contentsize contentSize;contentsize 在 数据源没有变化之前是 不会变化的,而 当滑动的时候,contentoffset相对 frame的位置 是变化的, 阅读全文
posted @ 2013-08-29 11:48 路在脚下, 阅读(361) 评论(0) 推荐(0) 编辑
摘要: if (_refreshHeaderView == nil) {EGORefreshTableHeaderView *view = [[EGORefreshTableHeaderViewalloc] initWithFrame:CGRectMake(0.0f, 0.0f - self.tableView.bounds.size.height, self.view.frame.size.width, self.tableView.bounds.size.height)];view.delegate = self;[self.tableView addSubview:view];_refresh. 阅读全文
posted @ 2013-08-29 10:44 路在脚下, 阅读(851) 评论(0) 推荐(0) 编辑
摘要: [[NSUserDefaultsstandardUserDefaults] setObject:_lastUpdatedLabel.textforKey:@"EGORefreshTableView_LastRefresh"];[[NSUserDefaultsstandardUserDefaults] synchronize]; 阅读全文
posted @ 2013-08-29 09:42 路在脚下, 阅读(133) 评论(0) 推荐(0) 编辑
摘要: - (void)displayIndicator{ if (_indicator == nil) { _indicator = [[UIActivityIndicatorViewalloc] initWithFrame:CGRectMake((self.frame.size.width- self.frame.size.height) / 2 - 60, 0.0f, self.frame.size.height, self.frame.size.height)]; _indicator.activity... 阅读全文
posted @ 2013-08-29 09:36 路在脚下, 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 2013-08-27 15:19:14.363 Zhaocailing[5346:907] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM insertObject:atIndex:]: index 4294967295 beyond bounds for empty array'1,褒奖2,自己的信息,家穷创业,3,钢需4,大众音乐5,版权6,投资a,会成功,会出名,好好做吧, 讲理念,讲愿景,高举高打 会 冲破 小应用 ,使 阅读全文
posted @ 2013-08-27 15:20 路在脚下, 阅读(778) 评论(0) 推荐(0) 编辑
摘要: -(void)storeSettingChatList:(UITapGestureRecognizer *)sender{ if (sender.state == UIGestureRecognizerStateEnded) { UIView *gestureView =sender.view; MessageListInfo *info = [self.dataArray objectAtIndex:gestureView.tag]; [self.dataArray removeObject:info]; [self.dataArray insertObject:i... 阅读全文
posted @ 2013-08-27 14:26 路在脚下, 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1,维护 一个置顶列表,即可,与服务器没有关系,只是 前台一个显示策略,跟 爱康360 里面的 用药提醒设置是 一样的, 也是本地记忆的,//写入缓存列表-(void)storeSettingChatList:(UITapGestureRecognizer *)sender{ if (sender.state == UIGestureRecognizerStateEnded) { UIView *gestureView =sender.view; MessageListInfo *info = [self.dataArray objectAtIndex:gestureView.t... 阅读全文
posted @ 2013-08-27 11:41 路在脚下, 阅读(177) 评论(0) 推荐(0) 编辑
摘要: - (void)scrollViewDidScroll:(UIScrollView *)scrollView;{ CGFloat y ; if (scrollView.contentOffset.y < 0) { y = scrollView.contentOffset.y; TTLog(@"%f",y); // self.headerView.bgImageView.frame = CGRectMake(self.tableViewHeaderView.frame.origin.x, y - 1, 320, ORIGIN_HEIGHT - y); if (y < 阅读全文
posted @ 2013-08-26 17:17 路在脚下, 阅读(130) 评论(0) 推荐(0) 编辑
摘要: tableView.contentOffset.y + tableview.frame.size.height = tableview.contentSize.height;- (void)scrollTableViewToBottom:(BOOL)animated{ [UIViewbeginAnimations:nilcontext:NULL]; [UIViewsetAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIViewsetAnimationDuration:0.35f]; self.tableV... 阅读全文
posted @ 2013-08-26 10:46 路在脚下, 阅读(162) 评论(0) 推荐(0) 编辑
摘要: // self.commonArray = commonArray;//测试 下乱的感觉 set self.dailyAlarmArray = [selfpickupTimeArrayFromScheduleAlarmArray:self.commonArray]; get 阅读全文
posted @ 2013-08-24 15:02 路在脚下, 阅读(138) 评论(0) 推荐(0) 编辑
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 98 下一页