`
反求诸己
  • 浏览: 534708 次
  • 性别: Icon_minigender_1
  • 来自: 湖南娄底
社区版块
存档分类
最新评论
文章列表
Version 1.4.2_03 of the JVM not suitable for this product.Ve... 名人名言:青年人对于社会的要求也高,失望也快,却很少注意到,一个成功的中年人或老年人的背后,往往有着许多辛酸血泪的故事。这尚不够,那份持续的认真 与努力,也是一个成功者必然的付出。这以上说得又不完全,智慧才是一个人成功最大的条件之一,缺了它,什么也不成。——三毛 Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater ...
注意点: 在init函数[包括其拓展] 以及 dealloc 函数中,不建议使用Accessor Methods,建议的代码如下:   Don’t Use Accessor Methods in Initializer Methods and dealloc Don’t Use Accessor Methods in Initializer Methods and dealloc The only places you shouldn’t use accessor methods to set an instance variable are ...
转载自:http://www.cnblogs.com/BigPolarBear/archive/2012/03/26/2417777.html   都说做iOS开发比Android省心,那么iOS是如何做到这一点的呢?我们今天就来分析一下,希望对做iOS的界面设计的同学有点帮助。   1 iOS设备的分辨率 iOS设备,目 ...
  捕捉屏幕截图 CALayer实例使用Core Graphics的renderInContext方法可以将视图绘制到图像上下文中以便转化为其他UIImage实例。前提先#import <QuartzCore/QuartzCore.h> + (UIImage *) imageFromView: (UIView *)theView {// draw a view's contents into an image context UIGraphicsBeginImageContext(theView.frame.size); CGC ...
1: NSString  <==> NSInteger     NSInteger转化 NSString类型:       [ NSString  stringWithFormat:  @"%d" , NSInteger]; NSString转化 NSInteger类型:       NSInteger = [ NSString   intValue ] 2 : NSString <==> NSNumber NSNumber
  1.UIViewContrller之间的切换有三种方式:     一、UIViewController自身之间的调用:[self presentModalViewController :UIViewController animated:YES]; 对应的返回操作函数:[self dismissModalViewControllerAnimated :YES];这里的self代表的是UIViewController自己。    其可设置四种动画模式: [java] view plain copy c ...
IOS参考官方文档: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html   如果你想下载URL所制定的内容,必须要要实现这个协议:NSURLConnectionDelegate 其中的几个方法:   In order to download the contents of a URL, an application needs to provide a  delegate   obj ...
  iphone开发 NSXMLParser解析xml文件   xml文件如下:Question.xml,放在Resource文件目录中  <?xml version="1.0" encoding="UTF-8"?>  <Root>  <Question>  <QuestionTitle>你的学习成绩如何?</QuestionTitle>  <Answers> 
  详解iOS 平台XML 解析类库对比和安装说明是本文要介绍的内容。不多说,先来看内容。 在iPhone 开发中,XML 的解析有很多选择,iOS  SDK提供了NSXMLParser和libxml2两个类库,另外还有很多第三方类库可选,例如TBXML、TouchXML、Kis ...
往往在开发iPhone的应用过程中用得最多的应该算是UITableVIew了,凭着IOS给UITableView赋予了这种灵活的框架结构,让它不 管在显示列表方面还是在排版方面都有着一定的优势。虽然UITableView功能强大,但是对于一些复杂的应用需求在开发的过程中会出现一些问题,如动 态改变UITableView显示的Cell高度就是其中之一        其实想要改变UITableView的Cell高度并不难,UITableView带有一个rowHeight属性,使用他就可以改变高度了。但是这样 的改变是把所有的Cell的高度都统一改变了。如果存在不同的内容就有不同的C ...
一、键盘风格    UIKit框架支持8种风格键盘。 typedef  enum  {       UIKeyboardTypeDefault,                 // 默认键盘:支持所有字符        UIKeyboardTypeASCIICapable,            // 支持ASCII的默认键盘        UIKeyboardTypeNumbersAndPunctuation,   // 标准电话键盘,支持+*#等符号        UIKeyboardTyp ...
  免责申明(必读!):本博客提供的所有教程的翻译原稿均来自于互联网,仅供学习交流之用,切勿进行商业传播。同时,转载时不要移除本申明。如产生任何纠纷,均与本博客所有人、发表该翻译稿之人无任何关系。谢谢合作! 原文链接地址:http://www.raywenderlich.com/2915/ios-code-signing-under-the-hood   注:本文由翻译团队成员 skingTree翻译。 教程截图:     下面是一篇有澳洲墨尔本的一名全职 iOS 开发者 提供的文章。他在论坛上是一个很摩登的年轻人 – Adam E ...
转载自:http://jasonhan-sh-hotmail-com.iteye.com/blog/1473955 今天把以前做的一个项目迁移到自己的机器上,项目使用SSH。     第一次运行程序时,将Hibernte中的hibernate.hbm2ddl.auto设置成create,让Hibernate帮助自动建表,但不成功,报了如下信息:     You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right ...
?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"         "http://struts.apache.org/dtds/struts-2.1.dtd "> <struts>  <!--开发模式设置开始//-->  <!--++++++++++++ ...
OC中单例模式的实现:   + (PeriodicElements *)sharedPeriodicElements {     @synchronized(self) {         static dispatch_once_t pred;         dispatch_once(&pred, ^{ sharedPeriodicElementsInstance = [[self alloc] init]; });     }     return sharedPeriodicElementsInstance; }   + (id)allocWithZone ...
Global site tag (gtag.js) - Google Analytics