This is the fourth in the Objective-C series. Hide implementation details by grouping methods that should be considered "Private" into a category called Private. When...
Disassembly is a very important process in learning iOS reverse development. Getting executable files of other apps, whether opened by IDA Hopper, is assembly code....
This article, the eleventh in the Objective-C series, covers the features and underlying implementations of the load and Initialize special methods. Before we talk about...
Zero-based iOS development, summarize their own learning process, and problems encountered in the learning process and solutions, to prevent their own forget, monitor their own...
There are many and mature theories about componentization on the Internet. For theories, please refer to this collective article iOS componentization. This article only talks...
During development, you often need to get the requirements for the current Window, rootViewController, and visibleController that is currently being displayed. If the.m implementation is...
Zero-based iOS development, summarize their own learning process, and problems encountered in the learning process and solutions, to prevent their own forget, monitor their own...
I. Background About regular expressions, I believe you are not unfamiliar, may usually just paste the relevant code, do not understand the matching rules written...
1. The KVC protocol defines key-value encoding as a mechanism enabled by the NSKeyValueCoding informal protocol that objects use to provide indirect access to their...
Using Objective-C's dynamic runtime allocation mechanism, you can add new methods to existing classes (own or system or third-party libraries). This way of adding new...
Definition of a logical condition that constrains a search condition for lookup or in-memory filtering. Personal understanding is a condition used to match the results...
ARC is for automatic reference counting. The essence of reference counting memory management has not changed. ARC only handles the relevant parts of reference counting...
Copy: shallow copy for immutable objects, deep copy for mutable objects. MutableCopy: Always deep copy. Elements in a collection object are shallow copies **
1. AVCapture for video collection 2. Initialize output Initialize video output, set the video data format, and set the callback thread for data collection.
The same NSHashTableStrongMemory, NSPointerFunctionsStrongMemory, use this option for strong reference object, and NSSet memory strategy is the same. NSHashTableWeakMemory, NSPointerFunctionsWeakMemory, same choice...
Runloop is a basic component that is tied to threads and is behind many of the thread-related functionality. Although we rarely use Runloop directly in...
1: What is the difference between classification and extension? What can be used for? What are the limitations of classification? What are the members of...