<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Running_allTheTime的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Running_allTheTime</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Running_allTheTime]]></copyright><item><title><![CDATA[类的三大特性(封装，继承，多态)]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50996169</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50996169</guid><author>Running_allTheTime</author><pubDate>Mon, 28 Mar 2016 10:49:03 +0800</pubDate><description><![CDATA[本文非原创，转自:http://www.cocoachina.com/ios/20141211/10609.html

我们都知道，面向对象程序设计中的类有三大特性：继承，封装，多态，这个也是介绍类的时候，必须提到的话题，那么今天就来看一下OC中类的三大特性：

一、封装

封装就是对类中的一些字段，方法进行保护，不被外界所访问到，有一种权限的控制功能，Java中有四种访问权限修饰符：]]></description><category></category></item><item><title><![CDATA[iOS重写系统的返回按钮，捕获系统返回按钮事件]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50817467</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50817467</guid><author>Running_allTheTime</author><pubDate>Mon, 07 Mar 2016 10:31:55 +0800</pubDate><description><![CDATA[本文转发的。转的来源也是转载的，他没有标出出处。在这里，默默的感谢原创。如果原创看见，留言给我链接。我增加原创地址。谢谢

#import 

@protocol BackButtonHandlerProtocol 

@optional

// Override this method in UIViewController derived class to handle 'Ba]]></description><category></category></item><item><title><![CDATA[解决UITableView分割线距左边有距离的问题]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50817451</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50817451</guid><author>Running_allTheTime</author><pubDate>Mon, 07 Mar 2016 10:29:25 +0800</pubDate><description><![CDATA[本文转自：http://my.oschina.net/zhuzhu1223/blog/474529?fromerr=VQUNYpha  感谢原创作者
欢迎大家学习探讨

1. 解决UITableView分割线距左边有距离的问题

我们在使用tableview时会发现分割线的左边会短一些，通常可以使用setSeparatorInset:UIEdgeInsetsZero 来解决。但是升级到X]]></description><category></category></item><item><title><![CDATA[图片的动画]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50550062</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50550062</guid><author>Running_allTheTime</author><pubDate>Wed, 20 Jan 2016 17:50:36 +0800</pubDate><description><![CDATA[- (void)rightItemClick{

    

        [UIView
animateWithDuration:0.1
animations:^{

            self.rightItem.transform =
CGAffineTransformRotate(self.rightItem.transform,
M_1_PI * 
5);]]></description><category></category></item><item><title><![CDATA[旋转或者缩放]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50549755</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50549755</guid><author>Running_allTheTime</author><pubDate>Wed, 20 Jan 2016 17:16:37 +0800</pubDate><description><![CDATA[1：CGAffineTransform transform= CGAffineTransformMakeRotation(M_PI*0.38); 
view.transform = transform;


/*关于M_PI

#define M_PI     3.14159265358979323846264338327950288 

其实它就是圆周率的值，在这里代表弧度，相当]]></description><category></category></item><item><title><![CDATA[三人行必有我师]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50549719</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50549719</guid><author>Running_allTheTime</author><pubDate>Wed, 20 Jan 2016 17:07:56 +0800</pubDate><description><![CDATA[http://www.cnblogs.com/dsxniubility/default.html?page=3]]></description><category></category></item><item><title><![CDATA[xcode7 创建新工程，兼容http]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50544167</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50544167</guid><author>Running_allTheTime</author><pubDate>Tue, 19 Jan 2016 18:09:25 +0800</pubDate><description><![CDATA[info.plist 文件里边添加属性：App Transport Security Settings 字典类型，内含key：Allow Arbitrary Loads， boolean 类型，value为YES。这样就可以使用http请求了。否则不能网络请求]]></description><category></category></item><item><title><![CDATA[xcode7 创建新工程]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50543502</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50543502</guid><author>Running_allTheTime</author><pubDate>Tue, 19 Jan 2016 16:53:00 +0800</pubDate><description><![CDATA[最近用xcode7.1.1 新建了一个工程，工程里默认有 UISplitViewController 等类的创建。查看Main.storbBoard 发现，里边默认用的就是 SplitViewController 。但是这不是我想要的。我想自己写入口。
之前 是这样

- (BOOL)application:(UIApplication *)application didFinishLaun]]></description><category></category></item><item><title><![CDATA[长久的心结，记不住]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50481621</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50481621</guid><author>Running_allTheTime</author><pubDate>Fri, 08 Jan 2016 11:28:13 +0800</pubDate><description><![CDATA[button 设置字体颜色。总是不好用。玛德，气死哥哥了。这次专门为你写个博客，已嘲笑自己的智商
button setTitleColor: forState:


  UIButton *backButton = [[UIButton
alloc]initWithFrame:CGRectMake(0,
25, 50, 
30)];

    [backButton setTit]]></description><category></category></item><item><title><![CDATA[collectionView的注意事项]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50476656</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50476656</guid><author>Running_allTheTime</author><pubDate>Thu, 07 Jan 2016 15:30:05 +0800</pubDate><description><![CDATA[1：有headerView 和 footerView
做法：

- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath
 *)index]]></description><category></category></item><item><title><![CDATA[蒙层怎么弄]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50476634</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50476634</guid><author>Running_allTheTime</author><pubDate>Thu, 07 Jan 2016 15:26:34 +0800</pubDate><description><![CDATA[场景：下边一张图片，然后上边是50不透明图的蒙层，蒙层上边是一个label。
做法：使用xib。在xib基础view下，1：添加一个imageView，2：平行添加一个蒙层 3：平行添加一个label。
注意：注意1，2，3的顺序]]></description><category></category></item><item><title><![CDATA[pod 更新很慢]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50401356</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/50401356</guid><author>Running_allTheTime</author><pubDate>Fri, 25 Dec 2015 10:00:56 +0800</pubDate><description><![CDATA[实际开发过程中，执行 pod install 或者 pod update 会卡在 Analyzing dependencies 这里，不动了，新手会认为自己的问题。关闭终端，重新打开，终端进入自己的本地项目目录，然后重新尝试一下下边的命令。

pod install --verbose --no-repo-update

pod update --verbose --no-repo-upd]]></description><category></category></item><item><title><![CDATA[iOS tableview复用时候崩溃]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47750947</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47750947</guid><author>Running_allTheTime</author><pubDate>Tue, 18 Aug 2015 14:06:33 +0800</pubDate><description><![CDATA[tableView: cellForRowAtIndexPath:方法中有两个获得重用cell的方法

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];

和

UITableViewCell *cell = [tableView dequeueReusableCe]]></description><category></category></item><item><title><![CDATA[tableView  setSeparatorInset]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47293749</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47293749</guid><author>Running_allTheTime</author><pubDate>Wed, 05 Aug 2015 10:57:40 +0800</pubDate><description><![CDATA[-(void)viewDidLayoutSubviews
{
    if ([self.tableView respondsToSelector:@selector(setSeparatorInset:)]) {
        [self.tableView setSeparatorInset:UIEdgeInsetsMake(0,0,0,0)];
    }
    
    i]]></description><category></category></item><item><title><![CDATA[iOS 使用cocoapods遇见头文件找不到]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47292989</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47292989</guid><author>Running_allTheTime</author><pubDate>Wed, 05 Aug 2015 10:28:57 +0800</pubDate><description><![CDATA[iOS 使用cocoapods，将第三方库导入项目后，在VC里边 import 第三方库的头文件，但是提示头文件找不到。这就纳闷了。网上搜了很多，没有用。最后，发现第三方库会依赖一些iOS内部库，所以，你会发现项目左侧有些库 的字体是红色的，这时候需要手动导入。导入方法：Build phases ->Link binary with libraries 。导入需要的内部库就OK了]]></description><category></category></item><item><title><![CDATA[iOS 7中的extendedLayout]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47292957</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47292957</guid><author>Running_allTheTime</author><pubDate>Wed, 05 Aug 2015 10:24:07 +0800</pubDate><description><![CDATA[参考文章：

http://stackoverflow.com/questions/18798792/explaining-difference-between-automaticallyadjustsscrollviewinsets-extendedlayo

http://redth.codes/ios7-full-screen-layout/

 

iOS 7以后在View]]></description><category></category></item><item><title><![CDATA[cocoapod 使用中遇见的问题]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47257877</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/47257877</guid><author>Running_allTheTime</author><pubDate>Mon, 03 Aug 2015 16:15:41 +0800</pubDate><description><![CDATA[问题描述：
安装完成之后，在尝试执行 pod search afnetworking 命令的时候，出现：Setting up CocoaPods master repo  。  这时候，不知道啥意思，也不知道咋解决。想退出vim，但是会提示，说什么进程在执行中


解决方法：什么也别做了，等。多等会就好了]]></description><category></category></item><item><title><![CDATA[手把手教你ARC——ARC入门和使用]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/46684043</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/46684043</guid><author>Running_allTheTime</author><pubDate>Mon, 29 Jun 2015 16:54:35 +0800</pubDate><description><![CDATA[转自：http://my.oschina.net/simple2012/blog/92380


本文部分实例取自iOS 5 Toturail一书中关于ARC的教程和公开内容，仅用于技术交流和讨论。请不要将本文的部分或全部内容用于商用，谢谢合作。 

欢迎转载本文，但是转载请注明本文出处：http://www.onevcat.com/2012/06/arc-hand-by-hand/
]]></description><category></category></item><item><title><![CDATA[UIWindow & UIWindowLevel笔记]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/46682761</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/46682761</guid><author>Running_allTheTime</author><pubDate>Mon, 29 Jun 2015 15:16:27 +0800</pubDate><description><![CDATA[UIWindow & UIWindowLevel笔记

转自：http://www.cnblogs.com/smileEvday/archive/2012/03/27/2420362.html

一、UIWindow是一种特殊的UIView，通常在一个程序中只会有一个UIWindow，但可以手动创建多个UIWindow，同时加到程序里面。UIWindow在程序中主要起到三个作用：

　]]></description><category></category></item><item><title><![CDATA[【转】iOS 面试题]]></title><link>https://blog.youkuaiyun.com/Running_allTheTime/article/details/46637019</link><guid>https://blog.youkuaiyun.com/Running_allTheTime/article/details/46637019</guid><author>Running_allTheTime</author><pubDate>Thu, 25 Jun 2015 15:28:01 +0800</pubDate><description><![CDATA[1、堆和栈什么区别？

    答：管理方式：对于栈来讲，是由编译器自动管理，无需我们手工控制；对于堆来说，释放工作由程序员控制，容易产生memory
 leak。

    2、数组和链表什么区别？

    答：数组是将元素在内存中连续存放，由于每个元素占用内存相同，可以通过下标迅速访问数组中任何元素。

    链表恰好相反，链表中的元素在内存中不是顺序存储的，而是通过存在]]></description><category></category></item></channel></rss>