LLDB: installation and use of Chisel

Introduction to Chisel What is Chisel? Chisel is an open-source set of LLDB commands from Facebook to assist developers in debugging iOS applications. The commands in chisel are run based on the python script interpreter supported by LLDB. That is to say: chisel is actually a collection of Python scripts. These Python scripts splice comma ...

Added by eddedwards on Sat, 05 Mar 2022 08:01:43 +0200

Principle of auto release pool page

The entry of all app s is a main function int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } It can be found that the entire iOS application is contained in an automatic release pool block@autoreleasepool {} is essentially a structure: ...

Added by treybraid on Sat, 05 Mar 2022 02:27:48 +0200

iOS auto build command -- xcodebuild

When I came to the company every day, one thing I needed to do every day was to open Xcode, pack ipa and upload it to fir. I do the same thing day after day, month after month, year after year. As an aspiring engineer, this is a problem that must be solved, so I decided to solve the problem automatically. brief introduction xcodebuild is an a ...

Added by ursvmg on Fri, 11 Feb 2022 11:28:35 +0200

iOS development NSTimer timer

preface In the process of iOS development, we often use three kinds of timers: NSTimer timer, CADisplayLink timer and GCD timer. This article only introduces NSTimer timer. What is NSTimer runLoop literally means a loop in operation. Its function is to keep the APP running continuously and deal with various events of the APP, such as cli ...

Added by rashmi_k28 on Tue, 08 Feb 2022 12:50:12 +0200

Take you to a Netease cloud music home page (Part I)

preface Hello, everyone, I've been learning to encode with Swift recently. Because many previous projects were implemented with OC, I'm still in the stage of learning about Swift. In order to improve my learning efficiency, I will set a short-term goal for myself every time. This time, in order to speed up my starting Swift, my goal is to comp ...

Added by zxiny_chin on Sat, 15 Jan 2022 23:28:34 +0200

Implementation of IOS Tom Cat Game

After learning a lot of ios knowledge, today we will realize a classic little game, tom cat game, without much nonsense, and directly enter the topic. 1, Effect display 2, Preparation and knowledge points 1. Because the program generates various effects through a series of animations formed by pictures, we need to prepare the pictures requ ...

Added by Dale on Fri, 14 Jan 2022 20:11:09 +0200

swift installation skills: how to use map to generate arrays and write 2 lines less code than for (with demo code)

Let's start with the conclusion: map uses 3 lines of code to solve the problem of 5 lines of code in the for loop, which is equivalent to a 40% increase in efficiency You can't learn without (I said) If you don't use it, you won't be able to use it Because you don't know the usage scenario, you can't use it because you haven't learned it ...

Added by MilesStandish on Fri, 14 Jan 2022 02:57:58 +0200

iOS14+Swift5.x+Xcode12 learning notes - UITableView

brief introduction Table view is a view that displays the contents row by row. Each row is called a Cell. iOS has only one Cell per row by default. Cells support customization. Cells are divided into dynamic and static. Dynamic refers to the automatic generation of cells during program operation. It is generally used when the specific numb ...

Added by phpwizard01 on Mon, 27 Dec 2021 00:23:43 +0200

SwiftUI APP integrates Google mobile advertising Admob

For all articles, please move to: SwiftUI APP integrates Google mobile advertising Admob (I): https://www.xugj520.cn/archives/swiftui-admob-1.html SwiftUI APP integrates Google mobile advertising Admob (II): https://www.xugj520.cn/archives/swiftui-admob-2.html Introduction: As more and more applications are built using SwiftUI, I want to pro ...

Added by cyprus on Thu, 09 Dec 2021 03:53:38 +0200

[iOS study notes] - talk about wild pointer and zombie object positioning

[iOS study notes] - talk about wild pointer and zombie object positioning 1, Start with an exception In the development of iOS projects, we will encounter some Crash situations more or less. Most of the exceptions thrown by Crash are from the NSException layer. Such exceptions are caused by OC layer code problems. Usually, the stack informati ...

Added by Elarion on Sun, 05 Dec 2021 18:08:58 +0200