- 浏览: 87685 次
- 性别:
- 来自: 昆明
文章列表
Key points:
"#Import" links the header file it contains. Everything in the header, including property definitions, method declarations and any imports in the header are made available. Import provides the actual definitions to the linker.
@class by contrast just tells the linker n ...
Xcode如何打包ipa安装包
- 博客分类:
- iOS
http://jingyan.baidu.com/article/ceb9fb10f4dffb8cad2ba03e.html
关键步骤:
1. 设置 debug 和 release 的证书
2. scheme 中,build configuration 设置为 release
3. 选择菜单栏中的"Product"->"Archive"
项目打包后出现第三方JAR包找不到
- 博客分类:
- Android
Elipse 升级到 Version: Juno Service Release 2 后,ADT 也相应的升级到最新了。
结果在 Android 项目打包后出现第三方 Jar 包找不到的问题。
原因:新版本里所有的第三方JAR包引入都被放入了Android Private Libraries中
解决方案:http://my.oschina.net/yzw/blog/131545
http://blog.csdn.net/huzgd/article/details/8962702
到 Java Build Path界面,找着Order ...
iOS 与 Armv6 Armv7 i386
- 博客分类:
- iOS
[size=medium]Armv6 binaries are needed if you’re targeting iPhone3G (yes, they still exist, my co-worker uses one, can u believe it?);
Armv7 binaries are desirable if you’re targeting iPhone3GS/4 or iPad, since these new toys have Armv7 processors and, besides being able to rum Armv6 binaries, th ...
http://www.cnblogs.com/chijianqiang/archive/2012/06/22/objc-category-protocol.html
http://www.cnblogs.com/GnagWang/archive/2011/02/27/1966606.html
key words: 对象锁
手机开发-如何查看android数据文件?
- 博客分类:
- 需要学习整理
http://jingyan.baidu.com/article/7908e85c4e3575af481ad213.html
http://dzh.mop.com/whbm/20120408/0/zgz8S7I29498c3F3.shtml?only=0
http://hi.baidu.com/jt763844132/item/9e838a480848d69f823ae12a
iOS 查看各个函数的执行顺序
- 博客分类:
- iOS
- (BOOL)respondsToSelector:(SEL)aSelector
{
printf("selector------->:%s\n",[NSStringFromSelector(aSelector) UTF8String]);
return [super respondsToSelector:aSelector];
}
Building an app that needs to access the photo library but don’t have any photos in the iPhone simulator? No problem. Follow these simple steps to import photos into the iPhone Simulator:
Open the iPhone Simulator
Browse to the photo you want to put into the simulator (Finder or web browser)
Click an ...
1. In a reference-counted environment, an NSAutoreleasePool contains objects that have received autorelease message. When the pool drained, it sends release message to each of the objects.
2. The Application Kit creates an autorelease pool for main thread at the beginning of every cycle of the even ...
src : http://marshal.easymorse.com/archives/3703
va_start和va_end使用详解
- 博客分类:
- solutions
src : http://www.cnblogs.com/hanyonglu/archive/2011/05/07/2039916.html
本文主要介绍va_start和va_end的使用及原理。
在以前的一篇帖子Format MessageBox 详解中曾使用到va_start和va_end这两个宏,但对它们也只是泛泛的了解。
介绍这两个 ...
http://www.cocoachina.com/newbie/tutorial/2012/0905/4709.html
1. 截取本区域(self.view):
UIGraphicsBeginImageContext(CGSizeMake(self.view.frame.size.width, self.view.frame.size.height));
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromC ...
1. http://hi.baidu.com/doking_blog/blog/item/5fd80a139a717159f919b840.html
2. 将int型的数转换成 String :
string to_string(int n)
{
string s="";
while(n)
{
s=char(n%10+'0')+s;
n/=10;
}
return s;
}