YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!
首页
关于
关键字
key
的文章
iOS-初级数据持久化_复杂对象的存储-自定义Student类
由 YIem 撰写于
2016-03-02
浏览:4348 评论:0
iOS-请求网络数据时崩溃-data = nil 的时候解决办法
由 YIem 撰写于
2016-03-01
浏览:3549 评论:0
在info的plist文件中添加下面代码(进入方法-info.plist-右键单击-Open AS->Source Code)<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> [...]
iOS-UI-XML数据解析-SAX方法-解析为\n的处理方法
由 YIem 撰写于
2016-02-29
浏览:2741 评论:0
// 解析数据 为n 第一种 解决方法(判断)if (![string hasPrefix:@"\n"]) { [stu setValue:string forKey:self.elementNameStr]; }//// 解析数据 为\n 第二种 解决方法(设置解析值(\n) 为空) self.elemen[...]
iOS-UI-XML数据解析-DOM方法
由 YIem 撰写于
2016-02-29
浏览:3376 评论:0
iOS-UI-XML数据解析-SAX方法
由 YIem 撰写于
2016-02-29
浏览:3881 评论:0
iOS-UI-JOSN数据解析-第三方方法
由 YIem 撰写于
2016-02-29
浏览:2923 评论:0
iOS-UI-JOSN数据解析-系统方法
由 YIem 撰写于
2016-02-29
浏览:3766 评论:0
iOS-UI-UITabBarControllerDelegate-标签视图控制器
由 YIem 撰写于
2016-01-29
浏览:3650 评论:0
iOS-UI-UITabBarControllerDelegate-标签视图控制器@interface AppDelegate ()<UITabBarControllerDelegate> @end@implementation AppDelegate(void)dealloc{[_window release]; [super dea[...]
iOS-UI-UITableView-移动-是否禁止跨区
由 YIem 撰写于
2016-01-25
浏览:4737 评论: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
浏览:2999 评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDiction[...]
iOS-UI-NSUserDefaults-简单信息存储数据到本地
由 YIem 撰写于
2016-01-18
浏览:3518 评论:0
NSUserDefaults 是全局变量 简单信息存储数据到本地// 用来向本地存储一些简单信息 NSUserDefaults *userD = [NSUserDefaults standardUserDefaults]; // 存入BOOL类型数据 [userD setBool:YES forKey:@"isLogin"];[...]
iOS-UI-UITextField-的部分操作代码-密文输入-消除按钮-键盘样式-边框样式
由 YIem 撰写于
2016-01-14
浏览:4273 评论:0
//***// 文本输入框 - YIem的博客 // command + k 调出键盘 // command + shift + k 关联物理键盘 UITextField *field = [[UITextField alloc] initWithFrame:CGRectMake(label.frame.origin.x, label.frame.[...]
OC-协议代理-模拟return点击事件
由 YIem 撰写于
2016-01-12
浏览:5016 评论:0
main.m#import <Foundation/Foundation.h>import "System.h"import "Developer.h"int main(int argc, const char * argv[]) {// 协议代理// 模拟点击环境 Developer *dev = [[Developer alloc][...]
Objective-C考试-OC考试题-选择题-判断题
由 YIem 撰写于
2016-01-11
浏览:4758 评论: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-09
浏览:3632 评论:0
/* 完成以下需求 需求:1、定义 联系人类Contact。实例变量:姓名(拼⾳, ⾸字母大写)、性别、电话号码、住址、分组名称、年龄。 ⽅法:自定义初始化方法(姓名、电话号码)、显示联系⼈信息(重写description方法, 打印所有成员变量)。 2、在main.m中定义字典,分组管理所有联系人。分组名 为26个大写的英文字母。 3、可以[...]
OC-KVC--就字典中的内容按照key值 对应的写入对象中
由 YIem 撰写于
2016-01-08
浏览: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[...]
OC-排序-简单类型对象的排序-复杂类型对象的排序
由 YIem 撰写于
2016-01-07
浏览:3625 评论:0
/********* 方法2 简单类型对象的排序 ************/if 0// 创建排序对象 // 参数1 - 为简单类型对象可填写nil/@"self" // 为复杂类型对象可填写要进行排序的关键字, 如 按照Person的name成员排序 可填写@"name"; //参数2 [...]
OC-集合- 集合 - 集合的元素具有唯一性-常用于判断交/并集等操作
由 YIem 撰写于
2016-01-07
浏览:3400 评论:0
// 集合 - 集合的元素具有唯一性 // 常用于判断交/并集等操作 /// 不可变集合// 创建集合 // 如果有重复元素 只保留一个 eg;@"2", @"2" NSSet *set = [NSSet setWithObjects:@"1",@"2" , @[...]
OC- 字典套数组 -- 省市区
由 YIem 撰写于
2016-01-07
浏览:6574 评论:0
OC- 字典套数组 -- 省市区// 获取文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; // 按\n截取 NSArray *line = [str compon[...]
OC-字典-省市区-省数组套省字典套市数组套市字典套区数组
由 YIem 撰写于
2016-01-06
浏览:3591 评论:0
省市区OC-字典-省市区-省数组套省字典套市数组套市字典套区数组数据文件:省市区TXT(数据)文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; NSLog(@&qu[...]
OC-字典--添加 修改 删除 查询等等
由 YIem 撰写于
2016-01-05
浏览:3104 评论:0
分别有三个文件.mian.mint main(int argc, const char * argv[]) { // 创建学生 Student *stu1 = [[Student alloc]initWithName:@"卞一" sex:@"男" age:@"20"]; Student [...]
OC-可变字典(NSMutableDictionary)操作
由 YIem 撰写于
2016-01-05
浏览:2807 评论:0
OC-可变字典(NSMutableDictionary)操作// 可变字典创建 NSMutableDictionary *mdic = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"卞一", @"name", @"男", @&quo[...]
OC-不可变字典(NSDictionary) 操作
由 YIem 撰写于
2016-01-05
浏览:2840 评论:0
OC-不可变字典(NSDictionary) 操作// 不可变字典 创建 NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:@"卞一", @"name", @"男", @"sex", @&quo[...]
2015-12-24-Xib Xib 使用
由 YIem 撰写于
2015-12-24
浏览:3862 评论: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[...]
Block传值Block传值Block传值Block传值
由 YIem 撰写于
2015-12-24
浏览:4091 评论: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[...]
1
2
3
Yiem
心比天高,命比纸薄。
文章
1281
评论
163
分类
16
标签
1281
页面
1
浏览
1281
随机文章
2015-11-24-objecti ...
2018 新年快乐!
一键安装 ShadowSoc ...
iOS-UI-UITableView ...
今天是2016年11月12 ...
美国年付便宜vps主机 ...
希望Bing Webmaster ...
iOS 12新功能
【跑路】BigFootSer ...
【跑路】#年付8美元 ...
Tags
ios(119)
便宜vps(119)
洛杉矶vps(106)
美国vps(105)
vps(97)
ios开发(91)
KVM VPS(89)
过年(77)
PayPal购买VPS(73)
洛杉矶便宜VPS(72)
还有多少天过年(71)
春节(64)
最新文章
Hostdare 年付1...
RackNerd 优惠,...
11美元一年VPS,1H...
Apple Develo...
HostDare 年付2...
搬瓦工上新了 年付$46...
DediPath 跑路了...
HostDare 中国优...
丽萨主机 - 199元人...
Mondoze: 马来西...
最新评论
YIem
:
安装完可以删除
绝对小白菜
:
下载好的Window[...]
啊鱼竿哦哦哦
:
哈哈哈
YIem
:
这辆车 怎么样呢? [...]
frrrrr
:
hao
Links
帮助教程
HelpDocsHub
ipv6测试
个人博客
赵容部落
Typecho主题模版