Load_image load_image load_image unmap_image Load_image Load_image Load_image Load_image Load_image Unmap_image There are some methods we didn't cover in the previous article, but this article continues...
This is easier to understand because you don't Swizzling until you need to, not in the +load method. Here's an article about method-swizzling in the...
Manual Reference Counting (MRC), also called Manual retained -release (MRR), is used to manage object memory by manually controlling the Reference count of an object....
1. Common causes of KVC crashes Key Value Coding (KVC) provides a mechanism for indirectly accessing the attributes of objects. Instead of calling Setter and...
This book teaches many of the specifications you should follow when writing Objective-C. It happened that the author had a little gap because the product...
[[XXX alloc]init] [XXX alloc]init] [XXX new] [XXX new] [XXX alloc]init] [XXX new] The same is done for instance creation, what is the inherent relationship between...
This problem, temporarily put down, continue to look. Run the xcrun-sdk iphoneos clang-arch arm64-rewrite-objc main.m -o main-arm64. CPP command to generate a c++ file. The...
Through step by step development, we have realized the addition, deletion, check and change of database, and support various types of data storage, such as:...
2. Custom KVO reviewed the original KVO implementation is in NSObject NSKeyValueObserverRegistration classification. Then we started to customize step by step according to the underlying...
If there is no any Source0 / Source1 / Timer Mode/Observer, RunLoop immediately exit. For example, NSDefaultRunLoopMode default mode and UITrackingRunLoopMode scroll mode, when scrolling...
This series of articles is designed to get developers with a Web front-end background up and running with native languages. From WebView to Hybrid and...
This blog focuses on a Swift practice trick, chained UI code. Chained code has a natural advantage over Objective-C in Swift. And through the powerful...
Moya is a network abstraction layer that encapsulates Alamofire at the bottom and provides a simpler interface for developers to call. In objective-C in the...
Let's answer this question from multiple perspectives. Category is a.h and.M. Extension is a.H. Then again, when creating, select the corresponding type. When used as...
RunLoop is not a simple do... While loop, which involves switching between user and kernel states. Hibernate threads to avoid resource hogging when there are...
Interpretation of appearance pattern definition: through this high-level interface, clients can be decoupled from subsystems: clients can not directly access subsystems, but indirectly through appearance...