06 2017 档案

摘要:1. view调用self.presenter,presernter调用self.view https://blog.coding.net/blog/ios-architecture-patterns https://segmentfault.com/a/1190000006800020 阅读全文
posted @ 2017-06-30 11:45 lianhuaren 阅读(109) 评论(0) 推荐(0)
摘要:1. AVAssetExportPresetMediumQuality和 AVAssetExportPreset960x540 码率相差很大,视频大小也会相差很大 AVAssetExportPresetMediumQuality empdeMac-mini:OPS temp$ ffmpeg -i / 阅读全文
posted @ 2017-06-27 18:33 lianhuaren 阅读(2774) 评论(0) 推荐(0)
摘要:1. a={ ip = "127.0.0.1", port = 6789 } for i,v in pairs(a) do print(i,v) end a={1} for i,v in ipairs(a) do print(i,v) end http://blog.csdn.net/witch_s 阅读全文
posted @ 2017-06-26 14:12 lianhuaren 阅读(212) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-06-17 15:46 lianhuaren 阅读(5) 评论(0) 推荐(0)
摘要:1. http://www.jianshu.com/p/1cdfc60da04f 2.lua c++ Lua访问C++类 现在,我们在Lua里面操作这个Student类。注意,我们绑定的每一个函数都需要一个student对象作为参数,这样使用有一点不太方便。 local s = cc.create( 阅读全文
posted @ 2017-06-16 13:45 lianhuaren 阅读(138) 评论(0) 推荐(0)
摘要:1. 有一道iOS面试题,iOS中都有什么设计模式?很少有答案说包括adapter。 gof 书中adapter模式有以下内容: 实现: 。。。 b ) 使 用 代 理 对 象 在这种方法中, T r e e D i s p l a y 将访问树结构的请求转发到代理对象。 T r e e D i s 阅读全文
posted @ 2017-06-15 15:32 lianhuaren 阅读(398) 评论(0) 推荐(0)
摘要:1. lua函数都在refid_fun 比如;lua代码item:addNodeEventListener,CCScriptEventDispatcher* self item,int event cc.MENU_ITEM_CLICKED_EVENT, http://blog.csdn.net/li 阅读全文
posted @ 2017-06-13 15:22 lianhuaren 阅读(764) 评论(0) 推荐(0)
摘要:1. c代码中通过lua_push 把数据压入堆栈,lua调用c函数得到数据。luaL_check是对lua_to的封装,从堆栈中获取lua代码中函数调用的数据。 2.stack lua_pushnumber( L, 211 );lua_pushnumber( L, 2222 );lua_newta 阅读全文
posted @ 2017-06-12 09:07 lianhuaren 阅读(538) 评论(0) 推荐(0)
摘要:1. CFRelease(paragraphStyle); CFRelease(ctFont); https://github.com/honcheng/RTLabel https://stackoverflow.com/questions/3374591/ctframesettersuggestf 阅读全文
posted @ 2017-06-09 15:00 lianhuaren 阅读(1279) 评论(0) 推荐(0)
摘要:1. https://www.github.com/Instagram/IGListKit/ 阅读全文
posted @ 2017-06-07 15:39 lianhuaren 阅读(129) 评论(0) 推荐(0)
摘要:1. https://github.com/MichaelHuyp/QQNews 2.生成器模式(BUILDER) http://blog.csdn.net/zs634134578/article/details/17853433 https://github.com/e5MaxSpace/Desi 阅读全文
posted @ 2017-06-06 11:26 lianhuaren 阅读(151) 评论(0) 推荐(0)
摘要:1. https://stackoverflow.com/questions/11751883/how-can-i-reduce-the-file-size-of-a-video-created-with-uiimagepickercontroller http://www.jianshu.com/ 阅读全文
posted @ 2017-06-05 19:30 lianhuaren 阅读(730) 评论(0) 推荐(0)
摘要:1. http://blog.csdn.net/u012703795/article/details/43706449 阅读全文
posted @ 2017-06-03 16:01 lianhuaren 阅读(111) 评论(0) 推荐(0)