06 2014 档案

摘要:注意导入头文件类方法的使用//文件名 UIColor+Expend.h 扩展方法.h@interface UIColor (Expend).m// UIColor+Expend.m #import "UIColor+Expend.h"#pragma mark - 颜色转换 IOS中十六进制的颜... 阅读全文
posted @ 2014-06-30 17:16 huluo666 阅读(154) 评论(0) 推荐(0)
摘要:iPhone代码片段收集iOS应用开发最佳实践:编写高质量的Objective-C代码 阅读全文
posted @ 2014-06-29 12:11 huluo666 阅读(112) 评论(0) 推荐(0)
摘要:iOS 调用短信、电话、邮件、浏览器等功能调用ios 调用系统发短信以及打电话功能iOS程序中调用系统自带应用(短信,邮件,浏览器,地图,appstore,拨打电话)ZYPopoverViewhttps://github.com/zyfrog/ZYPopoverView 阅读全文
posted @ 2014-06-27 15:24 huluo666 阅读(131) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2014-06-27 13:32 huluo666 阅读(0) 评论(0) 推荐(0)
摘要:iOS 使用Quartz 2D画虚线 阅读全文
posted @ 2014-06-26 23:26 huluo666 阅读(94) 评论(0) 推荐(0)
摘要:取消第一响应者————回收键盘UIImageView响应点击事件UIImageView响应点击事件给View添加点击事件 UIView *view = [[UIControl alloc]init]; view.backgroundColor = [UIColor redColor]; ... 阅读全文
posted @ 2014-06-26 12:19 huluo666 阅读(110) 评论(0) 推荐(0)
摘要:iOS学习之UIActionSheet的使用Download http://download.csdn.net/download/totogo2010/4343267IOS开发/iphone开发震动与播放声音Demohttp://blog.sina.com.cn/s/blog_68661bd8010... 阅读全文
posted @ 2014-06-22 23:19 huluo666 阅读(174) 评论(0) 推荐(0)
摘要:用xib自定义UITableViewCell的注意事项http://www.tuicool.com/articles/67bYrihttp://blog.waaile.com/ios-custom-uitableviewcell-with-xib/xib方式Cell重用 SearchCell *... 阅读全文
posted @ 2014-06-21 19:03 huluo666 阅读(171) 评论(0) 推荐(0)
摘要:新手教学>起步教学自定义UITableViewCellhttp://www.cocoachina.com/newbie/tutorial/2012/0612/4353.html 阅读全文
posted @ 2014-06-21 10:38 huluo666 阅读(170) 评论(0) 推荐(0)
摘要:iOS app支付宝接口调用的一点总结(补充支付宝SDK&Demo下载地址) 阅读全文
posted @ 2014-06-20 20:03 huluo666 阅读(193) 评论(0) 推荐(0)
摘要:tableview 滑动导致 NSTimer和delegate 回调停止 解决办法// request回调NSURLRequest*request=...NSURLConnection*connection=[[NSURLConnectionalloc] ... 阅读全文
posted @ 2014-06-20 19:52 huluo666 阅读(151) 评论(0) 推荐(0)
摘要:IOS用CGContextRef画各种图形(文字、圆、直线、弧线、矩形、扇形、椭圆、三角形、圆角矩形、贝塞尔曲线、图片) 阅读全文
posted @ 2014-06-20 19:45 huluo666 阅读(137) 评论(0) 推荐(0)
摘要://#define IOS7_OR_LATER ( [[[UIDevice currentDevice] systemVersion] compare:@"7.0"] != NSOrderedAscending )- (void)setFrame:(CGRect)frame { if (I... 阅读全文
posted @ 2014-06-20 19:26 huluo666 阅读(244) 评论(0) 推荐(0)
摘要:ios7的UITableView实现ios6的圆角效果iOS7 UITableView做成类似iOS6风格在iOS7的时候我们会发现cell的默认线条会向右偏移,使左边空出了一些位置,这时候我们可以调用如下的方法来解决。这样我们的cell就会和iOS6前的一样铺满整个宽度了。if ([tableVi... 阅读全文
posted @ 2014-06-20 00:17 huluo666 阅读(653) 评论(0) 推荐(0)
摘要:http://www.cocoachina.com/ask/questions/show/102285/%20%20ios7.0%20%20%20%20%20%20%20%E6%B1%BE%20%20%C3%B4%CA%B5%20%20%20%20%C7%B0%D4%B2%20%C7%B5%20%2... 阅读全文
posted @ 2014-06-19 23:55 huluo666 阅读(123) 评论(0) 推荐(0)
摘要:IOS window(窗口)、视图(view)的学习 阅读全文
posted @ 2014-06-18 17:11 huluo666 阅读(253) 评论(0) 推荐(0)
摘要://测试图片能否显示-(void)showMyimgview{ UIImageView *backgroundImg=[[UIImageView alloc]init]; backgroundImg.frame =CGRectMake(50, 200, 200, 100); b... 阅读全文
posted @ 2014-06-17 11:51 huluo666 阅读(463) 评论(0) 推荐(0)
摘要:[ios开发技巧之]UINavigationbar的背景修改方法集合http://blog.csdn.net/zeng11088/article/details/8981897http://www.coneboy.com/index.php?p=793.htmlhttp://blog.csdn.ne... 阅读全文
posted @ 2014-06-16 22:34 huluo666 阅读(151) 评论(0) 推荐(0)
摘要:使用CocoaPods管理依赖库: http://www.cocoachina.com/newbie/basic/2014/0107/7663.htmlCocoaPods 安装使用: http://zl4393753.iteye.com/blog/1838824CocoaPods安装和使用... 阅读全文
posted @ 2014-06-16 15:21 huluo666 阅读(105) 评论(0) 推荐(0)
摘要:http://tieba.baidu.com/p/1927389577 阅读全文
posted @ 2014-06-16 00:51 huluo666 阅读(134) 评论(0) 推荐(0)
摘要:iOS开发-url包含中文报错解决办法发布者:一只BT浮出来经常, 我们用通过这样的方法调用API。NSString* urlString = [NSString stringWithFormat:@"http://api.douban.com/v2/movie/search?q=%@", cont... 阅读全文
posted @ 2014-06-15 23:16 huluo666 阅读(353) 评论(0) 推荐(0)
摘要:UITabBarController 标签栏控制器-IOS开发 阅读全文
posted @ 2014-06-13 22:45 huluo666 阅读(96) 评论(0) 推荐(0)
摘要:解决iOS程序UI主线程和定时器相互阻塞的问题 阅读全文
posted @ 2014-06-12 22:47 huluo666 阅读(362) 评论(0) 推荐(0)
摘要:https://github.com/tonymillion/Reachability这个,是一个官方例子中抽取出来的。基本都是用这个的。有关网络传数据常规方案检查网络是否链接+(BOOL) isNetWorkReachable{ // define boolean value BOOL... 阅读全文
posted @ 2014-06-12 09:31 huluo666 阅读(343) 评论(0) 推荐(0)
摘要:MBProgressHUDhttps://github.com/jdg/MBProgressHUD 阅读全文
posted @ 2014-06-11 14:53 huluo666 阅读(95) 评论(0) 推荐(0)
摘要:UIAlertViewUIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"出错了"message:@"网络连接失败,请稍后重试"delegate:nil cancelButtonTitle:@"好的" otherButtonTitles... 阅读全文
posted @ 2014-06-09 11:07 huluo666 阅读(87) 评论(0) 推荐(0)
摘要:#pragma mark 网络请求-(void)httpNetworkData{ NSString *str =@"http://115.29.177.74:8800/loose_change/login?"; NSURL *url=[NSURL URLWithString:str]; ... 阅读全文
posted @ 2014-06-09 10:13 huluo666 阅读(280) 评论(0) 推荐(0)
摘要:http://ikrboy.iteye.com/blog/2003127 阅读全文
posted @ 2014-06-04 18:39 huluo666 阅读(137) 评论(0) 推荐(0)