KVO FBKVOController analysis of iOS underlying exploration
review
In the previous blogs, we have introduced the basic use of KVO and how to customize KVO. This blog will analyze FBKVOController, an excellent KVO third-party library.
KVO (I) - An Introduction to KVO KVO (II) - KVO principle analysis of iOS underlying exploration KVO for iOS bottom layer exploration (III) - Custom KVO KVO for iOS bott ...
Posted by andybrooke on Tue, 04 Jan 2022 12:57:59 +0100
Let Flutter transform your dialog! (Attach,Dialog,Loading,Toast)
prefaceQ: What's the most smelly thing you've ever smelled in your life?A: My rotten dream.Brother Meng!!! I'm here again!This time, I can confidently say to you: I finally brought you a pub package that can really help you solve many pit ratio scenes!Put the previous shuttle_ smart_ Dialog, on the basis of maintaining the stability of the api, ...
Posted by HokieTracks on Mon, 03 Jan 2022 16:11:15 +0100
Classes and structs in Swift
Comparison of classes and structures
Classes in swift:
class LLPerson {
var age: Int
var name: String
init(_ age: Int, _ name: String) {
self.age = age
self.name = name
}
}
var person = LLPerson(18, "LL")
var person1 = person
Class is a reference type, person to person1 is the assignment of the poi ...
Posted by DarkShadowWing on Mon, 03 Jan 2022 08:17:32 +0100
KVO principle analysis
preface
*** KVO official document link
I Share some details about KVO
1.context function
First, let's take a look at the description of context
addObserver:forKeyPath:options:context: the context pointer in the message contains any data, which will be returned to the observer in the corresponding change notification. You can specify NULL ...
Posted by LuiePL on Sun, 02 Jan 2022 21:05:24 +0100
KVO of iOS underlying exploration - Custom KVO
review
In the first two blogs, we have introduced the relevant operations of KVO, and the underlying logic of KVO is realized by dynamically generating subclasses and rewriting parent classes. How can we customize a KVO?
KVO (I) - An Introduction to KVO KVO (II) - KVO principle analysis of iOS underlying exploration
1. Preliminary analysis ...
Posted by wiseoleweazel on Sun, 02 Jan 2022 20:49:54 +0100
Meituan iOS reverse engineering analysis
Tech: meituan iOS reverse engineering analysis
by ChenQi
Tech: reverse engineering analysis of meituan Android , nine months ago, I conducted a simple unpacking analysis on meituan Android App, mainly to understand the implementation of meituan MRN engineering structure, and observe the module design division and code volume proportion of ...
Posted by shah on Sat, 01 Jan 2022 20:41:15 +0100
Composite multiplatform supporting PC, Web and Android enters Alpha version
Original link: https://blog.jetbrains.com/kotlin/2021/08/compose-multiplatform-goes-alpha/
The release of Compose Multiplatform marks a new step forward in developing unified UI support using Kotlin!
Based on Google released Jetpack Compose Android 1.0 stable Premise:
Compose for Desktop and Compose for Web have been upgraded to Alpha ver ...
Posted by mosherben on Fri, 31 Dec 2021 19:37:20 +0100
Managing file systems using NSFileManager
As one of the basic resources used by all processes, file system is mainly used to process data files, applications and persistent storage related to the operating system itself in Mac OS and iOS.
The file system format in iOS is HFS Plus, and the main format in macOS is HFS Plus. Since the number of files can easily reach millions, the file s ...
Posted by jeff_papciak on Fri, 24 Dec 2021 11:22:09 +0100
SwiftUI custom segmented control
Boring start:
You need to create a segmented control. The effect is as follows:
Does it look familiar? Yes, it looks like Android, right?! The black underline will move under the selected title, and can automatically expand and shrink according to the length of the text.
Why is it so Android like? Because I spent an afternoon getting i ...
Posted by pl_harish on Thu, 23 Dec 2021 20:52:54 +0100
Write a fluent persistent session manager
preface
Last Flutter network request session management This paper introduces Dio's Cookie processing. Although the desired effect has been achieved, there are still three problems to be solved:
Cookie management code and business code are put together, exposing the details of the implementation.Cookie s are not persistent. Once the App is cl ...
Posted by direwolf on Wed, 22 Dec 2021 23:10:31 +0100