网志分类列表:iOS

dev on iphone/ipad...

Compile NSLog on iOS without a warning @ 2/18/2014

[code]NSLog(@"%lu", (unsigned long)array.count);[/code] for NSUInteger, and [code]NSLog(@"%ld", (long)button.tag);[/code] for N...
发布于 2/18/2014 18:10:09 | 评论:0

在mobileprovision文件中找到UUID @ 1/16/2014

[code] uuid=`grep UUID -A1 -a xxx.mobileprovision | grep -o "[-A-Z0-9]\{36\}"` cp xxx.mobileprovision ~/Library/MobileDevice/Pr...
发布于 1/16/2014 11:51:01 | 评论:0

iOS hacking resource collection @ 1/9/2014

[url=http://www.securitylearn.net/2012/06/13/iphone-hacking-resource-collection/?utm_source=rss&utm_medium=rss&utm_campaign=ipho...
发布于 1/9/2014 21:19:34 | 评论:0

Three20框架中使用TabBarController的问题 @ 4/18/2011

使用Three20框架且使用TabBarController, 在每个Tab中使用TTNavigationController. 但有5以上Tab时,更多 选项卡中的详细将不能正确打开。 google到这是一个09年的BUG,现在也没有修复 http:/...
发布于 4/18/2011 21:17:46 | 评论:0

iPhone/iPad apps的图标及启动图片 @ 4/6/2011

参考下面的表格,相关参数已更新到iOS4.3及Xcode4: [img]http://blog.sinzy.net/pix/2011/59/a8f56da511c9d604b89b154da7194e98.png[/img] [img]http://bl...
发布于 4/6/2011 18:27:42 | 评论:0

解决Xcode 4“xxx does not contain a single–bundle application or contains multiple products” archive错误 @ 4/6/2011

采用了cocos2d, three20等第3方库会有这样的问题。 原因是: Xcode 4 重新编译静态库同时把它做为可部署的产品打包到程序包中, 而一般程序包只能包含一个可部署的产品。 1. 打开静态库项目. 在Build Settings中找到 ...
发布于 4/6/2011 15:53:02 | 评论:0

怎样在Xcode 4下编译发布与提交App到AppStore? @ 4/6/2011

1. iOS Provisioning Portal 和iTunes Connect 没有变,下载与安装.mobileprovision文件与以前一下。 2. Xcode 4 整合相关的工具(All in One), 集成了Organizer与Appl...
发布于 4/6/2011 15:24:01 | 评论:2

Xcode4设置NSZombieEnabled @ 3/30/2011

按住Alt/Option, 点Run or Test... ->Arguments tab, 在 "Environment Variables"里 增加 NSZombieEnabled YES CFZombieLevel YES ...
发布于 3/30/2011 20:05:23 | 评论:0

一些iOS开源类库及工具 @ 3/24/2011

1.[url=http://code.google.com/p/json-framework]json[/url] json编码解码 2.[url=http://code.google.com/p/google-toolbox-for-mac/source...
发布于 3/24/2011 9:49:27 | 评论:0

Xcode 4 @ 3/17/2011

差别好大,过去的经验成了障碍... Xcode 4 is fundamentally different from its predecessors, so whether you're new to Apple platforms or an exp...
发布于 3/17/2011 20:49:06 | 评论:0

XCode GDB commands @ 3/12/2011

>po object - ask object to print itself >break or b - stop at a break point >cont - continue after a break >next - step over ...
发布于 3/12/2011 10:10:18 | 评论:2

xcode ego theme @ 3/2/2011

有人推荐该主题, 曰其保眼睛,记录下 http://developers.enormego.com/view/xcode_ego_theme download DejaVu Font [url=http://dejavu-fonts.org/wiki...
发布于 3/2/2011 1:43:51 | 评论:0

EXC_BAD_ACCESS的查找方法 @ 2/27/2011

1. 配置NSZombieEnabled环境变量 2. 加入MallocStackLogging环境变量启用malloc记录 当错误发生时,在终端执行: malloc_history ${App_PID} ${Object_instance_addr}...
发布于 2/27/2011 18:43:10 | 评论:0

iOS 获取用户主目录 @ 1/30/2011

使用底层的C函数NSHomeDirectory() 能够访回当前app当前用户的主目录 用户数据都建议放在/Documents中 每一个iOS应用沙盒都有/Documents目录 [code]NSString *path = [NSHomeDirect...
发布于 1/30/2011 18:00:57 | 评论:1

各个版本的iPhone SDK下载地址 @ 12/17/2010

使用app store的帐号登录后,直接敲地址可下载: (苹果已经删除了3.1.2以前的版本) iPhone SDK 3.1.3 with XCode 3.1.4 for Leopard (10.5.7) http://developer.apple....
发布于 12/17/2010 10:50:18 | 评论:3

UIScrollView当前页码计算方法 @ 12/17/2010

让UIScrollView每次滚动一页,需要确定当前的页码 scrollView.pagingEnabled = YES; //Delegate - (void) scrollViewDidScroll:(UIScrollView *)sender { ...
发布于 12/17/2010 0:00:42 | 评论:0

could not find the container for the installed aplication @ 11/8/2010

reason: 91 break iphone's uninstall mechanism. solution: unintall some apps installed via 91. ...
发布于 11/8/2010 16:58:09 | 评论:0

How to create Round Corner UILabel @ 11/1/2010

#import <QuartzCore/QuartzCore.h> ... oneLabel.layer.cornerRadius = 5;//Round Corner oneLabel.layer.borderColor = [UIColor ligh...
发布于 11/1/2010 1:08:58 | 评论:0

frame & bounds @ 10/15/2010

[img]http://blog.sinzy.net/pix/2010/59/bc760fa2c0646cf1f0739744cff3ad4f.png[/img] Which to use? -Usually depends on the contex...
发布于 10/15/2010 23:50:17 | 评论:0

First In-App Purchasing Doesn't Bode Well @ 10/9/2010

Apple had rejected my first app because of third payment system. had to use In-App Purchasing... follow the guid http://develop...
发布于 10/9/2010 21:50:58 | 评论:0

MD5 Hash in Objective-C @ 10/3/2010

There is a good way to create StringUtil.m to be reusable for every project... StringUtil.h [code] #import <Foundation/Foundatio...
发布于 10/3/2010 1:17:20 | 评论:2

NULL NSNull nil Nil @ 9/30/2010

nil: A null pointer to an Objective-C object. ( #define nil ((id)0) ) Nil: A null pointer to an Objective-C class. NULL: A ...
发布于 9/30/2010 14:24:25 | 评论:2

Three20 project templates @ 8/24/2010

If you're planning to make a new project using Three20 then you can save some time by using custom Three20 project templates. Th...
发布于 8/24/2010 14:30:54 | 评论:0
categories
archives
statistics
  • 网志数:484
  • 评论数:648