摘要: 77606263720 75097340090cxdesk 阅读全文
posted @ 2022-09-05 10:12 Athook 阅读(115) 评论(0) 推荐(0) 编辑
摘要: // alert(1); // setInterval(function(){ // alert(11); // $("#kw").val("时间"); // },1000); //alert($("#su").attr("value")); // var newNode = document.createElement("p");//创建P标签 // newNode.inne... 阅读全文
posted @ 2016-11-14 14:06 Athook 阅读(163) 评论(0) 推荐(0) 编辑
摘要: UIImage *image = self.imageCompainPhoto.image; NSData *imageData = UIImagePNGRepresentation(image); [imageData writeToFile:@"/Users/apple/desktop/123... 阅读全文
posted @ 2015-10-10 15:52 Athook 阅读(139) 评论(0) 推荐(0) 编辑
摘要: #import @implementation NSDictionary (Log)- (NSString *)descriptionWithLocale:(id)locale{ NSMutableString *str = [NSMutableString string]; [... 阅读全文
posted @ 2015-09-29 14:47 Athook 阅读(591) 评论(0) 推荐(1) 编辑
摘要: 设置push过去的控制器的颜色就好了self.view.backgroundColor = MAIN_COLOR_GRAY; 阅读全文
posted @ 2015-09-10 16:14 Athook 阅读(153) 评论(0) 推荐(0) 编辑
摘要: //// SCMyOrderViewController.m// SmartCommunity//// Created by chenhuan on 15/9/7.// Copyright (c) 2015年 smartcommunity. All rights reserved.//#im... 阅读全文
posted @ 2015-09-09 16:42 Athook 阅读(374) 评论(0) 推荐(0) 编辑
摘要: SCAllOrderViewController *redController = [[SCAllOrderViewController alloc] init]; redController.tag=1; [redController setTitle:@"全部"]; SCWatiPa... 阅读全文
posted @ 2015-09-09 15:36 Athook 阅读(198) 评论(0) 推荐(0) 编辑
摘要: //拖动返回选中的索引 当滚动视图停止时的时候- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{ CGFloat width = scrollView.frame.size.width; NSLog(@"%f"... 阅读全文
posted @ 2015-09-09 15:10 Athook 阅读(735) 评论(0) 推荐(0) 编辑
摘要: -(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{ if (self == [super initWithStyle:style reuseI... 阅读全文
posted @ 2015-09-08 16:37 Athook 阅读(347) 评论(0) 推荐(0) 编辑
摘要: calayer=[CALayer layer]; // SCMylayer *layer = [SCMylayer layer]; //2.设置layer的属性 calayer.backgroundColor=[UIColor clearColor].CGColor; ... 阅读全文
posted @ 2015-09-08 10:59 Athook 阅读(191) 评论(0) 推荐(0) 编辑