<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[VanillaSky]]></title><description><![CDATA[日子不管怎么苦，走下去，总是甜的]]></description><link>https://blog.csdn.net/Vanilla_Chi</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Vanilla_Chi]]></copyright><item><title><![CDATA[HTTPS 以及 Charles 抓包]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/90716933</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/90716933</guid><author>Vanilla_Chi</author><pubDate>Fri, 31 May 2019 16:16:53 +0800</pubDate><description><![CDATA[一直对认证方面云里雾里，感觉看过多少篇文章理解也不是很透彻，偶然工作中遇到了认证问题，再去查再去看，好像一下子明白了很多，果然学习知识是要循序渐进。这里总结一下HTTPS以及用Charles抓HTTPS包要如何配置。

这里先po出我觉得比较好并且引用的两篇文章链接

关于HTTPS原理以及iOS Challenge

关于HTTPS原理以及Charles配置

我引用了这两篇文章里面的一些内容...]]></description><category></category></item><item><title><![CDATA[iOS Handling Authentication Challenge]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/90696838</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/90696838</guid><author>Vanilla_Chi</author><pubDate>Fri, 31 May 2019 14:06:50 +0800</pubDate><description><![CDATA[NSURLSession 引入后, request被包装进data task或者download task中发送至server, 如果server需要客户端的认证, session task 会尝试处理，如果无法处理则会发起客户端的challenge，调用Session 或者 task didReceiveChallenge的代理方法。如何handle一个challenge, 苹果有官方文档：

...]]></description><category></category></item><item><title><![CDATA[02 OC面向对象基础]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/70171974</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/70171974</guid><author>Vanilla_Chi</author><pubDate>Fri, 14 Apr 2017 17:24:54 +0800</pubDate><description><![CDATA[类文件及引用 
使用import 解决include递归包含问题，相当于加了预处理判定指令的#include 
同理：表示系统库， “”表示引用自身头文件


  import   
   import “myHeader.h”

变量及方法简述
成员变量作用域、访问方式



  成员变量作用域 
  成员变量封装方法访问（getter/ setter） 
  点语法访问 
  编译器升级： @]]></description><category></category></item><item><title><![CDATA[01 简介语法点]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/70141130</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/70141130</guid><author>Vanilla_Chi</author><pubDate>Wed, 12 Apr 2017 11:36:06 +0800</pubDate><description><![CDATA[没有Java类似包名或者C++类似命名空间的概念利用在类名前加前缀来达到区分同名类的目的： 
NS*: NSString /NSArray… 
自定义的类要用自定义前缀用来区分
关键字特征因为可以与C，C++进行混编。因此OC中的关键字都是用前面加@来区分的： 
@interface @end @implement @”” @property @synthesize
基本细碎常用语法点 
basic]]></description><category></category></item><item><title><![CDATA[两个小Points]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/53018997</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/53018997</guid><author>Vanilla_Chi</author><pubDate>Thu, 03 Nov 2016 10:29:24 +0800</pubDate><description><![CDATA[* dismissModalViewControllerAnimated * dismiss 顺序问题： 
A present B ,  B present C. 
B 作为主体调用dismiss方法时，首先找自己作为presenter present出来的视图，将其dismiss掉。/*
The next two methods are replacements for presentModalV]]></description><category></category></item><item><title><![CDATA[Performance Optimization of  UITableView]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/53018507</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/53018507</guid><author>Vanilla_Chi</author><pubDate>Thu, 03 Nov 2016 09:54:18 +0800</pubDate><description><![CDATA[Performance Optimization of  UITableViewUITableView核心的优化在UITableViewCell上，从UITableView最主要的两个回调方法来分析UITableView的性能优化。
tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) ->]]></description><category></category></item><item><title><![CDATA[位运算其他应用]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46430913</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46430913</guid><author>Vanilla_Chi</author><pubDate>Tue, 09 Jun 2015 19:53:54 +0800</pubDate><description><![CDATA[位操作进行标识leetcode78 https://leetcode.com/problems/subsets/Given a set of distinct integers, nums, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set]]></description><category></category></item><item><title><![CDATA[数组中异常数发现]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46430893</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46430893</guid><author>Vanilla_Chi</author><pubDate>Tue, 09 Jun 2015 19:51:50 +0800</pubDate><description><![CDATA[数组中1个数出现一次其他出现2次Leetcode136 https://leetcode.com/problems/single-number/ 
思路：有一个异常数：整体抑或一遍。适合只有1个数出现奇数次，其他数出现偶数次public int singleNumber(int[] nums) {
    for(int i = 1; i < nums.length; i++) nums[0] ^=]]></description><category></category></item><item><title><![CDATA[某个数字进行位运算]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46430819</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46430819</guid><author>Vanilla_Chi</author><pubDate>Tue, 09 Jun 2015 19:46:26 +0800</pubDate><description><![CDATA[将数字按位倒序leetcode190 https://leetcode.com/problems/reverse-bits/Reverse bits of a given 32 bits unsigned integer.
For example, given input 43261596 (represented in binary as 00000010100101000001111010011]]></description><category></category></item><item><title><![CDATA[位基本运算]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46398939</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46398939</guid><author>Vanilla_Chi</author><pubDate>Sun, 07 Jun 2015 10:56:48 +0800</pubDate><description><![CDATA[1. 进制转换思路： 
数制转化问题可以利用乘法除法进行运算并用栈或者其他数据结构进行存储，但是更高效的是能用就用位运算来做。例如将十进制转为16、8、2进制，都可以运用位运算来做，这里贴出java.lang.Integer中进制转化代码供借鉴和学习~private static String toUnsignedString(int i, int shift){//i为待转换的整数，shift为要]]></description><category></category></item><item><title><![CDATA[位运算]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46385705</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46385705</guid><author>Vanilla_Chi</author><pubDate>Sat, 06 Jun 2015 10:01:44 +0800</pubDate><description><![CDATA[1． 基本位运算进制转换 
加法运算 
简单位运算2． 某个数字进行位运算将数字按位倒序 
判断数字位中有多少个13． 数组中异常数发现数组中1个数出现一次其他出现2次 
数组中2个数出现一次其他出现2次 
数组中1个数出现一次其他出现3次 
数组中1个数出现了n/2多次4． 位运算其他应用位操作进行标识 
位操作进行哈希设计]]></description><category></category></item><item><title><![CDATA[其他栈相关问题]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46381025</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46381025</guid><author>Vanilla_Chi</author><pubDate>Fri, 05 Jun 2015 19:28:49 +0800</pubDate><description><![CDATA[1. 包含min函数的栈来源  
leetcode155 https://leetcode.com/problems/min-stack/ 
剑指offer21Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
push(x) -- Push element]]></description><category></category></item><item><title><![CDATA[单调栈相关]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46355745</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46355745</guid><author>Vanilla_Chi</author><pubDate>Thu, 04 Jun 2015 08:52:30 +0800</pubDate><description><![CDATA[1. 利用单调栈求最大矩形面积（两边求）来源 
poj: http://poj.org/problem?id=2082 ;  
leetcode: https://leetcode.com/problems/largest-rectangle-in-histogram/ 
题目：Given n non-negative integers representing the histogram's ba]]></description><category></category></item><item><title><![CDATA[基础模拟栈]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46325881</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46325881</guid><author>Vanilla_Chi</author><pubDate>Tue, 02 Jun 2015 11:08:17 +0800</pubDate><description><![CDATA[栈的压入弹出序列来源：剑指offer22 
给定两个整数序列，第一个为栈的压入序列，判断第二个序列是否为栈的弹出序列。 
思路：同时遍历两个序列，当第二个序列中的元素不等于第一个序列中元素时，判断栈顶元素是否等于当前元素，如是则弹出，第二个游标后移。若不是，将第一个序列当前元素入栈后，游标后移，循环判断。 
eg: 123456 与 132465，压弹栈的顺序为 
1,入栈,出栈 
2,入栈 
3,]]></description><category></category></item><item><title><![CDATA[栈与队列]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46300101</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46300101</guid><author>Vanilla_Chi</author><pubDate>Mon, 01 Jun 2015 09:28:33 +0800</pubDate><description><![CDATA[1. 基础模拟栈，包括：栈的压入弹出序列 
后缀表达式求解 
括号匹配问题 
数制转化问题2. 单调栈问题3. 汉诺塔问题及其扩展4. 队列（循环队列实现）5. 其他相关问题包含min函数的栈 
用栈实现队列 
用队列实现栈 
用一个数组实现两个栈 
翻转栈中所有元素，要求空间复杂度o(1)]]></description><category></category></item><item><title><![CDATA[构建二叉树]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46117659</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46117659</guid><author>Vanilla_Chi</author><pubDate>Thu, 28 May 2015 09:34:50 +0800</pubDate><description><![CDATA[以#为终止符构建先序二叉树eg. 12#4#5##3##public int index = 0;
public TreeNode constructPreorderTree(char[] str){
    if(str[index++] == '#') return null;
    TreeNode node = new TreeNode(str[index]-'0');
    index]]></description><category></category></item><item><title><![CDATA[二叉查找树其他操作]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/46051567</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/46051567</guid><author>Vanilla_Chi</author><pubDate>Wed, 27 May 2015 20:23:19 +0800</pubDate><description><![CDATA[将二叉搜索树转变为排序的双向链表来源：剑指offer27 
思路：想成是中序遍历的变形，可以利用中序遍历的非递归方式不断压栈弹栈，保存前一个节点与其互指。 
也可以使用递归方式，每次可以返回已成形链表的最后一个节点，用给节点连接当前节点，再将当前节点的右子树的最小节点连接起来。public TreeNode last = null;
public TreeNode Convert(TreeNode]]></description><category></category></item><item><title><![CDATA[二叉查找树相关判断]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/45973357</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/45973357</guid><author>Vanilla_Chi</author><pubDate>Mon, 25 May 2015 19:39:10 +0800</pubDate><description><![CDATA[判断给定树是否为二叉查找树来源leetcode98  
https://leetcode.com/problems/validate-binary-search-tree/ 
思路：刚开始想的是，当前树左子小于当前节点并且右子大于当前节点并且其两个子树也递归满足这样条件时成立。 
代码如下public boolean ifBinarySearchTree(TreeNode root){
    if]]></description><category></category></item><item><title><![CDATA[二叉查找树构建]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/45973213</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/45973213</guid><author>Vanilla_Chi</author><pubDate>Mon, 25 May 2015 19:24:05 +0800</pubDate><description><![CDATA[给定n构建最大值为n的二叉查找树——树的形态种类 
https://leetcode.com/problems/unique-binary-search-trees/ 
Given n, how many structurally unique BST’s (binary search trees) that store values 1…n? 
For example, 
Given n = 3,]]></description><category></category></item><item><title><![CDATA[二叉树其他操作]]></title><link>https://blog.csdn.net/Vanilla_Chi/article/details/45894121</link><guid>https://blog.csdn.net/Vanilla_Chi/article/details/45894121</guid><author>Vanilla_Chi</author><pubDate>Thu, 21 May 2015 16:53:20 +0800</pubDate><description><![CDATA[二叉树的镜像剑指offer19    1            1
   / \          / \
  2   3  -->   3   2
     /          \
    4            4public TreeNode getIso(TreeNode root){
    if(root == null) return null;
    TreeNode nRoo]]></description><category></category></item></channel></rss>