In the last chapter 'multi-threaded principles', we focus on the concept of thread and its principles for the theoretical concept explanation and summary, today, we...
Usually we use NSTimer or CADisplayLink, if you do not handle directly using the system provided API methods, there may be a strong reference problem...
Introduction about weak bottom principle of this article # iOS weak bottom implementation principle (a) and the following several articles have been very clear, you...
In the interview of iOS, multithreading is often asked, multithreading is also a difficult point, many interviewees usually do not use much, so it is...
We should never add functions to a queue to perform tasks in a synchronous manner, this is especially important for serial queues that guarantee deadlocks,...
In the last article we explored where class attributes, methods, and protocols are stored. Today we'll explore some class member variables 1. In WWDC 2020,...
This article mainly records how the browser synchronizes the WkWebView with the native cookie in the study of the browser's network blocking. In the WebKit...
Conclusion: There is an ISA pointer inside the block, which is essentially an OC object that encapsulates the function call and the function call environment....
The previous part of objc_msgSend Quick Lookup analyzes the fast lookup process. If the fast lookup fails, you need to go to the __objc_msgSend_uncached slow...
MethodSwizzing method swapping is more commonly known as dark magic. However, just like the unique martial arts in wuxia novels, there are also cases where...
In the last section we explored objc_msgSend and went to the CacheLookup process through assembly. Now let's look at CacheLookup. CacheLookup NORMAL,_objc_msgSen
Main queue analysis queues are divided into serial queues and parallel queues serial queues :dispatch_queue_t serial = dispatch_QUEUE_CREATE ("test", DISPATCH_QU
Start with a good study, not anxious not impatient. In the previous article, we mainly studied the message sending process of objc_msgSend, mainly in the...
I happened to learn Method Swizzling in August, read about Aspects and JSPatch to do Method replacement processing, and noticed the protagonist of our introduction...
KVO KVO is an event notification mechanism provided by Apple. Allows an object to listen for changes to specific properties of another object and to...
After covering the basic use of KVO and how to customize it in previous posts, this blog will look at facebook's excellent KVO framework, FBKVOController.
After compiling the objc source code, you create a new target to execute your program and run into the source code. Manage security complianceand resource...