<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[岁月静好，善待时光。]]></title><description><![CDATA[学习是一件快乐的事情-_-]]></description><link>https://blog.youkuaiyun.com/Three_Zhang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Three_Zhang]]></copyright><item><title><![CDATA[为iOS的mobileconfig文件进行签名]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/97143220</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/97143220</guid><author>Three_Zhang</author><pubDate>Wed, 24 Jul 2019 17:23:17 +0800</pubDate><description><![CDATA[Safari获取UDID需要安装.mobileconfig文件,
但是，我们在安装了.mobileconfig后，返现配置描述文件打开显示“unsigned” 或者“尚未签名”这样的情况，所以接下来的工作就是让我们的.mobileconfig文件看起来更加安全一些。
.mobileconfig签名网络上大多都是使用ssl证书进行签名(事实上，苹果官方ota也是用https证书进行签名的)，ssl签...]]></description><category></category></item><item><title><![CDATA[通过Safari与mobileconfig获取iOS设备UDID(设备唯一标识符)]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/97138805</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/97138805</guid><author>Three_Zhang</author><pubDate>Wed, 24 Jul 2019 17:05:38 +0800</pubDate><description><![CDATA[本文基于在线安装Profile来实现获取UDID。
先看下效果,真机打开
获取设备UDID

科普

UDID
UDID (Unique Device Identifier)，唯一标示符,是iOS设备的一个唯一识别码，每台iOS设备都有一个独一无二的编码，UDID其实也是在设备量产的时候,生成随机的UUID写入到iOS设备硬件或者某一块存储器中,所以变成了固定的完全不会改变的一个标识，用来区别每一...]]></description><category></category></item><item><title><![CDATA[fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chro]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/86703450</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/86703450</guid><author>Three_Zhang</author><pubDate>Wed, 30 Jan 2019 15:03:17 +0800</pubDate><description><![CDATA[fatal: unable to access ‘https://chromium.googlesource.com/webm/libwebp/’: Failed to connect to chromium.googlesource.com port 443: Operation timed out
解决办法：
设置系统全局环境变量 http/https代理:切换到etc目录下
cd /etc ...]]></description><category></category></item><item><title><![CDATA[FlexLib之热门预览]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/86629168</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/86629168</guid><author>Three_Zhang</author><pubDate>Thu, 24 Jan 2019 16:29:31 +0800</pubDate><description><![CDATA[设置环境

在应用启动时调用FlexRestorePreviewSetting。

- （BOOL）应用程序：（UIApplication *）应用程序didFinishLaunchingWithOptions :( NSDictionary *）launchOptions
{
    FlexRestorePreviewSetting（）;
    
    //任何其他启动... 
    返...]]></description><category></category></item><item><title><![CDATA[iOS 仿写有妖气]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/85121606</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/85121606</guid><author>Three_Zhang</author><pubDate>Thu, 20 Dec 2018 14:37:01 +0800</pubDate><description><![CDATA[闲来无事，App Store 里随便抓了一个爱派派进行一些仿写。

首先声明：如有冒犯或侵权行为，请随时联系告知，我会立刻删除相关文件或资源。

本次仿写是通过 charles 进行接口抓包， 然后代码是 MVC 格式进行书写；为了练习一下布局方式， 该项目采用了三种第三方库进行布局,，分别是Masonry 、SDAutoLayout、YogaKit 。
各自的特点 ：

Masonry：适用于大...]]></description><category></category></item><item><title><![CDATA[Python爬取拉勾网数据(破解反爬虫机制)]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/83020453</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/83020453</guid><author>Three_Zhang</author><pubDate>Thu, 11 Oct 2018 23:13:19 +0800</pubDate><description><![CDATA[
人生苦短, 我学 Python!

这篇文章主要记录一下我学习 Python 爬虫的一个小例子, 是爬取的拉勾网的数据.
1.准备
配置 Python 环境什么的就不说了, 网上教程很多, 自行解决.
2.扒源码
先打开拉勾网的网页. 我们要爬取这部分的数据, 即搜索结果列表数据:

检查源码, 打开如下图所示位置:

然后发现,这部分数据是我们所要爬取的数据:

ok! 开始撸代码!
impo...]]></description><category></category></item><item><title><![CDATA[react native 小项目,  持续更新中.....]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/81977601</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/81977601</guid><author>Three_Zhang</author><pubDate>Thu, 23 Aug 2018 11:18:35 +0800</pubDate><description><![CDATA[摸索了 react-native 这么长时间了, 一直都是零零碎碎的写一点东西, 最近在业余时间, 网上扒了一些接口,  抄抄这个页面设计, copy copy 那个设计页面, 总算是写出了一个起码看上去算是个项目的东西. 在这里和大家分享一下. 侵删!!!

1.登录模块

设计效果:

    

这里的忘记密码页面由于没有找到相应的接口, 所以这个页面就是个摆设(手动捂脸). 大家知道怎么回...]]></description><category></category></item><item><title><![CDATA[node 升级]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/81775088</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/81775088</guid><author>Three_Zhang</author><pubDate>Fri, 17 Aug 2018 11:41:58 +0800</pubDate><description><![CDATA[三行命令依次进行:

sudo npm cache clean -f
sudo npm install -g n
sudo n stable]]></description><category></category></item><item><title><![CDATA[react-native 之九宫格列表]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/81772484</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/81772484</guid><author>Three_Zhang</author><pubDate>Fri, 17 Aug 2018 09:40:24 +0800</pubDate><description><![CDATA[先上效果图:



就是类似这种的列表. 在 iOS 中有 UICollectionView 可以直接写这种类型的列表, 但在React-native 中直接就可以用 FlatList 完成, 也就是说这种类型的列表和普通的列表没什么区别, 只是在布局的时候要些许的差异. Let’s do it!

1.渲染一个列表


 render() {
        return (
         ...]]></description><category></category></item><item><title><![CDATA[React-native 之 react-native-swiper 动态赋值]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/81738485</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/81738485</guid><author>Three_Zhang</author><pubDate>Thu, 16 Aug 2018 11:27:36 +0800</pubDate><description><![CDATA[在实际开发中, 经常会遇到轮播图, 轮播图的数据通常情况下都是网络获取的. 这里简单的记录一下接口获取轮播图数据, 然后动态赋值给 swiper.

轮播图组件是通过 react-native-swiper 实现, 这里不再多说.

直接源码说明:


export default class MainPage extends Component {
    static navigationOp...]]></description><category></category></item><item><title><![CDATA[React Native常用组件]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/81666927</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/81666927</guid><author>Three_Zhang</author><pubDate>Tue, 14 Aug 2018 14:47:08 +0800</pubDate><description><![CDATA[转自: https://www.jianshu.com/p/bd810785d3d6

本文收录了,React Native中常用的一些相关组件,

摘录的过程中,可能有所差错,不足之处还望指出.

希望大家可以互相学习,互帮互助!





第一部分

基于react-navigation组件的自定义 head 视图

react-native-carousel 轮播图

react-nativ...]]></description><category></category></item><item><title><![CDATA[react-native之 react-navigation]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/81564417</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/81564417</guid><author>Three_Zhang</author><pubDate>Fri, 10 Aug 2018 15:37:21 +0800</pubDate><description><![CDATA[react-navigation准确的说不是一个官方推出的库, 但是一经推出, 就受到了广大开发者的喜爱, 官方也废弃了自己曾经的导航库 navigator, 转而在官方文档上推荐这个第三方. 传送门

接下来通过一个例子, 主要来说一下createStackNavigator 和 createBottomTabNavigator 的实际用法.

1.安装

在项目文件夹目录下, 输入命令行:

...]]></description><category></category></item><item><title><![CDATA[MAC 终端上传代码到Github 或者 Gitlab]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/80733820</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/80733820</guid><author>Three_Zhang</author><pubDate>Tue, 19 Jun 2018 14:50:11 +0800</pubDate><description><![CDATA[1.创建远程仓库。




  Project name：项目名称
  
  Project description (optional)：项目介绍
  
  Visibility Level ：项目的访问权限




2.创建完成后操作,终端cd 到你需要克隆到的文件夹目录下：



　a. cd &amp;lt;你本地文件夹目录&amp;gt;

　　b.git clone &amp;lt;你自己刚创建的远程仓库目录...]]></description><category></category></item><item><title><![CDATA[entry point (_main) undefined. for architecture x86_64]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/80606504</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/80606504</guid><author>Three_Zhang</author><pubDate>Thu, 07 Jun 2018 11:18:29 +0800</pubDate><description><![CDATA[报错如下:


  “ld: entry point (_main) undefined. for architecture x86_64  
  clang: error: linker command failed with exit code 1 (use -v to see invocation)”


解决办法: 


Select your Project
Go to Target -...]]></description><category></category></item><item><title><![CDATA[[unowned self] 与 [weak self]]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/80137421</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/80137421</guid><author>Three_Zhang</author><pubDate>Sat, 28 Apr 2018 17:17:21 +0800</pubDate><description><![CDATA[转自: http://www.hangge.com/blog/cache/detail_1993.html

Swift使用自动引用计数（ARC）来管理应用程序的内存使用，但 ARC 并不是绝对安全的。我之前也写过一篇关于 Swift 内存泄漏原因以及解决办法的文章（点击查看） 
    这次我专门讲讲在使用 RxSwift 时，容易出现内存泄漏的地方以及解决方法。

一、准备工作

1，页面创建...]]></description><category></category></item><item><title><![CDATA[react-navigation 使用详解]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/79917439</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/79917439</guid><author>Three_Zhang</author><pubDate>Thu, 12 Apr 2018 17:40:41 +0800</pubDate><description><![CDATA[转自: 这里



一、开源库介绍

今年1月份，新开源的react-natvigation库备受瞩目。在短短不到3个月的时间，github上星数已达4000+。Fb推荐使用库，并且在React Native当前最新版本0.44中将Navigator删除。react-navigation据称有原生般的性能体验效果。可能会成为未来React Native导航组件的主流军。本篇内容基于【 ^1.0.0...]]></description><category></category></item><item><title><![CDATA[Method Swizzling 和 AOP 实践]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/79799955</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/79799955</guid><author>Three_Zhang</author><pubDate>Tue, 03 Apr 2018 10:45:47 +0800</pubDate><description><![CDATA[转自: http://tech.glowing.com/cn/method-swizzling-aop/

上一篇介绍了 Objective-C Messaging。利用 Objective-C 的 Runtime 特性，我们可以给语言做扩展，帮助解决项目开发中的一些设计和技术问题。这一篇，我们来探索一些利用 Objective-C Runtime 的黑色技巧。这些技巧中最具争议的或许就是 Met...]]></description><category></category></item><item><title><![CDATA[React-Native报错之 ***is not a function]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/79654038</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/79654038</guid><author>Three_Zhang</author><pubDate>Thu, 22 Mar 2018 14:48:52 +0800</pubDate><description><![CDATA[错误信息如下:



goTo 是一个自定义的函数. 
在 TouchableOpacity 的 onPress 里调用该自定义函数.如下:

 _renderItem({item}) {
        return (
                   &amp;amp;lt;TouchableOpacity activeOpacity={0.5} onPress={()=&amp;amp;gt;this.goTo()}...]]></description><category></category></item><item><title><![CDATA[一行命令统计iOS工程代码总行数]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/79412137</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/79412137</guid><author>Three_Zhang</author><pubDate>Thu, 01 Mar 2018 14:36:55 +0800</pubDate><description><![CDATA[转自：http://blog.youkuaiyun.com/cloudox_/article/details/51106823

我们有时候想要统计一下我们的工程的总代码行数，来获取一些成就感或者作为别的用图，这里就介绍一些如何便捷地统计代码的行数，非常简单，方法如下：


打开终端；
通过cd命令到达我们的工程文件，这里注意如果要避免统计引用的第三方库的代码量，我们就要进一步进到我们自己写的代码文件中去，一...]]></description><category></category></item><item><title><![CDATA[mac 下安装 Tomcat]]></title><link>https://blog.youkuaiyun.com/Three_Zhang/article/details/79376882</link><guid>https://blog.youkuaiyun.com/Three_Zhang/article/details/79376882</guid><author>Three_Zhang</author><pubDate>Mon, 26 Feb 2018 14:33:35 +0800</pubDate><description><![CDATA[转自：http://www.himigame.com/java-servlet/845.html

]]></description><category></category></item></channel></rss>