-
- 对象模型
- 动态特性
- 基本语法
- [property](https://github.com/ShannonChenCHN/iOSLevelingUp/issues/39#issuecomment-359373264)
- [block](https://github.com/ShannonChenCHN/iOSLevelingUp/issues/70)
-…
-
# iOS 中的 +load 方法 :: iBlog
Date Notes Source Code Demo 2019-04-20 首次提交 objc4-750 Load_Obj-C_Demo Preface 在 iOS 开发中,我们经常会使用 +load 方法来做一些在 main 函数之前的操作,比如方法交换(Method Swizzle)等。那么 +load 到底是如何被调用的…
-
# Obj-C 中的 isa 指针 :: iBlog
Date Notes Refer. 2019-08-18 首次提交 objc4-750.1 Preface isa 指针是所有 Obj-C 对象中都拥有的一个成员。因为除了继承链之外,Obj-C 还特有一条从实例对象到类对象、元类对象的链。而后者正是依靠 isa 而串联起来的,那么本文就将结合源码谈谈 Obj-C 中的 isa。…
-
## 目录
- 概述
- 什么是 Runtime
- 与 Runtime 进行交互(Interacting with the Runtime)
- Objective-C 源代码
- NSObject 方法
- Runtime 函数
- Runtime 基础数据结构
- SEL
- id
- Class
- Category
- Met…
-
subclassInstance method do not perform accurate copying of source object. All associated objects with initial class are not copied.
-
I'm pretty sure all the things being built are `make -jN`-safe, so I think this is either a nix problem or a problem with my Mac OS sandboxing code:
```
$ nix-build -Q -j8 --cores 8 --option build-us…
-
I've tried to get `FractalArt` to compile on darwin with nix using the following override:
```nix
FractalArt = overrideCabal super.FractalArt (drv: {
executableSystemDepends = [
darw…
-
# iOS 中的 Category :: iBlog
Date Notes Source Code Demo 2019-04-16 优化结构 - - 2019-04-13 首次提交 objc4-750、xnu-4903.221.2 Category in iOS 2019-10-23 添加首图,细节微调 - - Preface iOS 中的 Category 中文常译作分类…
-
Consider this program:
```
% cat repro.mm
#include
[[gnu::noinline]] void use_string(const std::string&) {}
typedef void(^B)();
[[gnu::noinline]] void use_block(B&& b) {}
int main() {
…
nico updated
3 months ago
-
Hello,
I cloned Darling last night and went through the process of building and installing it. No major problems besides having to point some files to my `cairo.h` library. But after installing and…