随笔分类 -  ios

摘要:第一篇想象一下你已经完成了你的app并且运行的很好,但是界面看上去太土,你可以在PS里面画好多不同尺寸的自定义控件,Apple并没有4x的retina屏幕。或者你已经未雨绸缪,在代码中使用Core Graphics创建一个图形并且缩放适配不同尺寸的设备。Core Graphics 是苹果的矢量绘制框... 阅读全文
posted @ 2015-02-16 13:59 Zoe_J 阅读(416) 评论(0) 推荐(0)
摘要:在做一个对象旋转的时候,要求转动的弧度角,这个地方报错,如题的错误,其实是类型转换的问题,swift不能静静的做类型转换,一定要显式的转换typeTableView?.transform=CGAffineTransformMakeRotation(-M_PI/2)改变一下就可以了typeTableV... 阅读全文
posted @ 2014-10-04 15:24 Zoe_J 阅读(1115) 评论(0) 推荐(0)
摘要:swift 和 AVOSCloud 阅读全文
posted @ 2014-09-27 17:19 Zoe_J 阅读(687) 评论(0) 推荐(0)
摘要:Pods was rejected as an implicit dependency for ‘libPods.a’ because its architectures ‘i386’ didn’t contain all required architectures ‘x86_64’参考了http... 阅读全文
posted @ 2014-09-21 13:02 Zoe_J 阅读(1292) 评论(0) 推荐(0)
摘要:最近需要使用一些动态类库,cocoapods比较好用,能帮助管理这些类库,百度一下也能找到很多cocoapods配置方法,这里不赘述,我想要讲的是在配置的时候一般都会推荐这样做$ gem sources --remove https://rubygems.org///等有反应之后再敲入以下命令$ g... 阅读全文
posted @ 2014-09-21 10:55 Zoe_J 阅读(191) 评论(0) 推荐(0)
摘要:我事先放了一堆svg文件,但是我是批量使用的,想要直接遍历他们加入到一个list中来,那我直接就遍历他们的名称,把他们的名字组成一个array。 var ss:NSString = NSBundle.mainBundle().resourcePath!//6.0.1修改了要求感叹号 ... 阅读全文
posted @ 2014-09-20 10:15 Zoe_J 阅读(635) 评论(0) 推荐(0)
摘要:Size Classes with Xcode 6: One Storyboard for all Sizes 为所有的尺寸准备一个Storyboard 阅读全文
posted @ 2014-08-24 00:59 Zoe_J 阅读(1544) 评论(0) 推荐(0)
摘要:IBInspectable 阅读全文
posted @ 2014-08-21 23:09 Zoe_J 阅读(305) 评论(0) 推荐(0)
摘要:swift初学自定义UiCollectionViewCell 阅读全文
posted @ 2014-08-18 23:05 Zoe_J 阅读(6088) 评论(0) 推荐(0)
摘要:用swift,用svgkit的使用 阅读全文
posted @ 2014-08-05 00:42 Zoe_J 阅读(3239) 评论(0) 推荐(0)
摘要:在storyboard中ios创建一个新的场景,并且关联一个viewcontroller代码文件,初学者的记录 阅读全文
posted @ 2014-07-27 16:08 Zoe_J 阅读(8159) 评论(1) 推荐(1)