摘要: -(void)initswipGesture { UISwipeGestureRecognizer *recognizer; recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeForm:)]; recognizer.direction = UISwipeGestureRecognizerDirectionRight; [_loginViewaddGestureRecognizer:recognizer]; [recognizer release]... 阅读全文
posted @ 2012-09-25 09:23 进劲 阅读(146) 评论(0) 推荐(0) 编辑
摘要: - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response{ NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; if(httpResponse && [httpResponse respondsToSelector:@selector(allHeaderFields)]){ NSDictionary *httpResponseHeaderFields = [httpResp 阅读全文
posted @ 2012-05-18 16:16 进劲 阅读(148) 评论(0) 推荐(0) 编辑
摘要: https://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/OpeningSupportedFileTypes.htmlhttp://blog.csdn.net/gnicky/article/details/7536751 阅读全文
posted @ 2012-05-15 11:26 进劲 阅读(500) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/9801106/how-can-i-get-mime-type-in-ios-which-is-not-based-on-extensionhttp://blog.ablepear.com/2010/08/how-to-get-file-extension-for-mime-type.html 阅读全文
posted @ 2012-05-14 16:06 进劲 阅读(212) 评论(0) 推荐(0) 编辑
摘要: A class extension allows you to declare a method that is private to the classsee “Extensions” in The Objective-C Programming Language). 阅读全文
posted @ 2012-04-26 15:39 进劲 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Verify Object Capabilities at RuntimeIntrospection, a powerful and useful feature of Objective-C and the NSObject class, enables you to learn certain things about objects at runtime. You can thus avoid mistakes in your code such as sending a message to an object that doesn’t recognize it or assuming 阅读全文
posted @ 2012-04-26 11:07 进劲 阅读(196) 评论(0) 推荐(0) 编辑
摘要: (-)An instance method is a method whose execution is scoped to a particular instance of the class. In other words, before you call an instance method, you must first create an instance of the class. Instance methods are the most common type of method.(+)A class method is a method whose execution is 阅读全文
posted @ 2012-04-25 17:38 进劲 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://www.cropzoom.com.ar/?page_id=2http://odyniec.net/projects/imgareaselect/examples.html 阅读全文
posted @ 2012-03-15 10:14 进劲 阅读(162) 评论(0) 推荐(0) 编辑
摘要: DecimalFormat df = new DecimalFormat("##.00");private static <T> ArrayList<T> addEmptyValue(ArrayList<T> list,T e){ list.add(e); list.add(e); return list; } 阅读全文
posted @ 2012-03-14 16:47 进劲 阅读(83) 评论(0) 推荐(0) 编辑
摘要: SOAP 摘要 简单对象访问协议 (SOAP) 通过一种基于XML的、和平台无关的方法规划网站,从而提高Internet的交互性。 绪论 Internet正在从根本上改变着计算,从而根本上改变了商业实现的方式。向电子商务的过渡在所有的计算机系统中导致了巨大的波浪反应。随着公司将它们 的客户管理、订单实现系统和它们的在线销售系统综合,网站的作用将越来越小。下一步综合将延伸到商务伙伴之间,如供应商和发行商之间。 除了通过Internet综合各种商务系统外,还有另外一些推动网络发展的、与服务相关的现象。例如,用户需要更丰富、更深、更个性化和更主动的服务,服 务于他们的工作或个人生活,这是为他们的利益 阅读全文
posted @ 2012-03-01 13:19 进劲 阅读(358) 评论(0) 推荐(0) 编辑