自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

翻译 关于Objective-c反射

精确的类匹配,而不是匹配任何继承类,你就可以使用isMemberOfClass:方法。isKindOfClass:会在消息接收者是指定类及其子类的实例的情况下返回YESfor(BaseClass* base in myArray) {  if([base isKindOfClass:[ClassOne class]]) {  // do stuff specific to Clas

2012-09-28 04:33:49 762

翻译 从iPad调用Web service

1, 建立SOAP请求包:NSString *soapMsg = [NSString stringWithFormat: @"" "<soap:Envelope xmlns:xsi=" "\"http://www.w3.org/2001/XMLSchema-instance\" " "xmlns:xsd=\"ht

2012-09-28 04:19:28 327

原创 关于企业内部苹果APP的发布TIP

企业内部苹果APP的发布的时候,打包和发布要使用同样的签名文件。With enterprise / in house distribution, the release version has to be signed with the same profile as is used in the archive / distribution process.

2012-09-21 11:34:13 631

翻译 CF-前缀 in Mac OS X

Core Foundation (also called CF) 是在MAC iOS里的C程序的接口,也是混合的低端常规和修饰函数集合. Apple 发布他作为叫CF-Lite的开源项目,它可以作为MAC OS X 跨平台开发工具, Linux, 和 Windows (通过 Cygwin);还有一个第三方开源工具叫 OpenCFLite 。大部分核心基础内容是追随某一命名规则处理非透明对象,例如C

2012-09-14 01:12:07 630

转载 xcode ARC是什么

ARC是什么       ARC是iOS 5推出的新功能,全称叫 ARC(Automatic Reference Counting)。简单地说,就是代码中自动加入了retain/release,原先需要手动添加的用来处理内存管理的引用计数的代码可以自动地由编译器完成了。该机制在 iOS 5/ Mac OS X 10.7 开始导入,利用 Xcode4.2 可以使用该机制。简单地理解ARC,就

2012-09-14 00:49:55 2700

翻译 objective-c _bridge_transfer, _bridge_retained, _bridge

(__bridge_transfer ) op or alternatively CFBridgingRelease(op) is used to consume a retain-count of aCFTypeRef while transferring it over to ARC. This could also be represented byid someObj = (__bridg

2012-09-14 00:21:03 727

翻译 objective-c protocols and delegates 基础

介绍Protocols 通常的用法是定义一些方法然后在别的CLASS进行实装。大家可能比较熟悉tableview, 你的CLASS实装cellForRowAtIndexPath 方法来通过访问cell content向table插入数据 – the cellForRowAtIndexPath 方法就是定义UITableViewDataSource里的protocol.Protoco

2012-09-12 02:29:08 332

转载 UIWebView 左右划动手势

UIGestureRecognizer实现的方法:    UISwipeGestureRecognizer  *swipeRight = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(swipe:)];    [webView addGestureRecognizer:swipeRight];

2012-09-07 06:03:56 484

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除