会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杨大龙dalong
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
2016年3月15日
UITableView 禁止下拉
摘要: _tableView1.bounces = NO;
阅读全文
posted @ 2016-03-15 11:37 杨大龙dalong
阅读(592)
评论(0)
推荐(0)
2016年3月10日
判断字符串是否全部为空
摘要: - (BOOL) isBlankString:(NSString *)string { if (string == nil || string == NULL) { return YES; } if ([string isKindOfClass:[NSNull class]]) { return Y
阅读全文
posted @ 2016-03-10 10:11 杨大龙dalong
阅读(303)
评论(0)
推荐(0)
2016年2月18日
导航底部黑线去掉
摘要: UINavigationBar *navigationBar = self.navigationController.navigationBar; // white.png图片自己下载个纯白色的色块,或者自己ps做一个 [navigationBar setBackgroundImage:[UIIma
阅读全文
posted @ 2016-02-18 01:13 杨大龙dalong
阅读(174)
评论(0)
推荐(0)
2016年2月14日
时间转换
摘要: -(NSString*)time:(NSString*)num{ NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init]; [inputFormatter setLocale:[[NSLocale alloc] initWit
阅读全文
posted @ 2016-02-14 10:07 杨大龙dalong
阅读(127)
评论(0)
推荐(0)
2016年1月31日
UITextField 自定义
摘要: //控制清除按钮的位置 -(CGRect)clearButtonRectForBounds:(CGRect)bounds { return CGRectMake(bounds.origin.x + bounds.size.width - 50, bounds.origin.y + bounds.si
阅读全文
posted @ 2016-01-31 00:19 杨大龙dalong
阅读(155)
评论(0)
推荐(0)
2016年1月30日
UITabelViewcell 关于分割线设置以及点击cell时候的有选中状况不点立刻变成没有选中状态(全线显示,没有数据的cell进行隐藏)
摘要: // 设置Tab分隔线-(void)setLayoutMargins:(UITableView*)table{ if ([table respondsToSelector:@selector(setSeparatorInset:)]) { [table setSeparatorInset:UIEdg
阅读全文
posted @ 2016-01-30 23:12 杨大龙dalong
阅读(246)
评论(0)
推荐(0)
上一页
1
2
3
公告