关键字 IG 的文章


由   YIem   撰写于    浏览:5243  评论:0
iOS-数据库-ViewController.m 调用- 数据库附件(1)iOS-数据库-Student类-附件(2)iOS-数据库-数据库创建DataBaseHandle.h//// DataBaseHandle.h// UI17_数据库//// Created by YIem on 16/3/3.// Copyright © 2016年[...]

由   YIem   撰写于    浏览:5444  评论:0
iOS-数据库-ViewController.m 调用- 数据库附件(1)iOS-数据库-Student类-附件(2)

由   YIem   撰写于    浏览:5954  评论:0
iOS-数据库-ViewController.m 调用- 数据库附件(1)

由   YIem   撰写于    浏览:6455  评论:0

由   YIem   撰写于    浏览:6175  评论:0


由   YIem   撰写于    浏览:6075  评论:0

由   YIem   撰写于    浏览:4778  评论:0

由   YIem   撰写于    浏览:5622  评论:0

由   YIem   撰写于    浏览:4833  评论:0

由   YIem   撰写于    浏览:5114  评论:0

由   YIem   撰写于    浏览:5580  评论:0

由   YIem   撰写于    浏览:4663  评论:0

由   YIem   撰写于    浏览:5562  评论:0

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

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

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

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

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

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

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

由   YIem   撰写于    浏览:4970  评论:0
#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UILabel *label;@end@implementation ViewController(void)dealloc{ [_label release[...]

由   YIem   撰写于    浏览:5443  评论:0
/******* 假夜间模式 *********/ // 开关 UISwitch *sw = [[UISwitch alloc] initWithFrame:CGRectMake(100, 200, 100, 100)]; [sw addTarget:self action:@selector(swAction:) forControlEvents[...]

由   YIem   撰写于    浏览:6247  评论:0
SetViewController *setVC = [[SetViewController alloc]init];// 注意坐标设置 setVC.view.frame = CGRectMake(-150, 0, 150, self.view.frame.size.height); [self addChildViewControll[...]

由   YIem   撰写于    浏览:4644  评论:0
iOS-UI-Button按钮自定义图标-图片样式切换 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];button.frame = CGRectMake(100, 300, 200, 50); // 正常状态 [button setBackgroundImage[...]