随笔分类 -  IOS

swift语法
摘要:// Playground - noun: a place where people can playimport UIKitvar str = "Hello, playground"var str1="test"str1println("ddddd")let implmentInteger : D... 阅读全文
posted @ 2014-09-21 21:23 viste 阅读(256) 评论(0) 推荐(0)
ios语法
摘要:protocal协议category 类别extension 扩展block^(传入参数列){行为主体};如果没有参数则为:^(void){行为主体}Block Pointer是这样定义的:回传值(^名字)(参数列);先看一个比较简单的Block例子:intmultiplier=7;int(^myB... 阅读全文
posted @ 2014-09-21 11:15 viste 阅读(119) 评论(0) 推荐(0)
ios开源库
摘要:http://www.lanrenios.com/ios/list_1_18.html 阅读全文
posted @ 2014-06-30 21:18 viste 阅读(75) 评论(0) 推荐(0)
XCode颜色显示插件
摘要:在XCode中使用颜色不外用UIColor或者NSColor设置RGBA值。我之前一直用Sip,它通过取色后自动生成objective-c代码并放入到剪贴板中。现在又发现了一个XCode插件ColorSense,它为XCode中的颜色代码提供直观的预览功能,可能直接看到你设置的颜色是怎样的,也挺方便... 阅读全文
posted @ 2014-06-29 22:25 viste 阅读(318) 评论(0) 推荐(0)
ios 抽屉组件
摘要:https://github.com/easyui/EZSideMenuDemohttps://github.com/romaonthego/RESideMenuhttps://github.com/twotoasters/TWTSideMenuViewController 阅读全文
posted @ 2014-06-28 15:34 viste 阅读(106) 评论(0) 推荐(0)