摘要:
1、url中找字段+(NSString *)jiexi:(NSString *)CS webaddress:(NSString *)webaddress{ NSError *error; NSString *regTags=[[NSString alloc] initWithFormat... 阅读全文
摘要:
1.主线程在动画未结束时进行操作可能导致应用崩溃 如下,当dismissViewControllerAnimated:为YES时,由于后续有页面显示,就在应用中导致了崩溃 - (void)imagePickerController:(UIImagePickerController *)picker 阅读全文
摘要:
第三方框架: SDWebImage使用——一个可管理远程图片加载的类库 RegexKitLite 实现正则表达式 iPhone开发之全景展示(panoramagl) 富文本类库RTLabel MBProgressHUD提示框 EGOTableViewPullRefresh(一)实现下拉刷新 日历,万 阅读全文
摘要:
1.push消息机制细节2.网络请求(网络状况,断点续传)3.UML4.设计模式5.opengl 2.06.ios7 原生条码扫描,二维码7.java自学 阅读全文
摘要:
服务器搭建 http://www.liuchungui.com/blog/2015/10/11/ios9zhi-gua-pei-ats/ http://www.liuchungui.com/blog/2015/09/25/zi-jian-zheng-shu-pei-zhi-httpsfu-wu-qi 阅读全文
摘要:
#define NSLog(format, ...) printf("func:%s:\n%s\n \n\n", __PRETTY_FUNCTION__, [[NSString stringWithFormat:format, ## __VA_ARGS__] UTF8String]); 阅读全文
摘要:
外挂基础知识入门教学|工具下载 写挂论坛 阅读全文
摘要:
http://blog.csdn.net/wershest/article/details/47817305 阅读全文
摘要:
http://www.cocoachina.com/ios/20141023/10027.html https://developer.apple.com/library/prerelease/content/documentation/General/Conceptual/Extensibilit 阅读全文
摘要:
用js+html生成网页端二维码。 https://pan.baidu.com/s/1mijiO44 阅读全文
摘要:
#! /bin/bash #firtoken 29b441056e1e17c984cb32fadadsdddd shell_dir=`dirname $0` TARGET_NAME="SmartLock" DIR_PATH=/Users/用户名/Desktop/SmartLock SIGN="iPh 阅读全文
摘要:
来自: http://my.oschina.net/91jason/blog/546711 看不到内容请点击编辑查看(仅限作者,后续再改) 摘要 mac os 10.10以上的开启端口转发-解决mac默认不开启1024以下端口权限问题 mac os 10.10以上的开启端口转发-解决mac默认不开启 阅读全文
摘要:
void UncaughtExceptionHandler(NSException *exception) { //获取异常信息 NSArray *arr = [exception callStackSymbols]; NSString *reason = [exception reason]; } 阅读全文
摘要:
证书 1.Certificate 给App签名的数字证书,必须从电脑上导出p12文件,才可以签名 阅读全文
摘要:
- (void)awakeFromNib { [self.descriptionLabel addObserver:self forKeyPath:@"text" options:NSKeyValueObservingOptionNew context:nil]; [super awakeFromN 阅读全文
摘要:
1.文档 中文 官方英文 2.内购 http://www.2cto.com/kf/201504/389224.html 3.keychain UUID http://blog.csdn.net/wonengxing/article/details/42142595 阅读全文
摘要:
1.socket 阻塞,非阻塞(select) http://blog.csdn.net/piaojun_pj/article/details/5991968/ http://blog.chinaunix.net/uid-26000296-id-3755268.htmlhttp://blog.chi 阅读全文
摘要:
//冒泡 int* maopao(int a[], int n) { int temp = 0; for (int i = 0; i<n-1; i++) { for (int j = 0; j<n-1-i; j++) { if (a[j] > a[j+1]) { temp = a[j]; a[j] 阅读全文
摘要:
1.常用命令 command+shift+R 在项目中搜索指定类 command + O 弹出outline command + E 弹出编辑页切换窗口 阅读全文
摘要:
svn工具添加.a文件的问题1. 打开终端, 在命令行中输入: vi ~/.subversion/config来打开配置文件.2.然后,在[miscellany]项找到这个串:# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *... 阅读全文
摘要:
参考如下:最近升级了系统到Mac OS X 10.10 并且更新了XCode6.1和iOS 8.1之前app用到的libmp3lame.a静态库,也要支持64位的模拟器(x86_64)和64位的真机(arm64)指令集。需要重新编译查阅了下资料,按照如下步骤,并做了些注释和改动1.http://so... 阅读全文
摘要:
[NSString stringWithFormat:@"%.0f",[date timeIntervalSince1970] * 1000];.xf保留x位小数 阅读全文
摘要:
在全局UINavigationController中添加如下代码- (void)viewDidLoad { [self addHeaderTouch]; [super viewDidLoad]; // Do any additional setup after loading the view... 阅读全文
摘要:
1、字数限制[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(textFiledEditChanged:) name:@"UITextFieldTex... 阅读全文
摘要:
-(void)resetTabbarController:(UITabBarController *)controller { NSArray *arr = controller.tabBar.items; UITabBarItem *item0 = [arr objectAtIndex:0]... 阅读全文
摘要:
NSDateFormatter *format = [[NSDateFormatter alloc] init]; [format setLocalizedDateFormatFromTemplate:@"yyyy-MM-dd HH:mm:ss"]; [format setTimeZone:[... 阅读全文
摘要:
1.在object-c运行时替换私有类的方法runtime完全解读2.运行时给一个对象增加方法//C方法形式定义被增加的方法void helloLog(id self, SEL _cmd){ NSLog(@"helloLog");}//OC方法形式定义被增加方法- (void)helloLog{ ... 阅读全文
摘要:
简历:STAR法则 1.使用序列化,复制一个view,此方法能完整复制所有subview及关联属性对象,深拷贝。 NSData *copyView = [NSKeyedArchiver archivedDataWithRootObject:self.view]; UIView *newView = 阅读全文
摘要:
csb文件加载 Node* node = CSLoader::createNode("res/MainScene.csb"); this->addChild(node);Button使用 ui::Button *button = (ui::Button *)node->getChildByName... 阅读全文
摘要:
http://www.cnblogs.com/slysky/p/3822640.htmlCOCOS2DX3.0的3种触摸响应机制 阅读全文