会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
这永远都是开始!
得失随缘,心无增减
博客园
首页
新随笔
联系
订阅
管理
2022年9月5日
pincode
摘要: 77606263720 75097340090cxdesk
阅读全文
posted @ 2022-09-05 10:12 Athook
阅读(189)
评论(0)
推荐(0)
2016年11月14日
秒杀
摘要: // 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
阅读(168)
评论(0)
推荐(0)
2015年10月10日
image转文件
摘要: UIImage *image = self.imageCompainPhoto.image; NSData *imageData = UIImagePNGRepresentation(image); [imageData writeToFile:@"/Users/apple/desktop/123...
阅读全文
posted @ 2015-10-10 15:52 Athook
阅读(157)
评论(0)
推荐(0)
2015年9月29日
ios nslog 打印字典为中文
摘要: #import @implementation NSDictionary (Log)- (NSString *)descriptionWithLocale:(id)locale{ NSMutableString *str = [NSMutableString string]; [...
阅读全文
posted @ 2015-09-29 14:47 Athook
阅读(602)
评论(0)
推荐(1)
2015年9月10日
navigation的pushViewController卡顿问题
摘要: 设置push过去的控制器的颜色就好了self.view.backgroundColor = MAIN_COLOR_GRAY;
阅读全文
posted @ 2015-09-10 16:14 Athook
阅读(158)
评论(0)
推荐(0)
2015年9月9日
addChildViewController 用法
摘要: //// 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
阅读(379)
评论(0)
推荐(0)
父控制器通知子控制器做事情
摘要: SCAllOrderViewController *redController = [[SCAllOrderViewController alloc] init]; redController.tag=1; [redController setTitle:@"全部"]; SCWatiPa...
阅读全文
posted @ 2015-09-09 15:36 Athook
阅读(209)
评论(0)
推荐(0)
UIScrollView 滚动停止的时候一次调用此方法
摘要: //拖动返回选中的索引 当滚动视图停止时的时候- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{ CGFloat width = scrollView.frame.size.width; NSLog(@"%f"...
阅读全文
posted @ 2015-09-09 15:10 Athook
阅读(743)
评论(0)
推荐(0)
2015年9月8日
调整cell的间距
摘要: -(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{ if (self == [super initWithStyle:style reuseI...
阅读全文
posted @ 2015-09-08 16:37 Athook
阅读(375)
评论(0)
推荐(0)
自定义图层 注意
摘要: calayer=[CALayer layer]; // SCMylayer *layer = [SCMylayer layer]; //2.设置layer的属性 calayer.backgroundColor=[UIColor clearColor].CGColor; ...
阅读全文
posted @ 2015-09-08 10:59 Athook
阅读(194)
评论(0)
推荐(0)
下一页
公告