<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[TheForceCommander的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/TheForceCommander</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; TheForceCommander]]></copyright><item><title><![CDATA[使用autoLayout布局遇到的问题]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48929397</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48929397</guid><author>TheForceCommander</author><pubDate>Tue, 06 Oct 2015 08:51:45 +0800</pubDate><description><![CDATA[自动适配【“ | ”  表示它的父视图：这句话非常的重要，在图与图的嵌套中最能体现】   (a)       (b)在(b)中，我的目的是像（a）那样在白色框里放两排矩形红色小框 
但是(b)中的白色框，我以为白色框是父视图，所以开始就写成@[@“H:[viewX]-20-[view01(50)]-10-，以为   :[viewX]是父视图代码如下： （a）代码 （b）代码所以要正确的理解【“ |]]></description><category></category></item><item><title><![CDATA[iOS开发之理解iOS中的MVC设计模式]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48917835</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48917835</guid><author>TheForceCommander</author><pubDate>Mon, 05 Oct 2015 21:02:22 +0800</pubDate><description><![CDATA[本文转载柳志超博客http://liuzhichao.com/p/1379.html，建议大家看看这篇文章有助于我们理解MVC模型-视图-控制器（Model-View-Controller，MVC）是Xerox PARC在20世纪80年代为编程语言Smalltalk－80发明的一种软件设计模式，至今已广泛应用于用户交互应用程序中。在iOS开发中MVC的机制被使用的淋漓尽致，充分理解iOS的MVC模式]]></description><category></category></item><item><title><![CDATA[地理编码、反编码CLGeocoder、CLLocationManager入门级应用]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48894293</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48894293</guid><author>TheForceCommander</author><pubDate>Sun, 04 Oct 2015 09:02:07 +0800</pubDate><description><![CDATA[地理编码 与 反地理编码让你便于理解的效果图如下，这些控件相信大家都会敲这里就不多说了，主要看两种编码的代码#pragma mark——地理编码 控件——
    buttonCoding = [UIButton buttonWithType:UIButtonTypeCustom];
    buttonCoding.frame = CGRectMake(20, 50, 120, 30);]]></description><category></category></item><item><title><![CDATA[UITextField  中文输入法]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48879529</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48879529</guid><author>TheForceCommander</author><pubDate>Sat, 03 Oct 2015 17:52:42 +0800</pubDate><description><![CDATA[有很多朋友在UITextField中输入中文时不知道怎么设置，下面我六招让你搞定中文输入，看不懂英文，相信你可以看懂图标]]></description><category></category></item><item><title><![CDATA[定位服务 CLLocationManager 的简单用法]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48878431</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48878431</guid><author>TheForceCommander</author><pubDate>Sat, 03 Oct 2015 15:24:45 +0800</pubDate><description><![CDATA[定位服务 CLLocationManager 的简单用法一、在开始写这个博客之前(下面先介绍完再写代码)，我首先从“万物皆对象”的角度 和 用户的角度来 描述一下个人理解的面向对象编程思想，并且用它来写一下**定位服务**]]></description><category></category></item><item><title><![CDATA[GCD 多线程的简单应用]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48860707</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48860707</guid><author>TheForceCommander</author><pubDate>Fri, 02 Oct 2015 15:48:48 +0800</pubDate><description><![CDATA[1、进程就是运行的程序，程序是运行在内存中的，负责分配内存的
2、线程是负责程序中代码的实际运行的，一个进程至少有一个线程(主线程)
3、创建线程的目的就是为了开启一条新的执行路径，运行指定代码，与主线程中的代码实现同时运行将耗时的任务分配到其它线程执行
4、多线程技术是为了并发执行多项任务，不会提高单个算法本身的执行效率
5、队列不是线程，也不表示对应的cup，队列是负责调度的，谁空闲，]]></description><category></category></item><item><title><![CDATA[动力效果 UIGravityBehavior-  UICollisionBehavior- UIDynamicItemBehavior]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48848057</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48848057</guid><author>TheForceCommander</author><pubDate>Thu, 01 Oct 2015 20:13:20 +0800</pubDate><description><![CDATA[使用UIDynamic 步骤 1、创建一个动力效果器(UIDynamicAnimator) 2、创建动力效果(Behavior)添加到对应的视图上 3、将动力效果添加到动力效果器中，开始动力效果了上面的3个相当于，创建一个容器对象A，再创建另一个对象B，把B放入A中，再让B动起来，那么A看起来就有动力效果了//----自解释
UIDynamic提供的动力效果 UIGravityBehavior：]]></description><category></category></item><item><title><![CDATA[Block在UITableViewcell中的正向和反向传值]]></title><link>https://blog.youkuaiyun.com/TheForceCommander/article/details/48735099</link><guid>https://blog.youkuaiyun.com/TheForceCommander/article/details/48735099</guid><author>TheForceCommander</author><pubDate>Fri, 25 Sep 2015 17:08:27 +0800</pubDate><description><![CDATA[我们都习惯说 反向传值用Block，但是正向和反向都只是相对的

下面我 先 用一个自定义cell来给button“正向”传值，效果如下图(带颜色的是重点哦)
1、“正向”传值


















首先创建 UITableView
#pragma mark*******创建UITableView*******-(void)createT]]></description><category></category></item></channel></rss>