YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!
首页
关于
关键字
ss
的文章
iOS-UI-分区头-分区脚名称设置
由 YIem 撰写于
2016-01-23
浏览:3948 评论:0
// 分区头名称(NSString )tableView:(UITableView )tableView titleForHeaderInSection:(NSInteger)section{return @"头头头";}// 分区脚部名称(NSString )tableView:(UITableView )tableView titleForFo[...]
iOS-UI-UIKit框架-UIKit-事件手势
由 YIem 撰写于
2016-01-19
浏览:4604 评论:0
#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UILabel *label;@end@implementation ViewController(void)dealloc{[_label release];[...]
iOS-UI -UIAlertAction-UIAlertController-提示框 警告-窗口弹出
由 YIem 撰写于
2016-01-19
浏览:6822 评论:0
// 提示框 // 提示框的样式只有两种 中间 下方 UIAlertController *alertC = [UIAlertController alertControllerWithTitle:@"注意" message:@"你是傻逼" preferredStyle:UIAlertControllerS[...]
iOS-UI-Button按钮自定义图标-图片样式切换
由 YIem 撰写于
2016-01-19
浏览:4263 评论:0
iOS-UI-Button按钮自定义图标-图片样式切换 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];button.frame = CGRectMake(100, 300, 200, 50); // 正常状态 [button setBackgroundImage[...]
iOS-UI-活动界面铺设
由 YIem 撰写于
2016-01-19
浏览:4517 评论:0
VC.m#import "ActivityDetailViewController.h"import "ActivityDetailView.h"@interface ActivityDetailViewController ()@end@implementation ActivityDetailViewController
iOS-UI_UIImageView-的部分代码操作-图片播放-播放次数-播放时间-开始播放
由 YIem 撰写于
2016-01-15
浏览:4222 评论:0
// 图片UIImageView UIImageView *imageV = [[UIImageView alloc] initWithFrame:self.view.frame]; // 设置图片 imageV.image = [UIImage imageNamed:@"BackGround"]; [self[...]
iOS-植物大战僵尸-UIVIew-UIImageView-
由 YIem 撰写于
2016-01-14
浏览:4258 评论: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
浏览:4898 评论:0
iOS-TOM猫-汤姆猫动画播放-UIImageVIew#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UIImageView *img;@end@implementation ViewController([...]
“快播和百度贴吧同样是一个平台,快播因为纵容在平台上传播淫秽电影而破产,同时其主要负责人也等着被法院宣判。那么,百度凭什么不破产?李彦宏凭什么不被告上法院?”
由 YIem 撰写于
2016-01-14
浏览:4574 评论:0
新浪科技讯 1月12日早间消息,百度出卖血友吧事件继续发酵,网友在知乎发帖继续举报称,除血友吧外,还涉及不孕不育吧、糖尿病吧、癫痫吧等热门疾病吧被引入商业合作的吧主。据知乎网友ytytytyt调查统计,在3259个健康保健类吧中,有近40%的热门疾病吧已被卖。不过百度方面告诉新浪科技:病种吧已不允许引入商业合作。 不完全统计:40%热门疾病吧[...]
OC-协议代理-模拟return点击事件
由 YIem 撰写于
2016-01-12
浏览:6206 评论: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-12
浏览:6224 评论:0
Objective-C考试- 蓝鸥3G-OC考试题 ※ 选择题(共40题,每题2分) 1、NSString *str = @“lanou”; [str retain]; [str autorelease]; 此时str的引用计数是________。 答案:(D) A、0 B、1 C、2 D、以上[...]
你怎样看待360安全卫士的雷电OS导致MIUI无法升级这一事件?
由 YIem 撰写于
2016-01-11
浏览:5189 评论:0
首先,“雷电OS”是不是一个OS。答案:不是。雷电OS是一堆预置应用的合集。---下面更新了一些好玩的证据------另外大家可以随意转载-----转载没问题,但是请不要在标题中同时出现小米(MIUI)和雷电,我只是澄清事实,无意为这两家公司引战。雷电的受害用户不止小米,只是这次360针对小米进行推广,所以显得小米用户比较多。雷电OS安装完成后,除[...]
OC-通讯录-分组-删除-判断 重新setter getter
由 YIem 撰写于
2016-01-10
浏览:4951 评论:0
/* 完成以下需求 需求:1、定义 联系人类Contact。实例变量:姓名(拼⾳, ⾸字母大写)、性别、电话号码、住址、分组名称、年龄。 ⽅法:自定义初始化方法(姓名、电话号码)、显示联系⼈信息(重写description方法, 打印所有成员变量)。 2、在main.m中定义字典,分组管理所有联系人。分组名 为26个大写的英文字母。 3、可以[...]
OC-* 实现图书管理系统:数组可以添加、删除可以从数组根据书名查找书籍,并修改书籍的价格
由 YIem 撰写于
2016-01-09
浏览:4656 评论: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
浏览:6532 评论: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
浏览:4299 评论: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
浏览:3605 评论:0
///************* 不同类型转换 ****** // 整型转NSString int a = 3; NSString *str = [NSString stringWithFormat:@"%d", a]; NSLog(@"%@", str); // NS[...]
OC-排序-简单类型对象的排序-复杂类型对象的排序
由 YIem 撰写于
2016-01-08
浏览:4897 评论:0
/********* 方法2 简单类型对象的排序 ************/if 0// 创建排序对象 // 参数1 - 为简单类型对象可填写nil/@"self" // 为复杂类型对象可填写要进行排序的关键字, 如 按照Person的name成员排序 可填写@"name"; //参数2 [...]
OC-排序-自定义类型对象的排序
由 YIem 撰写于
2016-01-08
浏览:4412 评论:0
.main.m 代码 /********** 自定义类型对象的排序 *****************/ Person *per1 = [[Person alloc] initWithName:@"Long" age:22]; Person *per2 = [[Person alloc] initWithName:@[...]
OC-集合- 集合 - 集合的元素具有唯一性-常用于判断交/并集等操作
由 YIem 撰写于
2016-01-08
浏览:4794 评论:0
// 集合 - 集合的元素具有唯一性 // 常用于判断交/并集等操作 /// 不可变集合// 创建集合 // 如果有重复元素 只保留一个 eg;@"2", @"2" NSSet *set = [NSSet setWithObjects:@"1",@"2" , @[...]
OC- 字典套数组 -- 省市区
由 YIem 撰写于
2016-01-08
浏览:7794 评论:0
OC- 字典套数组 -- 省市区// 获取文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; // 按\n截取 NSArray *line = [str compon[...]
OC-字典-省市区-省数组套省字典套市数组套市字典套区数组
由 YIem 撰写于
2016-01-06
浏览:4749 评论:0
省市区OC-字典-省市区-省数组套省字典套市数组套市字典套区数组数据文件:省市区TXT(数据)文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; NSLog(@&qu[...]
OC-字典--添加 修改 删除 查询等等
由 YIem 撰写于
2016-01-06
浏览:4515 评论:0
分别有三个文件.mian.mint main(int argc, const char * argv[]) { // 创建学生 Student *stu1 = [[Student alloc]initWithName:@"卞一" sex:@"男" age:@"20"]; Student [...]
OC-不可变字典(NSDictionary) 操作
由 YIem 撰写于
2016-01-06
浏览:4280 评论:0
OC-不可变字典(NSDictionary) 操作// 不可变字典 创建 NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:@"卞一", @"name", @"男", @"sex", @&quo[...]
创建可变数和不可变数组的中文创建方法
由 YIem 撰写于
2016-01-05
浏览:3715 评论:0
创建可变数和不可变数组的中文方法// 中文版 NSArray *阿尔 = @[@"AAA"]; NSLog(@"%@", 阿尔); NSLog(@"%ld", 阿尔.count); NSArray *卞一 = @[@"YIem", @"YI", @&[...]
1
...
13
14
15
16
17
18
Yiem
心比天高,命比纸薄。
文章
1293
评论
165
分类
16
标签
1293
页面
1
浏览
1293
随机文章
我的2017年度听歌报 ...
2015-12-24-TableVi ...
易读小说系统一键安 ...
【跑路】HostedSimp ...
还有多少天过年,还 ...
BandwagonHost年付2 ...
【已经跑路】ArkaHo ...
Flutter 成为多平台 ...
黑五结束了,没有什 ...
iOS、Android手机突 ...
Tags
ios(119)
便宜vps(119)
洛杉矶vps(107)
美国vps(105)
vps(98)
ios开发(91)
KVM VPS(89)
过年(77)
洛杉矶便宜VPS(73)
PayPal购买VPS(73)
还有多少天过年(71)
春节(64)
最新文章
一段和 AI 的瞎扯的内...
北京之行
请珍重,不相送。
百度:从价值观迷失到社会...
便宜年付10美元VPS推...
对升旗事件做评论
点赞表扬 GoDadd...
Hi,2025!
搬瓦工Bandwagon...
点名表扬下水星的垃圾产品...
最新评论
YIem
:
是的,需要发票的话还[...]
leeson
:
我也被坑了,前两年是[...]
YIem
:
安装完可以删除
绝对小白菜
:
下载好的Window[...]
啊鱼竿哦哦哦
:
哈哈哈
Links
帮助教程
HelpDocsHub
ipv6测试
个人博客
赵容部落
Typecho主题模版