LLDB: examples of common commands

Create symbolic breakpoints Click the + button in the lower left corner of Xcode Breakpoint Navigator to create different types of breakpoints: Swift Error BreakpointException Breakpoint...Symbolic Breakpoint...OpenGL ES Error BreakpointRuntime Issue BreakpointConstraint Error BreakpointTest Failure Breakpoint Although the above seven br ...

Posted by parse-error on Mon, 07 Mar 2022 16:51:12 +0100

iOS - calling Face ID and Touch ID in application

Note that many non-native iOS applications call Face ID in the application to assist login and confirm privacy operations. Here is how to call Face ID or Touch ID. Get user privacy Similar to calling location and camera, first in info Add Face ID permission in plist Privacy - Face ID Usage Description Import header file Import library fil ...

Posted by liquorvicar on Sun, 06 Mar 2022 04:52:17 +0100

Development of IOS -- Network HTTP request

I. overview Several concepts in HTTP network requestSend HTTP request in IOSHTTP request example II. Several concepts in HTTP network request 2.1 URL What is a URL The full name of URL is Uniform Resource LocatorThrough one URL, you can find the only resource on the InternetURL is the address and location of resources. Each resource on t ...

Posted by Brakanjan on Thu, 03 Mar 2022 17:47:39 +0100

Remnant of iOS interview - exorcism sword spectrum

How does GCD work? Included in this article: https://juejin.cn/post/6976878024566243335 1. Serial queue, synchronous operation, no new thread will be created, and the operation will be executed in sequence; Serial queue, asynchronous operation, new thread will be created, and the operation will be carried out in sequence, Usage scenario: op ...

Posted by soto134 on Wed, 26 Jan 2022 08:03:17 +0100

cache exploration and analysis

I cache_t structure analysis First, attach a cache_t principle analysis diagram 1.cache_t source code analysis First, take a look at the general structure of cache in the source code struct cache_t { private: explicit_atomic<uintptr_t> _bucketsAndMaybeMask; // 8 union { struct { explicit_atomic<mask_t& ...

Posted by treilad on Tue, 25 Jan 2022 01:36:34 +0100

Apple mobile phone is equipped with Xcode13 packaging and IOS15 system

In September 2021, Apple released xcode13 and iOS15. Every year, apple requires developers to limit the submission of Xcode versions of market apps. The mobile securities App makes full time preparations to deal with the restrictions in advance. At present, the company's project is adapting in advance, so it is recorded again. 1. Prob ...

Posted by paulrichards19 on Fri, 14 Jan 2022 11:37:47 +0100

"iOS development" how to write a poll gracefully

Article starting address( Mr Huang xiansen's blog (thatisawesome.club)) Business background Think of a business scenario where the client initiates a task submission request to the Server through the / api/commit interface, and the Server returns a successful Response after receiving the request , in order to obtain the execution progress of ...

Posted by Beans on Mon, 10 Jan 2022 05:46:07 +0100

iOS process, thread, lock

Relationship between process and thread A process is an application running in the system. Each process is independent. Each process runs in its dedicated and protected memory space. If a process wants to perform tasks, it must have a thread (each process must have at least one thread, called the main thread). All tasks of a process (progra ...

Posted by bapan on Fri, 07 Jan 2022 03:22:03 +0100

Technical reconstruction and practice of Swift in hand Amoy commodity evaluation

Author: Wang Zhejian (Zhejian) After a month and a half of technical reconstruction, several months of iteration and volume, the new version of the commodity evaluation list of hand Amoy finally completed the whole process with 100% traffic stability on the double 11 in 2021. We have not only made a clear improvement in business, but also pr ...

Posted by snpo123 on Thu, 06 Jan 2022 10:30:10 +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