2016年1月


由   YIem   撰写于    浏览:2880  评论:0
长夜将至,我从今开始守望,至死方休。我将不娶妻,不封地,不生子。我将不戴宝冠,不争荣宠。我将尽忠职守,生死于斯。我是黑暗中的利剑,长城上的守卫,抵御寒冷的烈焰,破晓时分的光线,唤醒眠者的号角,守护王国的坚盾。我将生命与荣耀献给守夜人,今夜如此,夜夜皆然。

由   YIem   撰写于    浏览:2580  评论:0
熊市将至,我从今开始守望,至死方休。我将不杀跌,不斩仓,不割肉。我将不惧亏损,涨跌不惊。我将满仓套牢,生死于斯。我是站岗的哨兵,我是被屠戮的羔羊,我是火烧不尽的野草,我是割不完的韭菜。我是为国接盘的侠之大者,我是不留功与名的慈善家。我将生命与荣耀献给中国股市,今日如此,日日皆然。

由   YIem   撰写于    浏览:3120  评论:0
激动?开心? NO NO NO写代码吧,骚年!C语言试题.pages.pdfOC.pages.pdf

由   YIem   撰写于    浏览:3268  评论:0
**iOS-UI-UIButton 切圆-切弧度-边角弧度self.regButton.layer.cornerRadius = 10;**

由   YIem   撰写于    浏览:3593  评论:0
iOS-UI-UITabBarControllerDelegate-标签视图控制器@interface AppDelegate ()<UITabBarControllerDelegate> @end@implementation AppDelegate(void)dealloc{[_window release]; [super dea[...]

由   YIem   撰写于    浏览:2812  评论:0
快乐的时候听听轻音乐,悲伤的时候听听轻音乐, 最懂我的还是轻音乐!

由   YIem   撰写于    浏览:3096  评论:0
iOS-UI-UITableViewCell 的自定义-自适应高度RootVC.m

由   YIem   撰写于    浏览:4678  评论:0
[上部分 链接======][1]上部分链接-同上方链接TableView里面 1 2 3 一样#warning 移动 3 - 设置是否允许移动(BOOL)tableView:(UITableView )tableView canMoveRowAtIndexPath:(NSIndexPath )indexPath{return YES;}warni[...]

由   YIem   撰写于    浏览:2930  评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDiction[...]

由   YIem   撰写于    浏览:3058  评论:0
tableView整体刷新 重新执行所有协议方法 [_tableView reloadData]; 单行刷新// 参数1: 需要刷新的下标 // 参数2: 刷新动画 [_tableView reloadRowsAtIndexPaths:@[_index] withRowAnimation:UITableViewRowAnimationRight];

由   YIem   撰写于    浏览:3393  评论:0
// 辅助视图// cell.accessoryType = UITableViewCellAccessoryDetailButton;// 感叹号 // cell.accessoryType = UITableViewCellAccessoryCheckmark;// 对号 // cell.accessoryType = UITableV[...]

由   YIem   撰写于    浏览:2832  评论:0
// tableView结构 // tableHeaderView + tableView + tableFooterView // tableView -> section + row // section -> header + row + footer

由   YIem   撰写于    浏览:2878  评论:0
// tableView的头部脚部区域 // 头 (只有高度起作用) UIView *header = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)]; header.backgroundColor = [UIColor redColor]; tableView.tableH[...]

由   YIem   撰写于    浏览:3492  评论:0
// 设置 // indePath 定位信息 包含section和row cell.textLabel.text = [NSString stringWithFormat:@"s: %ld, r: %ld", indexPath.section, indexPath.row];

由   YIem   撰写于    浏览:2567  评论:0
// tableView点击方法(void)tableView:(UITableView )tableView didSelectRowAtIndexPath:(NSIndexPath )indexPath{NSLog(@"点击"); // 取消选中效果 [tableView deselectRowAtIndexPath:ind[...]

由   YIem   撰写于    浏览:3502  评论:0
// tableView右部索引栏(NSArray )sectionIndexTitlesForTableView:(UITableView )tableView{return @[@"a", @"1", @"啦"];}

由   YIem   撰写于    浏览:3192  评论:0
// 高度控制// 行高(CGFloat)tableView:(UITableView )tableView heightForRowAtIndexPath:(NSIndexPath )indexPath{return 100;}// 头部高度(CGFloat)tableView:(UITableView *)tableView heightFor[...]

由   YIem   撰写于    浏览:2918  评论:0
// 自定义头部区域(UIView )tableView:(UITableView )tableView viewForHeaderInSection:(NSInteger)section{UIView *header = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];he[...]

由   YIem   撰写于    浏览:2912  评论:0
// 分区头名称(NSString )tableView:(UITableView )tableView titleForHeaderInSection:(NSInteger)section{return @"头头头";}// 分区脚部名称(NSString )tableView:(UITableView )tableView titleForFo[...]

由   YIem   撰写于    浏览:3205  评论:0
// 分割线样式tableV.separatorStyle = UITableViewCellSeparatorStyleSingleLine; // 分割线颜色 tableV.separatorColor = [UIColor greenColor]; // 行高 - 如果使用协议方法设置行高, 此句无效 tableV.rowHeight = 200;

由   YIem   撰写于    浏览:3217  评论:0
第⼀步:声明协议第⼆步:声明代理⼈第三步:执⾏协议方法第四步:签订协议第五步:指定代理⼈第六步:实现协议方法

由   YIem   撰写于    浏览:3128  评论:0
// 背景图片 [navigation.navigationBar setBackgroundImage:[UIImage imageNamed:@"10425.jpg"] forBarMetrics:UIBarMetricsDefault]; ![ // 背景图片[navigation.navigationBar set[...]

由   YIem   撰写于    浏览:2593  评论:0
// 前景色 navigation.navigationBar.barTintColor = [UIColor cyanColor]; // 背景色// navigation.navigationBar.backgroundColor = [UIColor cyanColor];// 边框色 navigation.navigation[...]

由   YIem   撰写于    浏览:3898  评论:0
/********UIPageControl 页码********/ UIPageControl *pcr = [[UIPageControl alloc] initWithFrame:CGRectMake(100, 500, 200, 50)]; // 注意属性 // 注意, 如果不设置页码个数 控件不显示 pcr.numberOfPages[...]

由   YIem   撰写于    浏览:4466  评论:0
UISlide 滑动条UISlider *slide = [[UISlider alloc] initWithFrame:CGRectMake(100, 400, 300, 10)];// 重要属性 // 最小值 slide.minimumValue = 0; // 最大值 slide.maximumValue = 10; // 设置进度位置 sl[...]