YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!
首页
关于
关键字
ui
的文章
iOS-UI-UITableView-indePath 定位分区 行 信息 包含section和row
由 YIem 撰写于
2016-01-22
浏览:1542 评论:0
// 设置 // indePath 定位信息 包含section和row cell.textLabel.text = [NSString stringWithFormat:@"s: %ld, r: %ld", indexPath.section, indexPath.row];
iOS_ui_UItableView-tableView点击方法
由 YIem 撰写于
2016-01-22
浏览:999 评论:0
// tableView点击方法(void)tableView:(UITableView )tableView didSelectRowAtIndexPath:(NSIndexPath )indexPath{NSLog(@"点击"); // 取消选中效果 [tableView deselectRowAtIndexPath:ind[...]
iOS-UI-UITableView-tableView右部索引栏
由 YIem 撰写于
2016-01-22
浏览:1582 评论:0
// tableView右部索引栏(NSArray )sectionIndexTitlesForTableView:(UITableView )tableView{return @[@"a", @"1", @"啦"];}
iOS-UI_TableView- 行高-头部高度-脚部高度
由 YIem 撰写于
2016-01-22
浏览:1263 评论:0
// 高度控制// 行高(CGFloat)tableView:(UITableView )tableView heightForRowAtIndexPath:(NSIndexPath )indexPath{return 100;}// 头部高度(CGFloat)tableView:(UITableView *)tableView heightFor[...]
iOS-UI_TableView-自定义头部区域-自定义脚部区域
由 YIem 撰写于
2016-01-22
浏览:1145 评论:0
// 自定义头部区域(UIView )tableView:(UITableView )tableView viewForHeaderInSection:(NSInteger)section{UIView *header = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];he[...]
iOS-UI-分区头-分区脚名称设置
由 YIem 撰写于
2016-01-22
浏览:1182 评论:0
// 分区头名称(NSString )tableView:(UITableView )tableView titleForHeaderInSection:(NSInteger)section{return @"头头头";}// 分区脚部名称(NSString )tableView:(UITableView )tableView titleForFo[...]
iOS-UI-TableView-分割线样式-分割线颜色-行(Cell)高
由 YIem 撰写于
2016-01-22
浏览:1284 评论:0
// 分割线样式tableV.separatorStyle = UITableViewCellSeparatorStyleSingleLine; // 分割线颜色 tableV.separatorColor = [UIColor greenColor]; // 行高 - 如果使用协议方法设置行高, 此句无效 tableV.rowHeight = 200;
iOS-UI-传值-协议传值- 把第二页的传向第一页
由 YIem 撰写于
2016-01-21
浏览:977 评论:0
第⼀步:声明协议第⼆步:声明代理⼈第三步:执⾏协议方法第四步:签订协议第五步:指定代理⼈第六步:实现协议方法
iOS-UI-导航视图控制器-UINavigationController-背景图片设置
由 YIem 撰写于
2016-01-20
浏览:967 评论:0
// 背景图片 [navigation.navigationBar setBackgroundImage:[UIImage imageNamed:@"10425.jpg"] forBarMetrics:UIBarMetricsDefault]; ![ // 背景图片[navigation.navigationBar set[...]
iOS-UI-导航视图控制器-UINavigationController-部分属性
由 YIem 撰写于
2016-01-20
浏览:1035 评论:0
// 前景色 navigation.navigationBar.barTintColor = [UIColor cyanColor]; // 背景色// navigation.navigationBar.backgroundColor = [UIColor cyanColor];// 边框色 navigation.navigation[...]
iOS-UI-UIPageControl 页码控制器
由 YIem 撰写于
2016-01-18
浏览:1350 评论:0
/********UIPageControl 页码********/ UIPageControl *pcr = [[UIPageControl alloc] initWithFrame:CGRectMake(100, 500, 200, 50)]; // 注意属性 // 注意, 如果不设置页码个数 控件不显示 pcr.numberOfPages[...]
iOS-UI-UISlide- 滑动条
由 YIem 撰写于
2016-01-18
浏览:1639 评论:0
UISlide 滑动条UISlider *slide = [[UISlider alloc] initWithFrame:CGRectMake(100, 400, 300, 10)];// 重要属性 // 最小值 slide.minimumValue = 0; // 最大值 slide.maximumValue = 10; // 设置进度位置 sl[...]
iOS-UI-UISwith 开关
由 YIem 撰写于
2016-01-18
浏览:945 评论:0
/****** UISwith 开关******/ // frame只有坐标生效, 大小无效由系统默认指定 UISwitch *swt = [[UISwitch alloc] initWithFrame:CGRectMake(100, 200, 0, 0)]; // 注意触发方式 [swt addTarget:self action:@sele[...]
iOS-UI-创建3个UISlider-分别设置划过区域的颜⾊分别为红,黄,蓝-通过控制三个slider改变self.view的背景颜⾊
由 YIem 撰写于
2016-01-18
浏览:1187 评论:0
iOS-UI-创建3个UISlider-分别设置划过区域的颜⾊分别为红,黄,蓝-通过控制三个slider改变self.view的背景颜⾊#import "ViewController.h"@interface ViewController ()@property (nonatomic, retain) UISlider *red;@property[...]
iOS-UI-UIKit框架-UIKit-事件手势
由 YIem 撰写于
2016-01-18
浏览:1058 评论: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
浏览:1013 评论: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
浏览:1231 评论:0
SetViewController *setVC = [[SetViewController alloc]init];// 注意坐标设置 setVC.view.frame = CGRectMake(-150, 0, 150, self.view.frame.size.height); [self addChildViewControll[...]
iOS-UI-UISegmentedControl-分段控制器
由 YIem 撰写于
2016-01-18
浏览:1234 评论:0
self.seg = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"界面1", @"界面2", @"界面3", nil]];self.seg.frame = CGRectMake(100, 100, 200, 30); // 起始选中状态 self.seg[...]
iOS-UI -UIAlertAction-UIAlertController-提示框 警告-窗口弹出
由 YIem 撰写于
2016-01-18
浏览:1864 评论:0
// 提示框 // 提示框的样式只有两种 中间 下方 UIAlertController *alertC = [UIAlertController alertControllerWithTitle:@"注意" message:@"你是傻逼" preferredStyle:UIAlertControllerS[...]
iOS-UI-容器视图控制器
由 YIem 撰写于
2016-01-18
浏览:1130 评论:0
// 容器视图控制器 self.secondVC = [[SecondViewController alloc] init]; // 将VC添加的原因 // 1. 事件沿VC传递 // 2. 防止VC释放而所属View未释放 [self addChildViewController:self.secondVC]; [self.view addS[...]
iOS-UI-NSUserDefaults-简单信息存储数据到本地
由 YIem 撰写于
2016-01-18
浏览:1156 评论:0
NSUserDefaults 是全局变量 简单信息存储数据到本地// 用来向本地存储一些简单信息 NSUserDefaults *userD = [NSUserDefaults standardUserDefaults]; // 存入BOOL类型数据 [userD setBool:YES forKey:@"isLogin"];[...]
iOS-UI-Button按钮自定义图标-图片样式切换
由 YIem 撰写于
2016-01-18
浏览:1232 评论:0
iOS-UI-Button按钮自定义图标-图片样式切换 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];button.frame = CGRectMake(100, 300, 200, 50); // 正常状态 [button setBackgroundImage[...]
iOS-UI-活动界面铺设
由 YIem 撰写于
2016-01-18
浏览:1562 评论:0
VC.m#import "ActivityDetailViewController.h"import "ActivityDetailView.h"@interface ActivityDetailViewController ()@
[email protected]
ActivityDetailViewController
iOS-UI_UIImageView-的部分代码操作-图片播放-播放次数-播放时间-开始播放
由 YIem 撰写于
2016-01-14
浏览:1041 评论:0
// 图片UIImageView UIImageView *imageV = [[UIImageView alloc] initWithFrame:self.view.frame]; // 设置图片 imageV.image = [UIImage imageNamed:@"BackGround"]; [self[...]
iOS-UI-UIButton的部分操作代码-标题-前景图-背景图-渲染-Button方法
由 YIem 撰写于
2016-01-14
浏览:1527 评论:0
// 按钮 button UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem]; button.frame = CGRectMake(100, 300, 50, 30);// button.backgroundColor = [UIColor redColor];//[...]
1
...
5
6
7
8
9
10
Yiem
心比天高,命比纸薄。
文章
1198
评论
163
分类
16
标签
1198
页面
1
浏览
1198
随机文章
电子商务-现在为什么 ...
电脑重新做了系统-w ...
2015-11-12 -C3_循环 ...
今天是2017年1月11日 ...
嗯嗯-今天的话题是如 ...
for 和while的特点
【跑路】BigFootSer ...
Hostwinds稳定吗?H ...
告慰您, 以一个更好 ...
None of the input ...
Tags
ios(113)
便宜vps(111)
洛杉矶vps(103)
美国vps(99)
ios开发(91)
vps(89)
KVM VPS(84)
过年(77)
PayPal购买VPS(73)
还有多少天过年(71)
洛杉矶便宜VPS(71)
春节(64)
最新文章
RAKsmart大陆优化...
RAKsmart:年付2...
黑五结束了,没有什么新意...
国家互联网信息办公室关于...
Android XML中...
极光推送官方又挂了。。。...
【苹果税降低】Apple...
Centos 7 防火墙...
BandwagonHos...
【黑名单】武汉江寓怎么样...
最新评论
YIem
:
安装完可以删除
绝对小白菜
:
下载好的Window[...]
啊鱼竿哦哦哦
:
哈哈哈
YIem
:
这辆车 怎么样呢? [...]
frrrrr
:
hao
Links
帮助教程
ipv6测试
个人博客
小夜博客
赵容部落
Typecho主题模版