Tag: objective-c
Analysis of RACSignal cold signal and thermal signal underlying implementation in ReactiveCocoa
February 4, 2024
by Melissa Pratt
No Comments
Among the articles about cold signal and heat signal in ReactiveCocoa V2.5, the most famous ones are the three articles about cold signal and heat...
Read More
Cocoapods uses tips
February 4, 2024
by Mannat Mane
No Comments
CocoaPods is a third class library management tool for OS X and iOS. It allows you to add dependent libraries called "Pods" to your project...
Read More
OC basic principle of Block basic principle exploration
February 4, 2024
by 李依婷
No Comments
Preface As an iOS developer, I am certainly familiar with Block, which is almost the most popular type used by developers. However, we often stay...
Read More
How to Make iOS Development work (Part 1)
February 4, 2024
by Kathryn Webster
No Comments
We looked at some of the basics of RunTime, and saw that method calls in Objective-C are messaging mechanisms. Next, we know that each class...
Read More
The reference counting principle of oc objects is explained from runtime source code
February 4, 2024
by Jessica Gibson
No Comments
We now use OC programming without manual memory management thanks to the ARC mechanism. ARC removes most of the memory-management operations from the object. In...
Read More
6. Core Animation CALayer’s Specialized Layers
February 4, 2024
by 孫靜怡
No Comments
To share my personal blog: https://cainluo.github.io/14790557329421.html the author testimonials profile, create a CGPath CAShapeLayer CATextLayerRi fillet
Read More
How does RACSignal send signals in ReactiveCocoa
February 4, 2024
by Ms. Jennifer Byrne
No Comments
Preamble ReactiveCocoa is a (first?) Bring the paradigm of functional responsive programming to objective-C's open source library. ReactiveCocoa was written by Josh Abernathy and Justin...
Read More
One of iOS multithreading: process, thread, queue relationship
February 4, 2024
by Roger Watson
No Comments
What is a process? A process is a running program in the system. Once a program runs, it is a process. What is a thread...
Read More
Why use @Weakify and @Strongify
February 4, 2024
by Tom Hooper
No Comments
The standard approach to breaking circular references assumes that we have a Controller with a model property that updates the label when the data in...
Read More
7. Transforms Core Animation CALayer
February 4, 2024
by Elijah Williamson
No Comments
Transferred to my personal blog: https://cainluo.github.io/14777052484078.html author AffineTransformsCreatingaCGAffineTrans speech profile
Read More
Analysis of the realization of weak pointer
February 4, 2024
by Anvi Garg
No Comments
The weak pointer in OC is mainly used to break loops or prevent circular references, and is widely used in many scenarios. So what is...
Read More
IOS – Advanced image processing (iii, image processing practice)
February 3, 2024
by Derek Armstrong
No Comments
From the previous study of image Advanced Processing 1 and image Advanced processing 2, we know that in the project for performance reasons, it is...
Read More
IOS ObjC4-838 compilation process, available on macOS Monterey
February 3, 2024
by Stephanie Caldwell-Webster
No Comments
Objc4-818.2 has been unavailable since the XCode system was upgraded to macOC Monterey. Apple has finally updated the source code for objC4-818.2, so we can't...
Read More
OC dynamic method resolution and message forwarding
February 3, 2024
by Adriana Montes
No Comments
Before the foreword, we have respectively analyzed the fast lookup and slow lookup of objc_msgSend. The conclusion is that when sending a message to an...
Read More
OC Basic principle of objc_msgSend method slow search
February 3, 2024
by Lorraine Skinner
No Comments
Preamble: We have already analyzed the quick lookup process of a method, but what functions will be executed when a method has no cache? With...
Read More
How to Swizzling correctly in Objective-C
February 3, 2024
by Tina Simpson
No Comments
This article is last week when I saw the source code of DZNEmptyDataSet, I saw an interesting code. What I have been reading about Swizzling...
Read More
(2) The relationship between alloc, init, new
February 3, 2024
by 段雅芳
No Comments
OC is object-oriented programming. We often use alloc, init, and new to instantiate classes into objects. How do they work and how do they relate...
Read More
Method, IMP and Method-Swizzling
February 3, 2024
by David Gifford-Campbell
No Comments
At this point, if the direct exchange, the new method of the subclass will be exchanged with the original method of the parent class, which...
Read More
Objective C hook scheme/Method Swizzling
February 3, 2024
by Steven Smith
No Comments
Method Swizzling is a technique that changes the actual implementation of a selector. With this technique, we can modify the implementation of a method at...
Read More
KVO is implemented using blocks
February 3, 2024
by 馬宗翰
No Comments
In iOS development, we can use the KVO mechanism to listen for changes in a property of an object. Those of you who have used...
Read More
Bottom exploration – OC message mechanism (2) lookUpImp slow lookup
February 3, 2024
by Megan Hernandez
No Comments
Objc_msgsend_unanalysis and lookUpImpOrForward analysis 2.1 forward_IMP 2.2 checkIsKnownClass
Read More
Alloc exploration of OC underlying principle
February 3, 2024
by Rebecca O'Brien
No Comments
The flow of alloc method is analyzed above, and it is concluded that the call flow of alloc method is alloc ->_objc_rootAlloc ->callAlloc ->_objc_rootAllocWithZone
Read More
Simple iOS code emulates the KVO derived class implementation
February 3, 2024
by Dr. Gillian Clark
No Comments
The simple code emulates the KVO derived class implementation. Of course, some people will ask, "There are many examples on the Internet, just look at...
Read More
OC message mechanism (a) objc_msgSend quick lookup
February 3, 2024
by Robert Martin
No Comments
Quick Lookup process 2.1 Find msgSend source 2.2 GetClassFromIsap16 2.3 CacheLookup analysis 2.4 CacheHit analysis 2.5 Browse real machine assembly
Read More
Explore buffs – Common macros in Objc source code
February 3, 2024
by Kaitlyn Bowden-Larsen
No Comments
1. __LP64__ 2. __ARM_ARCH_7K__ 3. SUPPORT_INDEXED_ISA 4
Read More
XKVO – iOS lightweight communication tool, one to many Block signal listening, using Block to encapsulate KVO
February 3, 2024
by 李懿
No Comments
Foreword always want to find a convenient communication tool that can replace message notification, can avoid writing tedious Delegate interface. By chance, I came into...
Read More
IOS custom back button slide back invalid
February 3, 2024
by Toby Peters-Newman
No Comments
Will get system of vc navigationItem. BackBarButtonItem cause the system to return to failure. In the VC, if you have BaseVC set it directly in...
Read More
OC underlying principle of structural analysis
February 3, 2024
by Abigail Baker
No Comments
Struct obj (objC_class *); struct obj (objC4-818.2); struct obj (objC4-818.2)
Read More