会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
笨的很想飞
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2015年10月25日
SCNavTabBarController
摘要: 下载地址:https://github.com/shicang1990/SCNavTabBarController
阅读全文
posted @ 2015-10-25 23:16 BN笨的很想飞
阅读(436)
评论(0)
推荐(0)
编辑
UILabel边框效果
摘要: _match.textColor = [UIColor redColor]; _match.layer.borderColor = [[UIColor redColor] CGColor]; _match.layer.borderWidth = 1.0; _match.lay...
阅读全文
posted @ 2015-10-25 21:57 BN笨的很想飞
阅读(544)
评论(0)
推荐(0)
编辑
2015年10月23日
ios:开始判断星期几
摘要: ios:开始判断星期几 传入:NSDate *data = [NSDate date];- (NSString*)weekdayStringFromDate:(NSDate*)inputDate { NSArray *weekdays = [NSArray arrayWithObjects: [...
阅读全文
posted @ 2015-10-23 21:38 BN笨的很想飞
阅读(421)
评论(0)
推荐(0)
编辑
2015年9月9日
git 出现 The requested URL returned error: 403
摘要: github push错误fatal: unable to access 'https://github.com/xuzhenguo/authorize.git/': The requested URL returned error: 403解决方法:vim .git/config修改前[remot...
阅读全文
posted @ 2015-09-09 22:19 BN笨的很想飞
阅读(21808)
评论(1)
推荐(1)
编辑
封装的一个可以传入URL参数字典返回完整版URL
摘要: help.h//通过这个方法可以获取倒授权登陆的完整的拼接好的接口+(NSURL*)getAuthorizeURL;help.m+(NSURL *)getAuthorizeURL{// 一个字典 Key value// 基本URL //SINA_APP_KEY 为URL公共部分 NSDicti...
阅读全文
posted @ 2015-09-09 20:07 BN笨的很想飞
阅读(947)
评论(0)
推荐(0)
编辑
UIImagePickerController
摘要: //从相册里面选择照片-(void)selectPhoto{// 1.创建UIImagePickerController UIImagePickerController *pickerVc = [[UIImagePickerController alloc]init];// 2.设置从相册选择...
阅读全文
posted @ 2015-09-09 19:33 BN笨的很想飞
阅读(141)
评论(0)
推荐(0)
编辑
2015年9月7日
如何创建完整版单例
摘要: 1.声明单例对象在.h文件+(SingleCase *)sharedSingleCase; 2.实现单例在.m文件SingleCase * singleCase = nil;+(SingleCase *)sharedSingleCase{ static dispatch_once_t onceT...
阅读全文
posted @ 2015-09-07 16:41 BN笨的很想飞
阅读(171)
评论(0)
推荐(0)
编辑
2015年9月6日
取消cell点击色
摘要: 方法一:在表格视图服用时使用: UIView *backView = [[UIView alloc] initWithFrame:cell.frame]; cell.selectedBackgroundView = backView; cell.selected...
阅读全文
posted @ 2015-09-06 17:43 BN笨的很想飞
阅读(201)
评论(0)
推荐(0)
编辑
去掉UItableview headerview黏性
摘要: //去掉UItableview headerview黏性(sticky)- (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGFloat sectionHeaderHeight = 250; //section的高度 if (scr...
阅读全文
posted @ 2015-09-06 10:15 BN笨的很想飞
阅读(181)
评论(0)
推荐(0)
编辑
2015年9月5日
UIScrollView 的滚动和点击冲突解决
摘要: [view addSubView: scrollView];scrollView.userInteractionEnabled = NO;[view addGestureRecognizer: scrollView.panGestureRecognizer];
阅读全文
posted @ 2015-09-05 22:01 BN笨的很想飞
阅读(423)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
下一页
公告