关键字 tu 的文章


由   YIem   撰写于    浏览:5327  评论:0
/*定义一个block,返回值为BOOL,有两个NSString参数。实现:判断字符串是否相等。*/ if 1 BOOL (^block)(NSString *a, NSString *b) = ^BOOL(NSString *a, NSString *b) { // return [a compare:b];[...]

由   YIem   撰写于    浏览:3048  评论:0
.main.m文件/* 定义Student类 1、属性有age,name,gender; 2、age使⽤用assign,name使⽤用retain,gender使⽤用copy; 3、重写age、name、gender的setter和getter⽅方法。 */if 0 Student *stu = [[Stude[...]

由   YIem   撰写于    浏览:3870  评论:0
// block // 定义一个block 无返回值 无参数 void (^block1)(void) = ^(void) { NSLog(@"甜甜"); }; // 调用一个block block1(); NSInteger (^block2[...]

由   YIem   撰写于    浏览:3625  评论:0
/********* 方法2 简单类型对象的排序 ************/if 0// 创建排序对象 // 参数1 - 为简单类型对象可填写nil/@"self" // 为复杂类型对象可填写要进行排序的关键字, 如 按照Person的name成员排序 可填写@"name"; //参数2 [...]

由   YIem   撰写于    浏览:3016  评论:0
.main.m 代码 /********** 自定义类型对象的排序 *****************/ Person *per1 = [[Person alloc] initWithName:@"Long" age:22]; Person *per2 = [[Person alloc] initWithName:@[...]

由   YIem   撰写于    浏览:2869  评论:0
/*************** 简单对象的排序 *****************/ // 排序 可变数组NSMutableArray *arr = [NSMutableArray arrayWithObjects:@"8", @"2", @"3", @"5", [...]

由   YIem   撰写于    浏览:3106  评论:0
分别有三个文件.mian.mint main(int argc, const char * argv[]) { // 创建学生 Student *stu1 = [[Student alloc]initWithName:@"卞一" sex:@"男" age:@"20"]; Student [...]

由   YIem   撰写于    浏览:3863  评论:0
//// AppDelegate.h// UI14_Xib//// Created by YIem on 15/12/24.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDel[...]

由   YIem   撰写于    浏览:4094  评论:0
//// AppDelegate.h// UI13_Block传值//// Created by YIem on 15/12/23.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface Ap[...]

由   YIem   撰写于    浏览:4443  评论:0
//// AppDelegate.h// UI13_练习//// Created by YIem on 15/12/23.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDele[...]

由   YIem   撰写于    浏览:3813  评论:0
//// AppDelegate.h// UI12_TavleView编辑//// Created by YIem on 15/12/22.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interfac[...]

由   YIem   撰写于    浏览:3193  评论:0
//// AppDelegate.h// UI12_UITableVIewController//// Created by YIem on 15/12/22.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>[...]

由   YIem   撰写于    浏览:3969  评论:0
//// AppDelegate.h// UI12_RegisterCell//// Created by YIem on 15/12/22.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interfa[...]

由   YIem   撰写于    浏览:3248  评论:0
//// AppDelegate.h// UI12_限时练习//// Created by Marry W. on 15/12/22.// Copyright © 2015年 www.lanou3g.com 蓝鸥科技. All rights reserved.//import <UIKit/UIKit.h>@interface [...]

由   YIem   撰写于    浏览:3274  评论:0
//// AppDelegate.h// UI11_UITablView综合练习//// Created by YIem on 15/12/21.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@inter[...]

由   YIem   撰写于    浏览:3924  评论:0
//// AppDelegate.h// UI11_练习2//// Created by YIem on 15/12/21.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDel[...]

由   YIem   撰写于    浏览:3270  评论:0
//// RootViewController.m// UI10_自定义Cell//// Created by Marry W. on 12/18/15.// Copyright (c) 2015 蓝鸥. All rights reserved.//import "RootViewController.h"warning 1.导入cell[...]

由   YIem   撰写于    浏览:3029  评论:0
//// RootViewController.m// UI10_练习//// Created by YIem on 15/12/18.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h"import "My[...]

由   YIem   撰写于    浏览:3398  评论:0
//// RootViewController.m// UI10_UITableView2//// Created by Marry W. on 12/18/15.// Copyright (c) 2015 www.lanou3g.com 蓝鸥科技. All rights reserved.//import "RootViewControl[...]

由   YIem   撰写于    浏览:3565  评论:0
//// RootViewController.h// UI9_UITableView练习//// Created by YIem on 15/12/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>[...]

由   YIem   撰写于    浏览:3585  评论:0
//// RootViewController.m// UI9_UITableView协议方法//// Created by YIem on 15/12/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewControlle[...]

由   YIem   撰写于    浏览:3479  评论:0
//// RootViewController.m// UI9_UITableView//// Created by YIem on 15/12/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h"[...]

由   YIem   撰写于    浏览:4682  评论:0
ShadowSocks 图文教程SS的全称是Shadowsocks,是一种轻量级的加密的socks5网络代理,经本人测试速度比VPN快很多,观看YouTube视频非常流畅,是迄今为止最快的科学工具。下面分别介绍在Windows, Mac OS X, iOS, Android等系统下怎样使用Shadowsocks科学上网。获取帐号正常你需要获取ss帐[...]

由   YIem   撰写于    浏览:4160  评论:0
一键安装 ShadowSocksOCTOBER 31, 2015 / VPSMM一键安装脚本,使用比较方便,同时安装一个python管理软件pip。适用于常见的linux系统,像centos,ubuntu,debian均能正确安装。安装脚本wget soft.vpsmm.com/shadowsocks.shchmod +x shadowsocks.[...]

由   YIem   撰写于    浏览:3769  评论:0
基于openvz虚拟,硬盘raid10,网络为100M端口共享,支持TUN/TAP and PPP,solusvm面板...科学上网科学上网alpharacks官网64内存 ----- 96内存 ----- 128内存 ----- 512内存2 G硬盘 ----- 5 G硬盘 --[...]