会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
破水杯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2016年2月10日
git-个人IOS开发之代码管理
该文被密码保护。
阅读全文
posted @ 2016-02-10 22:57 破水杯
阅读(2)
评论(0)
推荐(0)
2016年1月9日
UITableViewCell左侧会有默认15像素的空白
摘要: ios7中,UITableViewCell左侧会有默认15像素的空白。设置setSeparatorInset:UIEdgeInsetsZero 能将空白去掉。ios8中,setSeparatorInset:UIEdgeInsetsZero 的设置已经不起作用了。下面是解决办法,首先在viewDidL...
阅读全文
posted @ 2016-01-09 11:43 破水杯
阅读(203)
评论(0)
推荐(0)
2015年12月22日
注册信息验证
该文被密码保护。
阅读全文
posted @ 2015-12-22 22:24 破水杯
阅读(1)
评论(0)
推荐(0)
正则表达式
摘要: 一、校验数字的表达式1 数字:^[0-9]*$2 n位的数字:^\d{n}$3 至少n位的数字:^\d{n,}$4 m-n位的数字:^\d{m,n}$5 零和非零开头的数字:^(0|[1-9][0-9]*)$6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})...
阅读全文
posted @ 2015-12-22 22:23 破水杯
阅读(158)
评论(0)
推荐(0)
2015年12月21日
加载第三方Cocoapod库时到项目时
摘要: Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`. You can try adding it manually in `~/.cocoapods/repos` or v...
阅读全文
posted @ 2015-12-21 15:53 破水杯
阅读(245)
评论(0)
推荐(0)
2015年11月22日
IOS seachbar 收回键盘
摘要: 1 //点击搜索 收回键盘2 3 -(void)searchBarSearchButtonClicked:(UISearchBar *)searchBar{4 5 6 7 [_searchBar resignFirstResponder];//放弃第一响应者对象,关闭...
阅读全文
posted @ 2015-11-22 06:16 破水杯
阅读(318)
评论(0)
推荐(0)
2015年11月21日
设置tableView 的Section的title问题
摘要: - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{ UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRe...
阅读全文
posted @ 2015-11-21 11:35 破水杯
阅读(2178)
评论(0)
推荐(0)
UISearchView
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 { 5 // 原始数据源 6 NSMutableArray *_arrayM; 7 // 搜素结果数据源 8 NSMutableArra...
阅读全文
posted @ 2015-11-21 10:34 破水杯
阅读(460)
评论(0)
推荐(0)
UICollectionView 头视图、 尾视图以及Cell自定制
摘要: #import "ViewController.h"#import "CustomCollectionViewCell.h"@interface ViewController (){ NSMutableArray *_arrayM;}@end@implementation ViewControll...
阅读全文
posted @ 2015-11-21 09:43 破水杯
阅读(638)
评论(0)
推荐(0)
UICollectionView
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // 1.瀑布流 ...
阅读全文
posted @ 2015-11-21 09:23 破水杯
阅读(156)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告