摘要:
首先安装pythonhttps://www.python.org/downloads/mac-osx/然后找到Cocos2d官网http://www.cocos.com/download/#选择Cocos2d-x下载下载完成后解压,找到setup.py打开终端,将setup.py拖入到终端后回车随后... 阅读全文
摘要:
1.不可变数组: NSArray *array = [[NSArray alloc] initWithObjects:@"1",@"2",@"3",nil]; 判断元素是否存在: BOOL res = [array containsObject:@"1"]; 获取最后一个元素: N... 阅读全文