03 2016 档案
摘要://XMLTableViewController.h文件 #import <UIKit/UIKit.h> #import "SecondTableViewController.h" @interface XMLTableViewController : UITableViewController<N
阅读全文
摘要:文件ViewController.m中【使用TouchJSon解析方法:(需导入包:#import "TouchJson/JSON/CJSONDeserializer.h"),并且在非ARC环境下】 //获取网络接口 NSURL *url=[NSURL URLWithString:@"http://
阅读全文
摘要:按键 描述 command+[ 左移代码块 command+] 右移代码块 Tab键 接受代码自动完成提示 Esc键 显示代码提示菜单 command+方向left键 移动光标到本行行首 command+方向right键 移动光标到本行行尾 control+k 删除本行光标后的所有字符 comman
阅读全文
摘要:数据库,sqlite的增删改查简单运用举例
阅读全文
摘要:AppDelegate.h文件 #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @
阅读全文
摘要:// ViewController.h文件 #import <UIKit/UIKit.h> @interface ViewController : UIViewController<UITableViewDelegate,UITableViewDataSource>//遵循协议 @property
阅读全文
摘要:UIslider滑块控件在IOS开发中会常用到,可用于调节音量,字体大小等UI方面的交互,用法总结如下: 初始化一个滑块: 设置滑块最小边界值(默认为0) 设置滑块最大边界值(默认为1) 设置滑块最左端显示的图片: @property(nonatomic,retain) UIImage *minim
阅读全文
摘要:ViewController的 .h文件 #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property (strong,nonatomic) UIImageView *myImageView0; @p
阅读全文
摘要:UIApplication的核心作用是提供了iOS程序运行期间的控制和协作工作。 每一个程序在运行期必须有且仅有一个UIApplication(或则其子类)的一个实例。在程序开始运行的时候,UIApplicationMain函数是程序进入点,这个函数做了很多工作,其中一个重要的工作就是创建一个UIA
阅读全文
摘要:[摘要:转载自:http://blog.csdn.net/weisubao/article/details/39609579 (1)能够依据须要设置文本框的款式(包含外形、边框色彩、配景等)。 (2)能够依据须要设置笔墨表现款式(包含输进暗码时的稀
阅读全文
摘要:UISwitch控件和UISlider控件的简单混合使用
阅读全文
摘要://设置键盘样式,比如银行取款密码只需要数字,有的输入邮箱需要@等等 //UIKeyboardTypeAlphabet和UIKeyboardTypeDefault类似,就是我们平时看到那样,都是字母,然后有个按键可以切换符号 //UIKeyboardTypeASCIICapable好像和上面差不多
阅读全文

浙公网安备 33010602011771号