1. Create sequence --create2. Subscribe sequence -- Subscribe3 Send a signal --onXX so the question is, how do the signals that we send get subscribed...
Taking weak and __weak as the incision, this paper deeply understands the mechanism of weak table and weak table, and explores the underlying principle of...
Functional Programming is another development way of thinking compared with object-oriented and procedural Programming, which emphasizes function as the center. Make good use of functional...
This article first introduces some basic concepts of multithreading, such as Atomicity, out-of-order execution, and Memory barrier. Dealloc, target-Action, Block, mutable containe...
This paper first explores the function in 'Swift', mainly including the following aspects: Swift function definition, Swift function parameters and return value, Swift function overload,...
You can add completed blocks of code to execute after the action is complete. Add dependencies between operations to easily control the order of execution....
CDN support was first introduced in version 1.7 and finally completed in 1.7.2. It is designed to greatly speed up initial setup and dependency analysis....
When the load method is called: Before the main function, the dyLD program loads and initializes the classes/classes in memory. When the load is complete,...
Lua.javascript. Oc as a script, Didi solution (open source). Hot updates are well established in game development, and the idea is similar regardless of how...
Introduction provides similar to address book avatar, support Chinese characters to pinyin, lowercase to uppercase, split and other operations such as avatar browsing GitHub address:...
When I started using RAC a year ago, I knew that ReactiveCocoa was a framework inspired by functional responsive programming, but I didn't know much...
When I click on it, I find that only UICollectionViewCell is responding, and when I click somewhere else, I don't respond to UITableViewCell's click event....
We can use MetalKit MTKView to quickly write views based on Metal rendering. MTKView encapsulates the operations of Metal, and to some extent facilitates development.
Since I have been engaged in the development of mobile terminal, I have been engaged in the development of audio and video. Apple's basic customization...
Swift is a static language. Static languages have an impact on the passing of values, callbacks to responses, communication, and so on. Unlike OC, which...
Internet of Things (IoT). Bluetooth devices, WIFI devices. Bluetooth is a wireless technology standard that enables short distance data exchange between fixed devices, mobile devices,...
Interval creates an Observable that emits an index element at specified intervals. The buffer method takes a buffer combination, the first parameter is buffer time,...
There are many optimization methods, although the methods are different but the principle is the same. To share a method I've always used myself: apply...