05 2016 档案

摘要:使用的话,例如: cell.accessoryType = UITableViewCellAccessoryNone;//cell没有任何的样式 cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;//cell的右边有一个 阅读全文
posted @ 2016-05-18 11:06 GJR 阅读(222) 评论(0) 推荐(0)
摘要:1.截取字符串 NSString string =@"sdfsfsfsAdfsdf"; string = [string substringToIndex:7];//截取掉下标7之后的字符串 NSLog(@"截取的值为:%@",string); [string substringFromIndex: 阅读全文
posted @ 2016-05-18 10:24 GJR 阅读(173) 评论(0) 推荐(0)
摘要:HTTP状态码(HTTP Status Code),常见的error 404, error 504等的意思 一些常见的状态码为: 200 – 服务器成功返回网页 404 – 请求的网页不存在 503 – 服务不可用 详细分解: 1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态代码。 代 阅读全文
posted @ 2016-05-12 09:04 GJR 阅读(1250) 评论(0) 推荐(0)
摘要:for (UIViewController controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[patrolSignViewController class]]) { [s 阅读全文
posted @ 2016-05-05 15:09 GJR 阅读(167) 评论(0) 推荐(0)