今天继续看了下CircleLayout布局。
1 2 3 4 5 6 7 8 |
|
用三角函数计算求得当前item在圆环上得位置。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
1 2 3 4 5 6 7 8 |
|
原文链接 http://www.onevcat.com/2012/08/advanced-collection-view/
今天继续看了下CircleLayout布局。
1 2 3 4 5 6 7 8 |
|
用三角函数计算求得当前item在圆环上得位置。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
1 2 3 4 5 6 7 8 |
|
原文链接 http://www.onevcat.com/2012/08/advanced-collection-view/
每一个新版本iOS出现之后,开发者会发现有一些方法会被NS_DEPRECATED_IOS(xx,xx).这个宏定义是什么意思呢?
1
|
|
所以可以继续使用。
今天,真热啊。
看了看苹果官方工程LineLayout,记录下这段代码。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
对方法的看法
1
|
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
对方法的看法
1 2 |
|
对UICollectionViewLayoutAttributes的看法
1
|
|
原文链接:http://www.onevcat.com/2012/08/advanced-collection-view/
最近刚刚更新老了Xcode5.1.1,发现只有系统自带的iOS7.1模拟器,对于调试以前的版本,还需要安装老版本的模拟器。系统提供了一种从preference下载的方式,但是模拟器一般都会很大,非常的费劲。于是上网搜到了一种比较快捷的方式。一共3步
1.从老版本Applications/Xcode.app/Contents/Developer/Platforms /iPhoneOS.platform/Developer/SDKs 拷贝Base Sdk到新版本Xcode对应目录下。
2./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs 对这个路径下进行如上的一次拷贝。
3.关掉Xcode。重新打开系统会自动提示有新的包加入。按照提示做即可。
关于博客
以前就有写博客的,博客地址是http://yupeiliang110.blog.163.com
欢迎大家前来学习交流。现在发现了很多人都用这个octopress 写技术博客,觉得挺好玩的,想试试,经过一天半时间,终于可以写东西了,窃喜,接下来继续改进。
Dear Cherry,
its 520's day, so be happy. thanks for your supports. as you look this ,it seems that i have finish the blog. still i have to do some other works. anyhow , be happy.