上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 最上级vc里面加 下级设置生效UIImage* image = [UIImage imageNamed:@"back_button.png"];[item setBackButtonBackgroundImage:[image resizableImageWithCapInsets:UIEdgeI... 阅读全文
posted @ 2015-09-19 18:06 frounk 阅读(177) 评论(0) 推荐(0)
摘要: if ([[dic allKeys] containsObject:key]) 阅读全文
posted @ 2015-09-19 12:58 frounk 阅读(1288) 评论(0) 推荐(0)
摘要: if (Label.text isEqual:[NSNull null]) 阅读全文
posted @ 2015-09-19 10:12 frounk 阅读(107) 评论(0) 推荐(0)
摘要: NSString *dictString = [dict JSONFragment];//组合成的。 dictString==={"content":"Sadgfdfg","phoneno":"","email":"1049055935@qq.com"}=== //... 阅读全文
posted @ 2015-09-12 10:09 frounk 阅读(8285) 评论(0) 推荐(0)
摘要: #import @interface UIColor (Hex) + (UIColor *)colorWithHex:(long)hexColor;+ (UIColor *)colorWithHex:(long)hexColor alpha:(float)opacity; @end#import ... 阅读全文
posted @ 2015-09-11 11:41 frounk 阅读(291) 评论(0) 推荐(0)
摘要: 控制 UINavigationController 导航条是否挡住下面的内容 if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) { self.edgesForExtendedLayout = UIRectEdgeNon... 阅读全文
posted @ 2015-09-07 14:39 frounk 阅读(286) 评论(0) 推荐(0)
摘要: 首先说明两种可以让键盘隐藏的Method:1、[viewendEditing:YES] 这个方法可以让整个view取消第一响应者,从而让所有控件的键盘隐藏。2、[textFiled resignFirstResponder] 这个则是比较常用的让某个textFiled的键盘隐藏。接下来就是几种实现方... 阅读全文
posted @ 2015-09-07 13:08 frounk 阅读(948) 评论(0) 推荐(0)
摘要: NSString *className = self.classNames[indexPath.section][indexPath.row]; BaseMapViewController *subViewController = [[NSClassFromString(className) a... 阅读全文
posted @ 2015-09-06 14:19 frounk 阅读(243) 评论(0) 推荐(0)
摘要: UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];pasteboard.string = self.label.text; 阅读全文
posted @ 2015-08-20 15:07 frounk 阅读(189) 评论(0) 推荐(0)
摘要: Git常用命令1、添加文件 git add xxx2、提交更新到本地 git commit -m 'local-repo'3、提交更新 git push master4、列出分支 git branch5、检索分支代码 git checkout xxx6、拉取分支更新 git pull x... 阅读全文
posted @ 2015-08-14 10:42 frounk 阅读(540) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页