上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 92 下一页
摘要: 1:首先 [objc] view plain copy print? [textField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged]; [ob 阅读全文
posted @ 2016-09-18 09:28 ma_fighting 阅读(3245) 评论(0) 推荐(0)
摘要: 类方法: 阅读全文
posted @ 2016-09-18 09:16 ma_fighting 阅读(1071) 评论(0) 推荐(0)
摘要: //一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic]; //一个cell刷新 NSIndexPath *... 阅读全文
posted @ 2016-09-16 16:41 ma_fighting 阅读(5828) 评论(1) 推荐(0)
摘要: //两个按钮的父类view UIView *rightButtonView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 50)]; //历史浏览按钮 UIButton *historyBtn = [[UIButton alloc] in 阅读全文
posted @ 2016-09-14 15:53 ma_fighting 阅读(6543) 评论(0) 推荐(0)
摘要: - (void)refresh { MJRefreshGifHeader *header = [MJRefreshGifHeader headerWithRefreshingTarget:self refreshingAction:@selector(getData)]; NSMutableArray *images = [NSMutableArray array]; f... 阅读全文
posted @ 2016-09-14 15:32 ma_fighting 阅读(180) 评论(0) 推荐(0)
摘要: 1. Oracle,随机查询查询语句-20条 select * from ( select * from 表名 order by dbms_random.value ) where rownum <= 20; 2.MSSQL Server,随机查询语句-20条 select top 20 * fro 阅读全文
posted @ 2016-09-13 20:00 ma_fighting 阅读(3860) 评论(0) 推荐(0)
摘要: PHP 上传文件接口: iOS通过接口上传图片: 阅读全文
posted @ 2016-09-13 15:12 ma_fighting 阅读(5575) 评论(0) 推荐(1)
摘要: $_SERVER['HTTP_ACCEPT_LANGUAGE']//浏览器语言 $_SERVER['REMOTE_ADDR'] //当前用户 IP 。 $_SERVER['REMOTE_HOST'] //当前用户主机名 $_SERVER['REQUEST_URI'] //URL$_SERVER['R 阅读全文
posted @ 2016-09-13 13:21 ma_fighting 阅读(47197) 评论(1) 推荐(0)
摘要: //初始化并定义大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, 280, 30)]; textview.backgroundColor=[UIColor whiteColor]; //背景色 阅读全文
posted @ 2016-09-12 19:15 ma_fighting 阅读(656) 评论(0) 推荐(0)
摘要: 效果展示: 阅读全文
posted @ 2016-09-12 14:32 ma_fighting 阅读(303) 评论(0) 推荐(0)
上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 92 下一页
历史天气查