YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!
首页
关于
iOS
iOS-UI-UITableViewCell 的自定义-自适应高度
由 YIem 撰写于
2016-01-27
浏览:4239 评论:0
iOS-UI-UITableViewCell 的自定义-自适应高度RootVC.m
iOS
iOS-UI-UITableView-移动-是否禁止跨区
由 YIem 撰写于
2016-01-25
浏览:6182 评论:0
[上部分 链接======][1]上部分链接-同上方链接TableView里面 1 2 3 一样#warning 移动 3 - 设置是否允许移动(BOOL)tableView:(UITableView )tableView canMoveRowAtIndexPath:(NSIndexPath )indexPath{ return YES;}warning
iOS
iOS-UI-UITableView 的编辑模式-插入-删除-
由 YIem 撰写于
2016-01-25
浏览:4706 评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDictionary *
iOS
iOS-UI-UITabkeView -tableView整体刷新-单行刷新 方法
由 YIem 撰写于
2016-01-23
浏览:4491 评论:0
tableView整体刷新 重新执行所有协议方法 [_tableView reloadData]; 单行刷新// 参数1: 需要刷新的下标 // 参数2: 刷新动画 [_tableView reloadRowsAtIndexPaths:@[_index] withRowAnimation:UITableViewRowAnimationRight];
iOS
iOS-UI-UITableView-Cell - 辅助视图
由 YIem 撰写于
2016-01-23
浏览:4849 评论:0
// 辅助视图// cell.accessoryType = UITableViewCellAccessoryDetailButton;// 感叹号 // cell.accessoryType = UITableViewCellAccessoryCheckmark;// 对号 // cell.accessoryType = UITableViewCe
iOS
iOS-UI-UITableView - 结构体
由 YIem 撰写于
2016-01-23
浏览:4074 评论:0
// tableView结构 // tableHeaderView + tableView + tableFooterView // tableView -> section + row // section -> header + row + footer
iOS
iOS-UI-tableView的头部脚部区域
由 YIem 撰写于
2016-01-23
浏览:4326 评论:0
// tableView的头部脚部区域 // 头 (只有高度起作用) UIView *header = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)]; header.backgroundColor = [UIColor redColor]; tableView.tableHeader
iOS
iOS-UI-UITableView-indePath 定位分区 行 信息 包含section和row
由 YIem 撰写于
2016-01-23
浏览:4753 评论:0
// 设置 // indePath 定位信息 包含section和row cell.textLabel.text = [NSString stringWithFormat:@"s: %ld, r: %ld", indexPath.section, indexPath.row];
iOS
iOS_ui_UItableView-tableView点击方法
由 YIem 撰写于
2016-01-23
浏览:3849 评论:0
// tableView点击方法(void)tableView:(UITableView )tableView didSelectRowAtIndexPath:(NSIndexPath )indexPath{ NSLog(@"点击"); // 取消选中效果 [tableView deselectRowAtIndexPath:indexPath anim
iOS
iOS-UI-UITableView-tableView右部索引栏
由 YIem 撰写于
2016-01-23
浏览:4886 评论:0
// tableView右部索引栏(NSArray )sectionIndexTitlesForTableView:(UITableView )tableView{ return @[@"a", @"1", @"啦"];}
iOS
iOS-UI_TableView- 行高-头部高度-脚部高度
由 YIem 撰写于
2016-01-23
浏览:4684 评论:0
// 高度控制// 行高(CGFloat)tableView:(UITableView )tableView heightForRowAtIndexPath:(NSIndexPath )indexPath{ return 100;}// 头部高度(CGFloat)tableView:(UITableView *)tableView heightForHea
iOS
iOS-UI_TableView-自定义头部区域-自定义脚部区域
由 YIem 撰写于
2016-01-23
浏览:4401 评论:0
// 自定义头部区域(UIView )tableView:(UITableView )tableView viewForHeaderInSection:(NSInteger)section{ UIView *header = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)]; hea
iOS
iOS-UI-分区头-分区脚名称设置
由 YIem 撰写于
2016-01-23
浏览:4171 评论:0
// 分区头名称(NSString )tableView:(UITableView )tableView titleForHeaderInSection:(NSInteger)section{ return @"头头头";}// 分区脚部名称(NSString )tableView:(UITableView )tableView titleForFoote
iOS
iOS-UI-TableView-分割线样式-分割线颜色-行(Cell)高
由 YIem 撰写于
2016-01-23
浏览:4377 评论:0
// 分割线样式tableV.separatorStyle = UITableViewCellSeparatorStyleSingleLine; // 分割线颜色 tableV.separatorColor = [UIColor greenColor]; // 行高 - 如果使用协议方法设置行高, 此句无效 tableV.rowHeight = 200;
iOS
iOS-UI-传值-协议传值- 把第二页的传向第一页
由 YIem 撰写于
2016-01-22
浏览:4448 评论:0
第⼀步:声明协议第⼆步:声明代理⼈第三步:执⾏协议方法第四步:签订协议第五步:指定代理⼈第六步:实现协议方法
iOS
iOS-UI-导航视图控制器-UINavigationController-背景图片设置
由 YIem 撰写于
2016-01-20
浏览:4524 评论:0
// 背景图片 [navigation.navigationBar setBackgroundImage:[UIImage imageNamed:@"10425.jpg"] forBarMetrics:UIBarMetricsDefault]; ![ // 背景图片[navigation.navigationBar setBackg
iOS
iOS-UI-导航视图控制器-UINavigationController-部分属性
由 YIem 撰写于
2016-01-20
浏览:3893 评论:0
// 前景色 navigation.navigationBar.barTintColor = [UIColor cyanColor]; // 背景色// navigation.navigationBar.backgroundColor = [UIColor cyanColor];// 边框色 navigation.navigationBar.t
iOS
iOS-UI-UIPageControl 页码控制器
由 YIem 撰写于
2016-01-19
浏览:5377 评论:0
/********UIPageControl 页码********/ UIPageControl *pcr = [[UIPageControl alloc] initWithFrame:CGRectMake(100, 500, 200, 50)]; // 注意属性 // 注意, 如果不设置页码个数 控件不显示 pcr.numberOfPages = 10
iOS
iOS-UI-UISlide- 滑动条
由 YIem 撰写于
2016-01-19
浏览:6019 评论:0
UISlide 滑动条UISlider *slide = [[UISlider alloc] initWithFrame:CGRectMake(100, 400, 300, 10)];// 重要属性 // 最小值 slide.minimumValue = 0; // 最大值 slide.maximumValue = 10; // 设置进度位置 slide.v
iOS
iOS-UI-UISwith 开关
由 YIem 撰写于
2016-01-19
浏览:4722 评论:0
/****** UISwith 开关******/ // frame只有坐标生效, 大小无效由系统默认指定 UISwitch *swt = [[UISwitch alloc] initWithFrame:CGRectMake(100, 200, 0, 0)]; // 注意触发方式 [swt addTarget:self action:@selector(
iOS
iOS-UI-创建3个UISlider-分别设置划过区域的颜⾊分别为红,黄,蓝-通过控制三个slider改变self.view的背景颜⾊
由 YIem 撰写于
2016-01-19
浏览:4863 评论:0
iOS-UI-创建3个UISlider-分别设置划过区域的颜⾊分别为红,黄,蓝-通过控制三个slider改变self.view的背景颜⾊ #import "ViewController.h"@interface ViewController ()@property (nonatomic, retain) UISlider *red;@property (n
iOS
iOS-UI-UIKit框架-UIKit-事件手势
由 YIem 撰写于
2016-01-19
浏览:4855 评论:0
#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UILabel *label;@end@implementation ViewController(void)dealloc{ [_label release]; [
iOS
iOS-UI - 假夜间模式-VC 屏幕遮住
由 YIem 撰写于
2016-01-19
浏览:5315 评论:0
/******* 假夜间模式 *********/ // 开关 UISwitch *sw = [[UISwitch alloc] initWithFrame:CGRectMake(100, 200, 100, 100)]; [sw addTarget:self action:@selector(swAction:) forControlEvents:UICo
iOS
iOS-UI- SetViewController-抽屉效果
由 YIem 撰写于
2016-01-19
浏览:6140 评论:0
SetViewController *setVC = [[SetViewController alloc]init];// 注意坐标设置 setVC.view.frame = CGRectMake(-150, 0, 150, self.view.frame.size.height); [self addChildViewController:se
iOS
iOS-UI-UISegmentedControl-分段控制器
由 YIem 撰写于
2016-01-19
浏览:5339 评论:0
self.seg = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"界面1", @"界面2", @"界面3", nil]];self.seg.frame = CGRectMake(100, 100, 200, 30); // 起始选中状态 self.seg.sele
1
...
43
44
45
46
47
...
53
Yiem
心比天高,命比纸薄。
文章
1302
评论
165
分类
16
随机文章
万圣节,你准备好了 ...
2015-12-24-TavleVi ...
关于iOS应用程序中如 ...
垃圾金山系列之猎豹 ...
for 和while的特点
AlphaRacks Hosting ...
#年付12美元VPS-支持 ...
支持支付宝支付VPS, ...
【跑路】X4Servers芝 ...
Google 的 闲置 Goo ...
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 写的小说,《折叠苍...
Xcode Versio...
一段和 AI 的瞎扯的内...
最新评论
YIem
:
是的,需要发票的话还[...]
leeson
:
我也被坑了,前两年是[...]
YIem
:
安装完可以删除
绝对小白菜
:
下载好的Window[...]
啊鱼竿哦哦哦
:
哈哈哈
Links
帮助教程
HelpDocsHub
ipv6测试
个人博客
赵容部落
Typecho主题模版