mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-24 20:00:37 +00:00
style: image path
This commit is contained in:
@@ -78,7 +78,7 @@ pragma mark - getter and setter
|
||||
```Objective-c
|
||||
self.latestImageView.image = [UIImage iconWithInfo:LBPIconFontmake(@"\U0000e6ac", 60, @"000066") ];
|
||||
```
|
||||

|
||||

|
||||
|
||||
1. LBPFontInfo来封装字体信息
|
||||
2. UIColor+picker根据十六进制字符串来设置颜色
|
||||
|
||||
@@ -2554,9 +2554,9 @@ void printResponseData (CFDataRef responseData) {
|
||||
|
||||
NSURLSession、NSURLConnection hook 如下。
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
@@ -2847,7 +2847,7 @@ CFNetwork 使用 CFReadStreamRef 来传递数据,使用回调函数的形式
|
||||
};
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
method swizzling 改进版如下
|
||||
|
||||
@@ -2875,11 +2875,11 @@ CFNetwork 使用 CFReadStreamRef 来传递数据,使用回调函数的形式
|
||||
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
> An NSURLProtocol object handles the loading of protocol-specific URL data. The NSURLProtocol class itself is an abstract class that provides the infrastructure for processing URLs with a specific URL scheme. You create subclasses for any custom protocols or URL schemes that your app supports.
|
||||
|
||||

|
||||

|
||||
|
||||
NSURLProtocol 是 Foundation 框架中 URL Loading System 的一部分。它可以让开发者可以在不修改应用内原始请求代码的情况下,去改变 URL 加载的全部细节。换句话说,NSURLProtocol 是一个被 Apple 默许的中间人攻击。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user