YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!
首页
关于
关键字
IG
的文章
iOS-UI-UITabBarControllerDelegate-标签视图控制器
由 YIem 撰写于
2016-01-29
浏览:1239 评论:0
iOS-UI-UITabBarControllerDelegate-标签视图控制器@interface AppDelegate ()<UITabBarControllerDelegate> @
[email protected]
AppDelegate(void)dealloc{[_window release]; [super dea[...]
iOS-UI-UITableView 的编辑模式-插入-删除-
由 YIem 撰写于
2016-01-25
浏览:1231 评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDiction[...]
iOS-UI-UITabkeView -tableView整体刷新-单行刷新 方法
由 YIem 撰写于
2016-01-22
浏览:1313 评论:0
tableView整体刷新 重新执行所有协议方法 [_tableView reloadData]; 单行刷新// 参数1: 需要刷新的下标 // 参数2: 刷新动画 [_tableView reloadRowsAtIndexPaths:@[_index] withRowAnimation:UITableViewRowAnimationRight];
iOS-UI_TableView- 行高-头部高度-脚部高度
由 YIem 撰写于
2016-01-22
浏览:1292 评论:0
// 高度控制// 行高(CGFloat)tableView:(UITableView )tableView heightForRowAtIndexPath:(NSIndexPath )indexPath{return 100;}// 头部高度(CGFloat)tableView:(UITableView *)tableView heightFor[...]
iOS-UI-TableView-分割线样式-分割线颜色-行(Cell)高
由 YIem 撰写于
2016-01-22
浏览:1334 评论:0
// 分割线样式tableV.separatorStyle = UITableViewCellSeparatorStyleSingleLine; // 分割线颜色 tableV.separatorColor = [UIColor greenColor]; // 行高 - 如果使用协议方法设置行高, 此句无效 tableV.rowHeight = 200;
iOS-UI-导航视图控制器-UINavigationController-背景图片设置
由 YIem 撰写于
2016-01-20
浏览:1000 评论:0
// 背景图片 [navigation.navigationBar setBackgroundImage:[UIImage imageNamed:@"10425.jpg"] forBarMetrics:UIBarMetricsDefault]; ![ // 背景图片[navigation.navigationBar set[...]
iOS-UI-导航视图控制器-UINavigationController-部分属性
由 YIem 撰写于
2016-01-20
浏览:1060 评论:0
// 前景色 navigation.navigationBar.barTintColor = [UIColor cyanColor]; // 背景色// navigation.navigationBar.backgroundColor = [UIColor cyanColor];// 边框色 navigation.navigation[...]
iOS-UI-UIKit框架-UIKit-事件手势
由 YIem 撰写于
2016-01-18
浏览:1099 评论:0
#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UILabel *label;@
[email protected]
ViewController(void)dealloc{[_label release];[...]
iOS-UI - 假夜间模式-VC 屏幕遮住
由 YIem 撰写于
2016-01-18
浏览:1043 评论:0
/******* 假夜间模式 *********/ // 开关 UISwitch *sw = [[UISwitch alloc] initWithFrame:CGRectMake(100, 200, 100, 100)]; [sw addTarget:self action:@selector(swAction:) forControlEvents[...]
iOS-UI- SetViewController-抽屉效果
由 YIem 撰写于
2016-01-18
浏览:1259 评论:0
SetViewController *setVC = [[SetViewController alloc]init];// 注意坐标设置 setVC.view.frame = CGRectMake(-150, 0, 150, self.view.frame.size.height); [self addChildViewControll[...]
iOS-UI-Button按钮自定义图标-图片样式切换
由 YIem 撰写于
2016-01-18
浏览:1278 评论:0
iOS-UI-Button按钮自定义图标-图片样式切换 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];button.frame = CGRectMake(100, 300, 200, 50); // 正常状态 [button setBackgroundImage[...]
iOS-UI-活动界面铺设
由 YIem 撰写于
2016-01-18
浏览:1595 评论:0
VC.m#import "ActivityDetailViewController.h"import "ActivityDetailView.h"@interface ActivityDetailViewController ()@
[email protected]
ActivityDetailViewController
iOS-UI-UITextField-的部分操作代码-密文输入-消除按钮-键盘样式-边框样式
由 YIem 撰写于
2016-01-14
浏览:1828 评论:0
//***// 文本输入框 - YIem的博客 // command + k 调出键盘 // command + shift + k 关联物理键盘 UITextField *field = [[UITextField alloc] initWithFrame:CGRectMake(label.frame.origin.x, label.frame.[...]
iOS-UI- UILabel的部分操作代码-字体大小-对齐方式-行数-阴影等等
由 YIem 撰写于
2016-01-14
浏览:1297 评论:0
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(50, 50, 300, 50)]; // 设置文字内容 label.text = @"YIem 的博客"; // 设置文字颜色 label.textColor = [UIColor greenColor]; /[...]
iOS键盘回收-按return键盘回收-或者跳入下一个UITextFielf的代码-self方法
由 YIem 撰写于
2016-01-14
浏览:1460 评论:0
iOS键盘回收-按return键盘回收-或者跳入下一个UITextFielf的代码// 把Text写成属性(延展)@property (nonatomic, retain) UITextField *field1;@property (nonatomic, retain) UITextField *field2;// 键盘回收(第一个UITextF[...]
iOS键盘回收-按return键盘回收-或者跳入下一个UITextFielf
由 YIem 撰写于
2016-01-14
浏览:1285 评论:0
iOS键盘回收-按return键盘回收-或者跳入下一个UITextFielf#import "ViewController.h" @interface ViewController ()<UITextFieldDelegate>@property (nonatomic, retain) UITextField *fi[...]
iOS-植物大战僵尸-UIVIew-UIImageView-
由 YIem 撰写于
2016-01-14
浏览:1179 评论:0
iOS-植物大战僵尸-UIVIew-UIImageView-#import "ViewController.h" @interface ViewController ()@
[email protected]
ViewController(void)viewDidLoad {[super viewDidLoad];// Do a[...]
iOS-TOM猫-汤姆猫动画播放-UIImageVIew
由 YIem 撰写于
2016-01-14
浏览:1329 评论:0
iOS-TOM猫-汤姆猫动画播放-UIImageVIew#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UIImageView *img;@
[email protected]
ViewController([...]
OC-协议代理-模拟return点击事件
由 YIem 撰写于
2016-01-12
浏览:2371 评论: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
浏览:1723 评论: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-10
浏览:1098 评论:0
首先,“雷电OS”是不是一个OS。答案:不是。雷电OS是一堆预置应用的合集。---下面更新了一些好玩的证据------另外大家可以随意转载-----转载没问题,但是请不要在标题中同时出现小米(MIUI)和雷电,我只是澄清事实,无意为这两家公司引战。雷电的受害用户不止小米,只是这次360针对小米进行推广,所以显得小米用户比较多。雷电OS安装完成后,除[...]
OC-通讯录-分组-删除-判断 重新setter getter
由 YIem 撰写于
2016-01-09
浏览:1260 评论:0
/* 完成以下需求 需求:1、定义 联系人类Contact。实例变量:姓名(拼⾳, ⾸字母大写)、性别、电话号码、住址、分组名称、年龄。 ⽅法:自定义初始化方法(姓名、电话号码)、显示联系⼈信息(重写description方法, 打印所有成员变量)。 2、在main.m中定义字典,分组管理所有联系人。分组名 为26个大写的英文字母。 3、可以[...]
OC-* 实现图书管理系统:数组可以添加、删除可以从数组根据书名查找书籍,并修改书籍的价格
由 YIem 撰写于
2016-01-09
浏览:1279 评论:0
main.m/* 实现图书管理系统: 1、使⽤数组管理所有书籍。 2、数组可以添加、删除。 3、可以从数组根据书名查找书籍,并修改书籍的价格。 4、展⽰所有书籍清单(书名)。*/ // 创建 对象Book *book1 = [Book bookWithBookName:@"YIem" price:20]; Book *b[...]
OC-KVC--就字典中的内容按照key值 对应的写入对象中
由 YIem 撰写于
2016-01-08
浏览:1127 评论: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
浏览:1164 评论:0
.main.m 代码 /********** 自定义类型对象的排序 *****************/ Person *per1 = [[Person alloc] initWithName:@"Long" age:22]; Person *per2 = [[Person alloc] initWithName:@[...]
1
...
3
4
5
6
7
8
Yiem
心比天高,命比纸薄。
文章
1202
评论
163
分类
16
标签
1202
页面
1
浏览
1202
随机文章
屌丝男的苦…
OC-排序-自定义类型 ...
一点烦心事-一部歌单 ...
今天是2017年1月7日 ...
今天是2017年1月21日 ...
一座城市,等一个人 ...
NFP Hosting年付18美 ...
【跑路】MegaZoneHo ...
#年付12美元VPS-支持 ...
联想打印机MAC版本驱 ...
Tags
ios(114)
便宜vps(111)
洛杉矶vps(103)
美国vps(99)
ios开发(91)
vps(89)
KVM VPS(84)
过年(77)
PayPal购买VPS(73)
还有多少天过年(71)
洛杉矶便宜VPS(71)
春节(64)
最新文章
App Store上架:...
新年快乐、开工挣大钱~
最新:更新版《App S...
iOS 14.5:App...
RAKsmart大陆优化...
RAKsmart:年付2...
黑五结束了,没有什么新意...
国家互联网信息办公室关于...
Android XML中...
极光推送官方又挂了。。。...
最新评论
YIem
:
安装完可以删除
绝对小白菜
:
下载好的Window[...]
啊鱼竿哦哦哦
:
哈哈哈
YIem
:
这辆车 怎么样呢? [...]
frrrrr
:
hao
Links
帮助教程
ipv6测试
个人博客
小夜博客
赵容部落
Typecho主题模版