上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: Download 阅读全文
posted @ 2012-07-09 13:56 我的程序人生 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Download 阅读全文
posted @ 2012-07-09 13:40 我的程序人生 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Download 阅读全文
posted @ 2012-07-09 11:27 我的程序人生 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Download 阅读全文
posted @ 2012-07-09 11:08 我的程序人生 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 定义一个属性记录selectedIndexPath用来记录选中的行的indexpath,在视图控制器初始化方法中初始化此属性为nil,在tableView:didSelectRowAtIndexPath代理方法中:首先deselect这个行然后[tableView beginUpdate]if(selectedIndexPath==nil){selectedIndexPath=indexPath;[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRo 阅读全文
posted @ 2012-07-02 09:13 我的程序人生 阅读(7777) 评论(2) 推荐(1) 编辑
摘要: NSString* escaped_value = (__bridge NSString *)CFURLCreateStringByAddingPercentEscapes( NULL, /* allocator */ (__bridge ... 阅读全文
posted @ 2012-06-29 10:44 我的程序人生 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 实例1: Class printInteractionController = NSClassFromString(@"UIPrintInteractionController"); if ((printInteractionController != nil) && [printInteractionController isPrintingAvailable]) { printInteraction = [printInteractionController sharedPrintController]; ... 阅读全文
posted @ 2012-06-26 14:32 我的程序人生 阅读(6132) 评论(0) 推荐(1) 编辑
摘要: //// Singleton.h// singleton//// Created by leondun on 11-4-20.// Copyright 2011 leondun. All rights reserved.// #import <Foundation/Foundation.h> @interface Singleton : NSObject { } +(Singleton *)getInstance; @end#import "Singleton.h" static Singleton * instance = nil; @interface Si 阅读全文
posted @ 2012-06-16 13:39 我的程序人生 阅读(239) 评论(0) 推荐(0) 编辑
摘要: [iOS] 引用外部静态库时,目录方法无法加载问题这个 bug 在 xcode 4.3 以下会出现,4.3 以后已经修正了。解决方法为:找到 target 的图标,更改其 Other Linker Flags 为: -all_load 或 -force_load-force_load,后跟随一个文件位置,可以更精确地加载所需文件。苹果的解释为 :http://developer.apple.com/library/mac/#qa/qa1490/_index.html简单点说就是,Objective-C 的动态特性使得需要,为链接器添加一个标签(设置 Other Linker Flags 为 - 阅读全文
posted @ 2012-06-16 11:50 我的程序人生 阅读(2291) 评论(0) 推荐(0) 编辑
摘要: SN:SQLM3-29H3A-23383-LDCZD 阅读全文
posted @ 2012-06-12 20:00 我的程序人生 阅读(547) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页