09 2017 档案
摘要:1 // 2 // AppDelegate.m 3 // XIBAPP 4 // 5 // Created by on 29/09/2017. 6 // Copyright © 2017 All rights reserved. 7 // 8 9 #import "AppDelegate.h" 10 #import "VCRoot.h" 11 ...
阅读全文
摘要:1 // 2 // ViewController.m 3 // UIWindowsApp 4 // 7 // 8 9 #import "ViewController.h" 10 #import "ViewController2.h" 11 12 @interface ViewController () 13 14 @end 15 16 @im...
阅读全文
摘要:1 // 2 // ViewController.m 3 // UIWindowsApp 4 // 7 // 8 9 #import "ViewController.h" 10 #import "ViewController2.h" 11 12 @interface ViewController () 13 14 @end 15 16 @implementation V...
阅读全文
摘要:1 // 2 // ViewController.m 3 // UIWindowsApp 4 // 5 // Created by on 21/09/2017. 6 // 8 9 #import "ViewController.h" 10 #import "ViewController2.h" 11 12 @interface ViewControl...
阅读全文
摘要:1 // 2 // ViewController.m 3 // UIWindowsApp 4 // 5 // Created by on 21/09/2017. 6 // Copyright © 2017 . All rights reserved. 7 // 8 9 #import "ViewController.h" 10 #import "ViewContro...
阅读全文
摘要:1 - (void)viewDidLoad { 2 [super viewDidLoad]; 3 //滚动视图,可以对屏幕内容进行滚屏查看。 4 5 _scrollView = [[UIScrollView alloc]init]; 6 7 _scrollView.frame = CGRectMake(10, 50, 300, 4...
阅读全文
摘要:1 - (void)viewDidLoad { 2 [super viewDidLoad]; 3 //滚动视图,可以对屏幕内容进行滚屏查看。 4 5 UIScrollView* sv = [[UIScrollView alloc]init]; 6 7 sv.frame = CGRectMake(0, 0, 320, 576); ...
阅读全文
摘要:1 @synthesize textField = _textField; 2 3 4 - (void)viewDidLoad { 5 [super viewDidLoad]; 6 7 self.textField = [[UITextField alloc]init]; 8 9 self.textField.frame = CG...
阅读全文
摘要:1 @synthesize alertView = _alertView; 2 @synthesize activityIndicator = _activityIndicator; 3 4 - (void)viewDidLoad { 5 [super viewDidLoad]; 6 7 for(int i=0;i 2 { 3 //定义一个警告提示框...
阅读全文
摘要:1 @synthesize alertView = _alertView; 2 @synthesize activityIndicator = _activityIndicator; 3 4 - (void)viewDidLoad { 5 [super viewDidLoad]; 6 7 for(int i=0;i 2 { 3 //定义一个警告提示框...
阅读全文
摘要:1 @synthesize stepper = _stepper; 2 @synthesize segContol = _segContol; 3 4 - (void)viewDidLoad { 5 [super viewDidLoad]; 6 7 _stepper = [[UIStepper alloc]init]; 8 9 _stepper.f...
阅读全文
摘要:1 @synthesize stepper = _stepper; 2 @synthesize segContol = _segContol; 3 4 - (void)viewDidLoad { 5 [super viewDidLoad]; 6 7 _stepper = [[UIStepper alloc]init]; 8 9 _stepper.f...
阅读全文
摘要:<!-- <input type="button" id = "but" value="按钮" /> --> <!-- <form id = "people" action=""> <p> <input type="submit" value="Submit" /><br /> FirstName
阅读全文
摘要:1 #import "ViewController.h" 2 #import "ViewController2.h" 3 4 @interface ViewController () 5 6 @end 7 8 @implementation ViewController 9 10 @synthesize slider = _slider; 11 @synthesize ...
阅读全文
摘要:1 //同步属性和成员变量 2 @synthesize mySwitch = _mySwitch; 3 4 - (void)viewDidLoad { 5 [super viewDidLoad]; 6 7 _mySwitch = [[UISwitch alloc]init]; 8 9 //宽高两个属性参数没有用,苹果自己定好了宽高 10 ...
阅读全文
摘要:- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // self.view.backgroundColor = [UIColor orangeColor]; UIB...
阅读全文
摘要:1 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 2 // Override point for customization after application launch. 3 4 /...
阅读全文
摘要:1 //创建一个可以显示图片的按钮。 2 -(void)creatImageBtn{ 3 UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; 4 btn.frame = CGRectMake(100, 100, 100, 100); 5 UIImage *icon1 = [UIImage i...
阅读全文
摘要:1 -(void)creatUI{ 2 //创建一个UILabel 3 UILabel* label = [[UILabel alloc] init]; 4 5 label.text = @"Hello world"; 6 7 label.frame = CGRectMake(100, 200, 160, 40); 8 ...
阅读全文
摘要:var p=0; var l=2; var str = new String("hello world"); document.writeln(str+"<br />"); document.writeln(str.replace(str.substr(p,l),strReverse(str.sub
阅读全文
摘要:主要原因是第一天晚上没有进入到Mac的root权限,所以一直就是权限不足。 今天我会了进入Mac root权限了,我一试就好了。 contab 定时命令: * * * * * /bin/sh /Users/wky/Desktop/backup.sh > /Users/wky/Desktop/back
阅读全文

浙公网安备 33010602011771号