会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
破水杯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2015年11月19日
UITableViewCell自定义高度
摘要: 第一步 在ViewController里,需要有数据,即就是数组,第二步 创建一个UITableViewCell .h文件中定义两个属性 分别是 一个字符串(用来赋值在TableViewcell 的Label 的Text),一个浮点数记录TableViewcell的高 .m文件中 定义一个全局变...
阅读全文
posted @ 2015-11-19 19:16 破水杯
阅读(321)
评论(0)
推荐(0)
2015年11月18日
登录注册页面的
摘要: //第一页#import "ViewController.h"#import "LoginAndRegisterViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDid...
阅读全文
posted @ 2015-11-18 13:37 破水杯
阅读(255)
评论(0)
推荐(0)
监听键盘- KeyBoard
摘要: - (void)KeyBoardShowOrHide{ // NSNotificationCenter 通知中心 // 检测键盘将要消失的状态 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(h...
阅读全文
posted @ 2015-11-18 13:22 破水杯
阅读(321)
评论(0)
推荐(0)
UITableViewDelete 删除
摘要: #import "ViewController.h"#import "FWZViewController.h"@interface ViewController (){ NSMutableArray *_arrayM; UITableView *_tableView;}@end@implemen...
阅读全文
posted @ 2015-11-18 11:02 破水杯
阅读(189)
评论(0)
推荐(0)
UITabView 添加
摘要: #import "ViewController.h"@interface ViewController (){ UITableView *_tableView; NSMutableArray *_arrayM;}@end@implementation ViewController- (void)...
阅读全文
posted @ 2015-11-18 10:54 破水杯
阅读(287)
评论(0)
推荐(0)
navigationbar背景图 设置左右按钮
摘要: // 设置控制器的title self.title = @"O(∩_∩)O哈哈~"; // 设置navigationbar 的样式 // self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;...
阅读全文
posted @ 2015-11-18 09:55 破水杯
阅读(248)
评论(0)
推荐(0)
Navigation1 PUSH & POP
摘要: //1.进入第一 push- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ FirstViewController *firstVC = [[FirstViewController alloc] init]; [s...
阅读全文
posted @ 2015-11-18 09:54 破水杯
阅读(186)
评论(0)
推荐(0)
母传键老师课堂笔记 -----ViewController的生命周期
摘要: //1.手势,viewcontroller 进入下一页- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ MCJViewController *mcjVC = [[MCJViewController alloc] in...
阅读全文
posted @ 2015-11-18 09:46 破水杯
阅读(164)
评论(0)
推荐(0)
2015年11月17日
可折叠tableView - 仿照通讯录
摘要: 我的xcode 是 IOS9.0 Xcode.7.0版本符合,可复制黏贴直接用#import "ViewController.h"1.定义成员变量 遵循代理@interface ViewController (){ NSMutableArray *_switchArray; NSMutabl...
阅读全文
posted @ 2015-11-17 17:40 破水杯
阅读(215)
评论(0)
推荐(0)
2015年11月15日
登录注册界面的传值
摘要: 1.注册页面写代理.h文件里的内容如下,需要注意的是: (1).代理名为红色标注,直接复制粘贴 (2).一定要写黄色区域@class RegisterViewController;@protocol RegisterViewControllerDelegate @optional- (void)...
阅读全文
posted @ 2015-11-15 15:51 破水杯
阅读(500)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告