<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[csdn_hhg的博客]]></title><description><![CDATA[review ， recode]]></description><link>https://blog.youkuaiyun.com/csdn_hhg</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; csdn_hhg]]></copyright><item><title><![CDATA[【CGAffineTransform】的理解]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/129277585</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/129277585</guid><author>csdn_hhg</author><pubDate>Wed, 01 Mar 2023 11:23:34 +0800</pubDate><description><![CDATA[CGAffineTransform 提供了一种方便的方式来对视图进行变换，使得开发者可以轻松地创建出复杂的视觉效果。]]></description><category></category></item><item><title><![CDATA[iOS--错误集锦--Property follows Cocoa naming convention for returning ‘owned‘ objects]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/109154585</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/109154585</guid><author>csdn_hhg</author><pubDate>Mon, 19 Oct 2020 09:35:35 +0800</pubDate><description><![CDATA[Property follows Cocoa naming convention for returning ‘owned’ objects。
@property (strong, nonatomic) UILabel *newNameLabel;
You can slove this by:
@property (strong, nonatomic) UILabel *theNewNameLabel;

or
@property (strong, nonatomic, getter = theNewNam]]></description><category></category></item><item><title><![CDATA[关于图象显示原理的理解（The Understanding of the principle of image display）]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/108012089</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/108012089</guid><author>csdn_hhg</author><pubDate>Fri, 14 Aug 2020 20:10:12 +0800</pubDate><description><![CDATA[对于图象显示原理的理解，理解后有助于理解UI卡顿和掉帧的情况。
(The understanding of the principle of image display ,that is helpful to understand the situation of UI jamming and frame dropping)
简单来说，CPU和GPU通过总线连接起来的。
(In short, CPU and GGP are connect by bus. )
CPU对数据进行处理，处理成位图之后，再通过总线]]></description><category></category></item><item><title><![CDATA[C++ 的虚函数]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/107828097</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/107828097</guid><author>csdn_hhg</author><pubDate>Wed, 05 Aug 2020 23:55:30 +0800</pubDate><description><![CDATA[概念：
在某基类中声明为 virtual 并在一个或多个派生类中被重新定义的成员函数，主要用来实现多态性，通过指向派生类的基类指针或引用，访问派生类中同名覆盖成员函数。虚函数百度百科
作用：允许用基类的指针来调用子类的这个函数。
引用自知乎的C++虚函数有什么用
例子：

定义两个类，A为动物类，B为猫类（继承A）
实现eat方法
调用

class Animal {
public:
	void eat() {
		std::cout &lt;&lt; "I'm eating generic food.";]]></description><category></category></item><item><title><![CDATA[About cocoapods "xxx .h" file not found]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/105876825</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/105876825</guid><author>csdn_hhg</author><pubDate>Fri, 01 May 2020 13:13:06 +0800</pubDate><description><![CDATA[When you finish the ‘pod install’ operation, an exception will be reported . you can try the following:

open the project in Xcode.
selected ‘Product - clean’ in Xcode navigation bar
press the option ...]]></description><category></category></item><item><title><![CDATA[《编写可读代码的艺术》笔记]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/89916310</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/89916310</guid><author>csdn_hhg</author><pubDate>Tue, 07 May 2019 10:42:39 +0800</pubDate><description><![CDATA[概述：
编写程序，如何让程序持续可维护是一项难题。通过对代码的可读性优化，可以让程序变得相对容易维护一些。因此，我们有必要研究研究代码的可读性。《编写可读代码的艺术》这本书读起来感觉不错。花了大半天的时间通读了一遍，随手做了些笔记，当做学习的一部分。有兴趣读的朋友可以在文末免费获取该书的电子档。

以下为通读笔记：

总的来说，目标只有一个—让代码变得易于理解（可读性基本定理）基于此扩展出其他详...]]></description><category></category></item><item><title><![CDATA[iOS--OC字符串与C字符串区别]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/89881482</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/89881482</guid><author>csdn_hhg</author><pubDate>Mon, 06 May 2019 14:09:04 +0800</pubDate><description><![CDATA[OC字符串的写法是
@“this is a Objective-C string .”

在字符串前面带有@符号。 关于为什么要带这个符号，以及有什么内在含义。可能了解的人并不是很多。Objective-C 是基于C语言基础上的一种面向对象语言。对于字符串的处理也不同于C，为了区别这种新型的字符串，Objective-C语言使用了“@”符号作为区分。相比于C语言，Objective-C	使用了Un...]]></description><category></category></item><item><title><![CDATA[iOS--APP启动优化（笔记）]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/89846576</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/89846576</guid><author>csdn_hhg</author><pubDate>Sun, 05 May 2019 16:39:04 +0800</pubDate><description><![CDATA[内容概要：

APP启动过程的内容
APP冷启动过程的优化【功能级别优化、方法级别优化】
总结


APP启动过程的内容

app的启动分为冷启动和热启动。所谓的冷启动，就是一次完整的启动，即从系统分配一个进程给APP到APP启动的到首屏的一个过程；热启动，就是指在APP使用过程中，用户返回到桌面之后，从桌面再返回回来APP的一次启动，即中途启动的一个过程。
冷启动：完整的一次启动
热启动：使用...]]></description><category></category></item><item><title><![CDATA[UITaleview - 关于执行顺序引发的探讨]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/88366888</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/88366888</guid><author>csdn_hhg</author><pubDate>Sat, 09 Mar 2019 16:19:36 +0800</pubDate><description><![CDATA[UITableview优化这块，如果有心力的话是可以有很多东西去做处理的。本文目前仅就作为笔记，探讨一个方面。写这篇的文章来源于看到一篇博客，它里面先写了Tableview的两个主要协议，再通过两个协议执行方法去分析优化的方面。
上链接详细整理：UITableView优化技巧
它就Tableview的两个主要协议谈到了几点：

知道UITableViewCell的重用原理后，我们来看看UITabl...]]></description><category></category></item><item><title><![CDATA[设计模式--命令]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/87856663</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/87856663</guid><author>csdn_hhg</author><pubDate>Thu, 21 Feb 2019 17:02:45 +0800</pubDate><description><![CDATA[引用借鉴来源：
理解设计模式之----命令模式
iOS设计模式 - 命令模式
设计模式分类
个人理解–代理模式和命令模式区别
代理模式和命令模式的区别

]]></description><category></category></item><item><title><![CDATA[Treating Unicode character as whitespace]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/82964054</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/82964054</guid><author>csdn_hhg</author><pubDate>Mon, 08 Oct 2018 10:00:47 +0800</pubDate><description><![CDATA[Treating Unicode character as whitespace
在我们 copy 一些文本到 Xcode 里面的时候会有 Treating Unicode character as whitespace 的警告，此时认真检查你 copy 的文本部分，回车、空格是否有问题。当然一般检查不出来，直接删除回车和空格的部分，自己重新输入即可。
转： 原链接地址

...]]></description><category></category></item><item><title><![CDATA[The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targ]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/82493996</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/82493996</guid><author>csdn_hhg</author><pubDate>Fri, 07 Sep 2018 11:30:24 +0800</pubDate><description><![CDATA[The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.]]></description><category></category></item><item><title><![CDATA[极光推送编译遇到you still need to add "remote-notification" to the list of your supported UIBackgroundModes]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/81872170</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/81872170</guid><author>csdn_hhg</author><pubDate>Mon, 20 Aug 2018 15:37:48 +0800</pubDate><description><![CDATA[解决办法如图capablilties-&amp;gt;background modes-&amp;gt;remote notifications

转载链接： 
https://blog.youkuaiyun.com/czxghostyueqiu/article/details/45477545]]></description><category></category></item><item><title><![CDATA[iOS--数据加载--懒加载]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/81871333</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/81871333</guid><author>csdn_hhg</author><pubDate>Mon, 20 Aug 2018 15:02:32 +0800</pubDate><description><![CDATA[@property (nonatomic, strong)NSArray *array;

- (NSArray *)array {
    if (!_array) {
        _array = @[@&quot;1&quot;,@&quot;2&quot;];
    }
    return _array;
}]]></description><category></category></item><item><title><![CDATA[swift class viewController has no initializers]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/81664153</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/81664153</guid><author>csdn_hhg</author><pubDate>Tue, 14 Aug 2018 11:37:51 +0800</pubDate><description><![CDATA[创建一个类，继承协议后显示 swift class viewController has no initializers 



解决办法一：属性加？

查了其他资料，都是说加？解包就可以解除。 我这边实际情况是，属性加了？之后，显示是OC属性，要加@objc， 加完还提示要再加，再加完就报错，gg。

解决办法二：直接赋初始值

后面我把属性直接指明属性后赋初始值，问题就解决了。 

class...]]></description><category></category></item><item><title><![CDATA[iOS笔记UI--UITextField]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/80659868</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/80659868</guid><author>csdn_hhg</author><pubDate>Tue, 12 Jun 2018 01:16:22 +0800</pubDate><description><![CDATA[//
//  ViewController.m
//  UITextField
//
//  Created by hhg on 15/9/22.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import &quot;ViewController.h&quot;

@interface ViewController ()

@end

@impleme...]]></description><category></category></item><item><title><![CDATA[iOS笔记UI--UITouch]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/80659763</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/80659763</guid><author>csdn_hhg</author><pubDate>Tue, 12 Jun 2018 00:34:11 +0800</pubDate><description><![CDATA[//
//  ViewController.m
//  UITouch
//
//  Created by hhg on 15/9/28.
//  Copyright (c) 2015年 hhg. All rights reserved.
//

#import &quot;ViewController.h&quot;

@interface ViewController ()

@end

@implementat...]]></description><category></category></item><item><title><![CDATA[iOS笔记UI--UISwitch]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/80561111</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/80561111</guid><author>csdn_hhg</author><pubDate>Sun, 03 Jun 2018 22:28:24 +0800</pubDate><description><![CDATA[UISwitch，一个开关控件。



//
//  ViewController.m
//  UISwitch
//
//  Created by hhg on 15/9/29.
//  Copyright (c) 2015年 UISwitch. All rights reserved.
//

#import &quot;ViewController.h&quot;

@interface ViewControl...]]></description><category></category></item><item><title><![CDATA[iOS笔记UI--UIPageControl]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/80561070</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/80561070</guid><author>csdn_hhg</author><pubDate>Sun, 03 Jun 2018 22:23:29 +0800</pubDate><description><![CDATA[UIPageControl，页控件。常用语轮播图，标志当前页面以及总共有多少页的功能。



//
//  ViewController.m
//  UIPageControl
//
//  Created by hhg on 15/9/29.
//  Copyright (c) 2015年 hhg. All rights reserved.
//

#import &quot;ViewController...]]></description><category></category></item><item><title><![CDATA[iOS笔记—Notification]]></title><link>https://blog.youkuaiyun.com/csdn_hhg/article/details/80560883</link><guid>https://blog.youkuaiyun.com/csdn_hhg/article/details/80560883</guid><author>csdn_hhg</author><pubDate>Sun, 03 Jun 2018 22:06:10 +0800</pubDate><description><![CDATA[Notification，一对多的情况下可以使用



//
//  ViewController.m
//   通知
//
//  Created by hhg on 15/9/28.
//  Copyright (c) 2015年 hhg. All rights reserved.
//

#import &quot;ViewController.h&quot;

@interface ViewControlle...]]></description><category></category></item></channel></rss>