cocos2d-x 3.0 + cocosbuilder
3.0使用中发现每个按钮回调都要写一行对应的回调如:1 local function onMenuItemAClicked()2 ...3 end4 5
TestMenusLayer["onMenuItemAClicked"] = o...
分类:
其他好文 时间:
2014-07-22 23:06:54
阅读次数:
321
2014-04-30更新剔除了使用网络上烂大街的SQLite使用方法(原因android下无法读取数据),使用libSQLite3.so,通过DLLImport,在C#代码里直接调用C接口这种原生调用SQLite的方式,我在pc、android上亲测无误,ios没测过,但是stackoverflow...
分类:
数据库 时间:
2014-07-22 23:06:53
阅读次数:
852
转自:看雪学院的文章iOS平台的应用程序调试与分析作者:zhuliang转载请保证文章完整并注明来自看雪或cd-team本文阐述如何在iOS平台上对应用程序进行调试与分析,旨在指导新手分析iOS程序,高手请无视。内容包括软件硬件的准备、代码的解密、符号信息的获取、用gdb调试等,最后以京东LeBoo...
分类:
移动开发 时间:
2014-05-01 16:14:39
阅读次数:
721
先加密游戏资源然后改cocos2dx底层代码,在读取的时候进行解密 1 unsigned
char* CCFileUtils::getFileData(const char* pszFileName, const char* pszMode,
unsigned long * pSize) 2 { 3...
分类:
其他好文 时间:
2014-05-01 15:38:50
阅读次数:
285
IOS中UIButton 的内容,标题,背景在button容器的相对位子的设置UIButton
*button = [UIButton buttonWithType:UIButtonTypeCustom];//button的类型 button.frame
= CGRectMake(100, 100,...
分类:
移动开发 时间:
2014-05-01 15:22:46
阅读次数:
432
//要实现UIWebViewDelegate代理@interface
TestViewController : UIViewController{ UIWebView *protWebView;}@property
(retain, nonatomic) IBOutletUIWebView *pr....
分类:
移动开发 时间:
2014-05-01 15:13:29
阅读次数:
420
UITextView上如何加上类似于UITextField的placeholder呢,其实在UITextView上加上一个UILabel,然后再实现-
(BOOL)textView:(UITextView*)textView shouldChangeTextInRange:(NSRange)rang...
分类:
移动开发 时间:
2014-05-01 14:54:15
阅读次数:
462
在这里跟大家分享一个关于谷歌横幅广告的链接,这里有谷歌sdk的下载等说明https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals?csw=1#ioshttp://blog.csdn.net/songrotek/artic...
分类:
移动开发 时间:
2014-05-01 14:19:17
阅读次数:
429
// 设置 tableView整体的圆角设置 // /// 设置圆角//
v_tableview.layer.cornerRadius = 7;// v_tableview.layer.masksToBounds = YES;//
/// 设置边框// v_tableview.layer.bord....
分类:
移动开发 时间:
2014-05-01 14:16:37
阅读次数:
636
MediaPlayer framework播放电影文件:iOS
sdk中可以使用MPMoviePlayerController来播放电影文件。但是在iOS设备上播放电影文件有严格的格式要求,只能播放下面两个格式的电影文件。?
H.264 (Baseline Profile Level 3.0)? M...
分类:
移动开发 时间:
2014-05-01 13:55:15
阅读次数:
424