- 博客(3)
- 收藏
- 关注
原创 使用UIScrollView导致的崩溃
cocos项目lua代码中应用场景,UIScrollView添加touchEventlistener,可滑动并且可通过innerContainer的Y坐标滑动来判断是否是点击,进而同时处理点击事件和滑动事件。使用Xcode simulator模拟器。.....function Func local function menuCallback(sender,eventType) if sender == nil then return end if eventTy
2020-11-09 21:05:38
334
原创 XCODE error: The linked library ‘libluajit.a‘ is missing one or more architectures required by thi
剪了一个确认可执行的的cocos项目代码,lua语言,用XCODE编译时报错:error: The linked library 'libluajit.a' is missing one or more architectures required by this target: x86_64. (in target 'libluacocos2d iOS' from project 'cocos2d_lua_bindings')表面原因:xcode版本过高。[当前为11.3]解决方案:重装低版本,我
2020-09-16 17:59:09
6058
4
原创 Redis指令HSET和HMSET有什么区别
Redis数据库中HSET和HMSET有什么区别在Redis使用过程中,发现Redis hash的两个指令HSET和HMSET非常类似,搜索了一下,差别在于:HSET/HMSET将单个/多个field - value(域-值)对设置到哈希表key中,然而在使用时HSET也可以做到。127.0.0.1:6379[1]> hset people name Sam age 28 sex male(integer) 3127.0.0.1:6379[1]> hmset people1 name A
2020-08-18 15:59:16
28702
7
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人