YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!
首页
关于
关键字
String
的文章
iOS-初级数据持久化_简单对象的读写(NSString/NSArray/NSDictionary/NSData)写入本地磁盘
由 YIem 撰写于
2016-03-03
浏览:6454 评论:0
iOS-网络数据请求-视频异步下载播放
由 YIem 撰写于
2016-03-02
浏览:5596 评论:0
iOS-网络数据请求-异步图片下载
由 YIem 撰写于
2016-03-02
浏览:4301 评论:0
iOS-Post异步-网络请求-网络数据请求
由 YIem 撰写于
2016-03-01
浏览:5154 评论:0
iOS-get异步网络请求-网络数据请求
由 YIem 撰写于
2016-03-01
浏览:4397 评论:0
iOS-UI-XML数据解析-SAX方法-解析为\n的处理方法
由 YIem 撰写于
2016-03-01
浏览:3674 评论:0
// 解析数据 为n 第一种 解决方法(判断)if (![string hasPrefix:@"\n"]) { [stu setValue:string forKey:self.elementNameStr]; }//// 解析数据 为\n 第二种 解决方法(设置解析值(\n) 为空) self.elemen[...]
iOS-UI-XML数据解析-DOM方法
由 YIem 撰写于
2016-03-01
浏览:4587 评论:0
iOS-UI-XML数据解析-SAX方法
由 YIem 撰写于
2016-03-01
浏览:5097 评论:0
iOS-UI-JOSN数据解析-第三方方法
由 YIem 撰写于
2016-03-01
浏览:4168 评论:0
iOS-UI-JOSN数据解析-系统方法
由 YIem 撰写于
2016-03-01
浏览:4996 评论:0
iOS-UI-UITableView-移动-是否禁止跨区
由 YIem 撰写于
2016-01-25
浏览:5848 评论:0
[上部分 链接======][1]上部分链接-同上方链接TableView里面 1 2 3 一样#warning 移动 3 - 设置是否允许移动(BOOL)tableView:(UITableView )tableView canMoveRowAtIndexPath:(NSIndexPath )indexPath{return YES;}warni[...]
iOS-UI-UITableView 的编辑模式-插入-删除-
由 YIem 撰写于
2016-01-25
浏览:4276 评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDiction[...]
iOS-UI-UITableView-indePath 定位分区 行 信息 包含section和row
由 YIem 撰写于
2016-01-23
浏览:4399 评论:0
// 设置 // indePath 定位信息 包含section和row cell.textLabel.text = [NSString stringWithFormat:@"s: %ld, r: %ld", indexPath.section, indexPath.row];
iOS-UI-分区头-分区脚名称设置
由 YIem 撰写于
2016-01-23
浏览:3856 评论:0
// 分区头名称(NSString )tableView:(UITableView )tableView titleForHeaderInSection:(NSInteger)section{return @"头头头";}// 分区脚部名称(NSString )tableView:(UITableView )tableView titleForFo[...]
iOS-UI_UIImageView-的部分代码操作-图片播放-播放次数-播放时间-开始播放
由 YIem 撰写于
2016-01-15
浏览:4120 评论:0
// 图片UIImageView UIImageView *imageV = [[UIImageView alloc] initWithFrame:self.view.frame]; // 设置图片 imageV.image = [UIImage imageNamed:@"BackGround"]; [self[...]
iOS-植物大战僵尸-UIVIew-UIImageView-
由 YIem 撰写于
2016-01-14
浏览:4157 评论:0
iOS-植物大战僵尸-UIVIew-UIImageView-#import "ViewController.h" @interface ViewController ()@end@implementation ViewController(void)viewDidLoad {[super viewDidLoad];// Do a[...]
iOS-TOM猫-汤姆猫动画播放-UIImageVIew
由 YIem 撰写于
2016-01-14
浏览:4792 评论:0
iOS-TOM猫-汤姆猫动画播放-UIImageVIew#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UIImageView *img;@end@implementation ViewController([...]
Objective-C考试-OC考试题-选择题-判断题
由 YIem 撰写于
2016-01-12
浏览:6125 评论:0
Objective-C考试- 蓝鸥3G-OC考试题 ※ 选择题(共40题,每题2分) 1、NSString *str = @“lanou”; [str retain]; [str autorelease]; 此时str的引用计数是________。 答案:(D) A、0 B、1 C、2 D、以上[...]
OC-通讯录-分组-删除-判断 重新setter getter
由 YIem 撰写于
2016-01-10
浏览:4851 评论:0
/* 完成以下需求 需求:1、定义 联系人类Contact。实例变量:姓名(拼⾳, ⾸字母大写)、性别、电话号码、住址、分组名称、年龄。 ⽅法:自定义初始化方法(姓名、电话号码)、显示联系⼈信息(重写description方法, 打印所有成员变量)。 2、在main.m中定义字典,分组管理所有联系人。分组名 为26个大写的英文字母。 3、可以[...]
OC-* 实现图书管理系统:数组可以添加、删除可以从数组根据书名查找书籍,并修改书籍的价格
由 YIem 撰写于
2016-01-09
浏览:4546 评论:0
main.m/* 实现图书管理系统: 1、使⽤数组管理所有书籍。 2、数组可以添加、删除。 3、可以从数组根据书名查找书籍,并修改书籍的价格。 4、展⽰所有书籍清单(书名)。*/ // 创建 对象Book *book1 = [Book bookWithBookName:@"YIem" price:20]; Book *b[...]
OC-Block-定义一个block,返回值为BOOL,有两个NSString参数。实现:判断字符串是否相等
由 YIem 撰写于
2016-01-09
浏览:6448 评论:0
/*定义一个block,返回值为BOOL,有两个NSString参数。实现:判断字符串是否相等。*/ if 1 BOOL (^block)(NSString *a, NSString *b) = ^BOOL(NSString *a, NSString *b) { // return [a compare:b];[...]
OC-KVC--就字典中的内容按照key值 对应的写入对象中
由 YIem 撰写于
2016-01-09
浏览:4201 评论: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[...]
OC-不同类型转换-整型转NSString-NSString转整型
由 YIem 撰写于
2016-01-09
浏览:3538 评论:0
///************* 不同类型转换 ****** // 整型转NSString int a = 3; NSString *str = [NSString stringWithFormat:@"%d", a]; NSLog(@"%@", str); // NS[...]
OC-排序-自定义类型对象的排序
由 YIem 撰写于
2016-01-08
浏览:4271 评论:0
.main.m 代码 /********** 自定义类型对象的排序 *****************/ Person *per1 = [[Person alloc] initWithName:@"Long" age:22]; Person *per2 = [[Person alloc] initWithName:@[...]
OC-集合- 集合 - 集合的元素具有唯一性-常用于判断交/并集等操作
由 YIem 撰写于
2016-01-08
浏览:4639 评论:0
// 集合 - 集合的元素具有唯一性 // 常用于判断交/并集等操作 /// 不可变集合// 创建集合 // 如果有重复元素 只保留一个 eg;@"2", @"2" NSSet *set = [NSSet setWithObjects:@"1",@"2" , @[...]
1
2
3
4
5
Yiem
心比天高,命比纸薄。
文章
1291
评论
165
分类
16
标签
1291
页面
1
浏览
1291
随机文章
iOS-网络数据请求-视 ...
iOS-TextFiled-文本 ...
今天是2016年12月07 ...
安装了一晚上的Visu ...
Google WebSite Sub ...
第一次在香港一日游 ...
HostMyBytes 便宜VP ...
Apple关于MacOS App ...
IWFHosting优惠活动 ...
九一八!九一八!九 ...
Tags
ios(119)
便宜vps(119)
洛杉矶vps(107)
美国vps(105)
vps(98)
ios开发(91)
KVM VPS(89)
过年(77)
洛杉矶便宜VPS(73)
PayPal购买VPS(73)
还有多少天过年(71)
春节(64)
最新文章
请珍重,不相送。
百度:从价值观迷失到社会...
便宜年付10美元VPS推...
对升旗事件做评论
点赞表扬 GoDadd...
Hi,2025!
搬瓦工Bandwagon...
点名表扬下水星的垃圾产品...
黑神话 - 悟空
便宜在线ChatGPT网...
最新评论
YIem
:
是的,需要发票的话还[...]
leeson
:
我也被坑了,前两年是[...]
YIem
:
安装完可以删除
绝对小白菜
:
下载好的Window[...]
啊鱼竿哦哦哦
:
哈哈哈
Links
帮助教程
HelpDocsHub
ipv6测试
个人博客
赵容部落
Typecho主题模版