关键字 http 的文章


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

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

由   YIem   撰写于    浏览:3437  评论:0
// 集合 - 集合的元素具有唯一性 // 常用于判断交/并集等操作 /// 不可变集合// 创建集合 // 如果有重复元素 只保留一个 eg;@"2", @"2" NSSet *set = [NSSet setWithObjects:@"1",@"2" , @[...]

由   YIem   撰写于    浏览:6598  评论:0
OC- 字典套数组 -- 省市区// 获取文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; // 按\n截取 NSArray *line = [str compon[...]

由   YIem   撰写于    浏览:3622  评论:0
省市区OC-字典-省市区-省数组套省字典套市数组套市字典套区数组数据文件:省市区TXT(数据)文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; NSLog(@&qu[...]

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

由   YIem   撰写于    浏览:2851  评论:0
OC-可变字典(NSMutableDictionary)操作// 可变字典创建 NSMutableDictionary *mdic = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"卞一", @"name", @"男", @&quo[...]

由   YIem   撰写于    浏览:2872  评论:0
OC-不可变字典(NSDictionary) 操作// 不可变字典 创建 NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:@"卞一", @"name", @"男", @"sex", @&quo[...]

由   YIem   撰写于    浏览:2539  评论:0
创建可变数和不可变数组的中文方法// 中文版 NSArray *阿尔 = @[@"AAA"]; NSLog(@"%@", 阿尔); NSLog(@"%ld", 阿尔.count); NSArray *卞一 = @[@"YIem", @"YI", @&[...]

由   YIem   撰写于    浏览:3129  评论:0
可变数组和不可变数组的快速创建-修改-赋值-替换-判断等等NSArray *arr = @[@"aa", @"bb", @"cc", @"dd", @"ff", @"ee", @"gg"]; // 获取数组的[...]

由   YIem   撰写于    浏览:3092  评论:0
可变数组的各种操作// 可变数组 NSMutableArray *mArr = [NSMutableArray arrayWithObjects:@"aaa", @"bbb", @"ccc", @"ddd", @"eee", nil]; // 添加一[...]

由   YIem   撰写于    浏览:2577  评论:0
创建不可变数组,对其的各种操作 // 创建数组 NSArray *arr = @[@"aa", @"bb", @"dd", @"12", @"ff"]; // 获取数组对象个数 NSLog(@"%ld", arr.count);[...]

由   YIem   撰写于    浏览:3561  评论:0
// 1. 创建一个不可变字符串 str // 2. 输出 str 的长度 // 3. 将 str 中的所有 'i' 都替换为 'x' // 4. 比较 str 和 "sample" 字符串的大小, 输出较小的一个. // 5. 将 str 转为可变字符串 mutableStr // 6. 判断 mutableStr 长度, 如[...]

由   YIem   撰写于    浏览:3446  评论:0
// 获取数组的元素个数( 多用于遍历) NSLog(@"array元素个数: %ld", array.count);/// 获取某一个元素NSString *name = [array objectAtIndex:0]; NSLog(@"array获取某一个元素%@", name); // C 语言形式的取[...]

由   YIem   撰写于    浏览:2761  评论:0
/* * 向某个下标插入一个元素(insert) * 删除(delete) * 交换(exchange) */ // 向某个下标插入一个元素 [mutableArr insertObject:@"22" atIndex:2]; NSLog(@"%@", mutableArr); // 删除某个元素 [m[...]

由   YIem   撰写于    浏览:3163  评论:0
iOS 判断Objective-C 字符串是否已i开头 you结尾 NSString *str = [NSString stringWithFormat:@"i Love you"]; [str hasPrefix:@"i"] && [str hasSuffix:@"you&[...]

由   YIem   撰写于    浏览:3777  评论:0
迟来的新年祝福,2016年我要好好的

由   YIem   撰写于    浏览:3818  评论:0
0000001000020000300004

由   YIem   撰写于    浏览:3972  评论:0
ShadowSocks相关软件下载我们把Shadowsocks相关的6个软件打包,打包后文件大小是4M下载地址是:http://pan.baidu.com/s/1kT67wAr这里包括:Shadowsocks客户端(Windows 8/8.1)Shadowsocks客户端(Windows 7及以下 )Shadowsocks客户端(Mac OS X)[...]

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

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

由   YIem   撰写于    浏览:4085  评论:0
// RootViewController.m// **UI8_轮播图//**// Created by YIem on 15/12/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h"@inter[...]

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

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

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