
iOS专题
文章平均质量分 67
luying12345
图像与计算机视觉实践者,机器学习初探,iOS开发
展开
-
OC图片的异步加载
先来看一下用UIImage加载本地图片的常用方法:原创 2014-06-23 15:08:23 · 2045 阅读 · 0 评论 -
获取当前view所在页面的viewController
参考资料:http://stackoverflow.com/questions/20485585/get-current-view-controller-from-the-app-delegate-modal-is-possible原创 2014-10-18 18:06:13 · 1207 阅读 · 0 评论 -
利用Objective-C运行时hook函数的三种方法
yuan'wen'di'z方法一,hook已有公开头文件的类:首先写一个Utility函数:[cpp] view plaincopy#import inline void exchangeMethod(Class aClass, SEL oldSEL, SEL newSEL) { Method转载 2014-10-11 12:57:37 · 943 阅读 · 0 评论 -
[iOS] Get all UIView subviews with all property values
#import - (void)yourMethod{ UIView *parnetView = ...; [parentView.subviews makeObjectsPerformSelector:@selector(printAllProperties)];}@interface UIView (printAllProperties)- (void) prin转载 2014-10-27 11:27:56 · 1079 阅读 · 0 评论 -
Xcode5.1离线下载安装及使用iOS5模拟器进行开发调试的方法
原文地址:http://blog.youkuaiyun.com/forestml2008/article/details/21714259 Xcode5.1默认不支持iOS5版本的模拟器开发调试,在OS X Mavericks(10.9.x)下默认只能支持iOS6.1及以上版本的模拟器,在OS X Mountain Lion(10.8.x)下默认只能支持iOS6.0及以上版本转载 2014-08-21 11:03:24 · 840 阅读 · 0 评论 -
UILabel 文字自适应调整高度和宽度
以下内容为网络转载,具体地址忘记了。ti'aUILabel *label = [[UILabel alloc] initWithFrame: CGRectZero];//2.将UILabel设置为自动换行[label setNumberOfLines:0];//这里必须设置为0//3.具体要自适应处理的字符串实例NSString *s = @"string......"转载 2014-07-27 13:21:42 · 1033 阅读 · 0 评论 -
iOS8 新特性
苹果公司在WWDC 2014上发布了xu'd原创 2014-06-24 11:39:47 · 2472 阅读 · 0 评论 -
获得iPhone应用程序私有目录地址
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);NSString *docPath = [paths objectAtIndex:0];或者原创 2014-06-23 15:40:30 · 1055 阅读 · 0 评论 -
iOS学习资料整理[仅提供入口]
专栏博客:zixun.github.io(同事博客,有很详细的学习资料,推荐!)容志芳专栏可提问的社区:Code4Appstackoverflowcocoachina原创 2014-06-23 16:41:23 · 954 阅读 · 0 评论 -
Upgrading the delete confirmation button
本文转载自andy heydon个人博客ANDY HEYDONARCHIVES ABOUTUpgrading the delete confirmation buttonby AndyiOS has a nice pattern for deleting a row in a table, either tap a m转载 2015-01-05 23:48:59 · 1339 阅读 · 0 评论