上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: http://www.cnblogs.com/AaronYang/p/3220111.htmlhttp://blog.itpub.net/26230597/viewspace-1275597http://wenku.baidu.com/link?url=lgeP-rej-a0L8XJlivU7OhK... 阅读全文
posted @ 2015-02-19 16:14 太过于漂流 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 使用CocoaPods配置第三方类库引用:http://www.it165.net/pro/html/201402/9213.html前言在iOS项目中使用第三方类库可以说是非常常见的事,但是要正确地配置他们有时候是非常繁琐的事情,幸运的是CocoaPods是一个很好的解决方案。什么是CocoaPo... 阅读全文
posted @ 2015-01-12 10:01 太过于漂流 阅读(1599) 评论(0) 推荐(0) 编辑
摘要: 【label】// 实例化UILabel并指定其边框 UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0.0, 80.0, 320.0, 300.0)]; // 设置label显示的文本 [label setText:... 阅读全文
posted @ 2014-12-19 09:52 太过于漂流 阅读(177) 评论(0) 推荐(0) 编辑
摘要: CoreGraphics.hCGAffineTransform rotation = CGAffineTransformMakeRotation(M_PI_2);
[xxx setTransform:rotation];
呵呵就这么简单的两行代码就可以实现了!顺便记录一些常量,以后用的着!#defi... 阅读全文
posted @ 2014-12-16 12:28 太过于漂流 阅读(189) 评论(0) 推荐(0) 编辑
摘要: NSArray 是一个静态数组,不修改该数组中的元素,也不能添加元素,所以仅有NSArray 是不够的。NSMutableArray 就应运而生,来满足我们的需求了。NSmutableArray 常用方法总结array创建一个空数组+(id)arrayWithCapacity:size创建一个数组,... 阅读全文
posted @ 2014-12-10 09:18 太过于漂流 阅读(139) 评论(0) 推荐(0) 编辑
摘要: •CGSize contentSize:设置UIScrollView的滚动范围•CGPoint contentOffset:UIScrollView当前滚动的位置•UIEdgeInsets contentInset:增加滚动视图四周的增加滚动范围1.创建 UIScrollView *scrol... 阅读全文
posted @ 2014-11-07 10:50 太过于漂流 阅读(226) 评论(0) 推荐(0) 编辑
摘要: http://www.yiibai.com/html/ios/2013/0902234.html 阅读全文
posted @ 2014-11-06 12:02 太过于漂流 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 原文http://www.gowhich.com/blog/view/id/382出于什么样的原因你会希望用户从你的iOS app中进入App Store呢?可能你想用户去App Store 为你的应用评分,也可能你希望用户看到你其他的iOS app。iOS 6引入了SKStoreProductVi... 阅读全文
posted @ 2014-10-24 11:17 太过于漂流 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 1.建立tableView DataTable = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, 420)]; [DataTable setDelegate:self]; [DataTable setDataSource:self]... 阅读全文
posted @ 2014-08-04 09:53 太过于漂流 阅读(302) 评论(0) 推荐(0) 编辑
摘要: UITapGestureRecognizer * tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapOnce)];//定义一个手势[tap setNumberOfTouchesRequired:... 阅读全文
posted @ 2014-07-27 13:38 太过于漂流 阅读(95) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页