<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[luying12345]]></title><description><![CDATA[学无止境]]></description><link>https://blog.youkuaiyun.com/luying12345</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; luying12345]]></copyright><item><title><![CDATA[Upgrading the delete confirmation button]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/42440613</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/42440613</guid><author>luying12345</author><pubDate>Mon, 05 Jan 2015 23:48:59 +0800</pubDate><description><![CDATA[本文转载自andy heydon个人博客



ANDY HEYDON


ARCHIVES 
ABOUT






Upgrading the delete confirmation button

by Andy

iOS
 has a nice pattern for deleting a row in a table, either tap a m]]></description><category></category></item><item><title><![CDATA[[iOS] Get all UIView subviews with all property values]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/40505139</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/40505139</guid><author>luying12345</author><pubDate>Mon, 27 Oct 2014 11:27:56 +0800</pubDate><description><![CDATA[#import 

- (void)yourMethod{
    UIView *parnetView = ...;

    [parentView.subviews makeObjectsPerformSelector:@selector(printAllProperties)];
}

@interface UIView (printAllProperties)
- (void) prin]]></description><category></category></item><item><title><![CDATA[获取当前view所在页面的viewController]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/40213247</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/40213247</guid><author>luying12345</author><pubDate>Sat, 18 Oct 2014 18:06:13 +0800</pubDate><description><![CDATA[参考资料：
http://stackoverflow.com/questions/20485585/get-current-view-controller-from-the-app-delegate-modal-is-possible]]></description><category></category></item><item><title><![CDATA[利用Objective-C运行时hook函数的三种方法]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/39992463</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/39992463</guid><author>luying12345</author><pubDate>Sat, 11 Oct 2014 12:57:37 +0800</pubDate><description><![CDATA[yuan'wen'di'z




方法一，hook已有公开头文件的类：

首先写一个Utility函数：



[cpp] view
 plaincopy






#import   
inline void exchangeMethod(Class aClass, SEL oldSEL, SEL newSEL)  
{  
    Method ]]></description><category></category></item><item><title><![CDATA[Xcode5.1离线下载安装及使用iOS5模拟器进行开发调试的方法]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/38727029</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/38727029</guid><author>luying12345</author><pubDate>Thu, 21 Aug 2014 11:03:24 +0800</pubDate><description><![CDATA[原文地址：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及以上版本]]></description><category></category></item><item><title><![CDATA[UILabel 文字自适应调整高度和宽度]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/38170621</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/38170621</guid><author>luying12345</author><pubDate>Sun, 27 Jul 2014 13:21:42 +0800</pubDate><description><![CDATA[以下内容为网络转载，具体地址忘记了。
ti'a
UILabel *label = [[UILabel alloc] initWithFrame: CGRectZero];
//2.将UILabel设置为自动换行
[label setNumberOfLines:0];//这里必须设置为0

//3.具体要自适应处理的字符串实例
NSString *s = @"string......"]]></description><category></category></item><item><title><![CDATA[iOS8 新特性]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/34083639</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/34083639</guid><author>luying12345</author><pubDate>Tue, 24 Jun 2014 11:39:47 +0800</pubDate><description><![CDATA[苹果公司在WWDC 2014上发布了xu'd]]></description><category></category></item><item><title><![CDATA[iOS学习资料整理[仅提供入口]]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33739697</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33739697</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 16:41:23 +0800</pubDate><description><![CDATA[专栏博客：
zixun.github.io（同事博客，有很详细的学习资料，推荐！）
容志芳专栏


可提问的社区：
Code4App
stackoverflow
cocoachina]]></description><category></category></item><item><title><![CDATA[接口测试学习（一）]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33738949</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33738949</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 16:25:35 +0800</pubDate><description><![CDATA[因为培训被分到做接口测试，就da'zhi]]></description><category></category></item><item><title><![CDATA[Git的使用]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33737397</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33737397</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 15:49:02 +0800</pubDate><description><![CDATA[写在前面：有部分同学没有使用过Git，刚开始会有点问题，希望此文会有帮助。如需更多了解，请点击本文最后的git pro链接。

了解Git

简单来说，就是一款高效的分布式版本控制/软件控制管理软件。

Git的常用指令

基本命令：

git init — 创建个人版本库
git clone — 拷贝远程库
git submodule init&update — 子模块初]]></description><category></category></item><item><title><![CDATA[获得iPhone应用程序私有目录地址]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33736743</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33736743</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 15:40:30 +0800</pubDate><description><![CDATA[NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *docPath = [paths objectAtIndex:0];
或者]]></description><category></category></item><item><title><![CDATA[markdown的简单使用]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33734683</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33734683</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 15:31:02 +0800</pubDate><description><![CDATA[markdown是一种编辑模式，类似html(发布模式)，主要目的是为了简单易懂好写。


# 可以代表标题，几个#代表几级标题
> 区域引言，可以实现断行
可以用1.2.3等要表示清单
***** 用三个或以上的星号减号底线等可以建立分隔线
以下为三种连接方式：


[foo]: http://example.com/  "Optional Title Here"
[foo]]]></description><category></category></item><item><title><![CDATA[OC图片的异步加载]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33731971</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33731971</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 15:08:23 +0800</pubDate><description><![CDATA[先来看一下用UIImage加载本地图片的常用方法：]]></description><category></category></item><item><title><![CDATA[Xcode 快捷键使用]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33719701</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33719701</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 10:37:05 +0800</pubDate><description><![CDATA[command[ 和 command] 可以实现代码的左右移位
command 移动到行首or行尾
command/ 注释代码
command\ 加断点
command y 调试程序
command option P 调试中继续
command option O 调试中跳过
command option I 调试中进入
command option T 调试中跳出
command]]></description><category></category></item><item><title><![CDATA[Mac 键盘用法]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/33717821</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/33717821</guid><author>luying12345</author><pubDate>Mon, 23 Jun 2014 10:32:58 +0800</pubDate><description><![CDATA[Mac 键盘zh
command+F3 显示桌面
command+shift+I 打开实用工具－终端－可进行命令行输入e.g 在某个目录下输入  du -sh 可以得到当前目录大小
safari command+I  将当前页以邮件附近形式发送
ctrl+space 快速检索文件Spotlight
option＋a~z 可以出现各种阿拉伯文等特殊字符]]></description><category></category></item><item><title><![CDATA[软件开发职位面试题汇总]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/12874901</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/12874901</guid><author>luying12345</author><pubDate>Sat, 19 Oct 2013 21:03:26 +0800</pubDate><description><![CDATA[10.20 网易有道面试


10.19 去哪儿面试
1. struct和class的成员函数调用1000次后有什么执行效率方面的差异？
2.给两个int型数组A和B，长度都为n，编程实现A*B = a1*b1+a2*b2+...+an*bn。考虑执行效率。


10.18 华为面试
给一个数组A，长度为n，给定int k，使得数组循环右移k位。写出能想到的所有方法，就自己认为最]]></description><category></category></item><item><title><![CDATA[图像处理算法工程师职位面试题汇总]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/12773247</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/12773247</guid><author>luying12345</author><pubDate>Wed, 16 Oct 2013 10:04:43 +0800</pubDate><description><![CDATA[最近面试了几个图像的职位，汇总一下面试题。


图像基础知识：
1. 常用的图像空间。
2. 简述你熟悉的聚类算法并说明其优缺点。
3. 请描述以下任一概念：SIFT/SURF  LDA/PCA
4. 请说出使用过的分类器和实现原理。
5. Random Forest的随机性表现在哪里。
6. Graph-cut的基本原理和应用。
7. GMM的基本原理和应用。
8. 用具体]]></description><category></category></item><item><title><![CDATA[2014去哪儿网校园招聘笔试(10.13北京)]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/12683043</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/12683043</guid><author>luying12345</author><pubDate>Sun, 13 Oct 2013 19:27:44 +0800</pubDate><description><![CDATA[三道大题+两题TestCase
编程题
Q1：实现一个字符串反转，规则如下：
输入一个字符串str，一个分隔符delim，要求实现对分隔符之间的字符串做反转操作，但是其内部顺序不变。
接口： stringreverseDelimited(string str, const char delim)
举例：
reverseDelimited(NULL, *) = NULL
reverse]]></description><category></category></item><item><title><![CDATA[2014小米校园招聘笔试(10.13北京)]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/12680711</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/12680711</guid><author>luying12345</author><pubDate>Sun, 13 Oct 2013 16:42:14 +0800</pubDate><description><![CDATA[小米的校招笔试，2小时三道编程题。


Q1：给出一个int数组，通过变换使得左边全为奇数右边全为偶数。
思路：常见题，递归实现。双指针从头尾分边对数组进行扫描，对于“左偶右奇”的情况，交换两数同时指针向中间移动一位。循环上述过程直到指针重合。


Q2：给出一颗有序二叉树，将它转换为有序的双向链表输出。
有序二叉树形如：
          10
          /  \]]></description><category></category></item><item><title><![CDATA[2014华为校园招聘机考(10.12北京)]]></title><link>https://blog.youkuaiyun.com/luying12345/article/details/12680273</link><guid>https://blog.youkuaiyun.com/luying12345/article/details/12680273</guid><author>luying12345</author><pubDate>Sun, 13 Oct 2013 16:22:06 +0800</pubDate><description><![CDATA[华为机考OJ三道大题，总体不难，可是系统不熟悉，自己机子上能跑的，提交以后却总有点编译问题。
Q1：回文数字猜想
给出一个数字N，如68，定义它的逆数为86，那么经过68+86=154，154+451=605，605+506=1111这样几次操作后，可以得到回文数字1111。现在需要判断经过7次操作是否可以得到回文，如果能，输出回文，如果不能输出0。
思路：拆分各个位数并逆序相加，对和数判断]]></description><category></category></item></channel></rss>