Need: Use AVCaptureSession in AVFoundation to set camera resolution, frame rate (including high frame rate), switch front and rear cameras, focus, screen rotation, adjust exposure......
1. Encapsulation: encapsulation of member variables: setter and getter methods, convenient and efficient invocation of self. Encapsulation of common methods: concise and efficient, no need...
Protocols are used to define declarations of methods, attributes, and subscripts. Protocols can be structs, classes, and enumerations. Multiple protocols are separated by commas
A static library. Dylib dynamic library. Frmawork static library/dynamic library. Xcframework introduced by Apple in 2018, the framework under different architectures encapsulation
Using objective-C's dynamic runtime allocation mechanism, you can add new methods to existing classes (your own or system or third-party libraries). This way of adding...
1. MVC mode View: responsible for displaying View Model: responsible for data storage (network request) Controller: For View: responsible for responding to interaction and refreshing...
This document describes 1) the NSObject class and how the OC program interacts with the runtime system, 2) specifically focuses on loading new classes at...
Small knowledge, big challenge! This article is participating in the creation activity of "Essential Tips for Programmers". We know that if we want to save...
Ambient lighting: Ambient lighting has no starting point or direction and is available primarily through object color Settings. Diffuse: models the impact of a light...
At present, most large websites have all switched to HTTPS service, so it is necessary to understand the principle of HTTPS, how to ensure information...
This "iOS fish Weekly 19th issue" interview analysis module explains the knowledge point is OC attribute and attribute keywords, so the author made a summary...
If you also want to monitor, control, and access other application information on the MacOS platform, then the following content will help you. Accessibility API...
Source files are preprocessed, precompiled instructions are processed, and.i files are generated, followed by compilation, lexical analysis (lex tool to identify lexical rules semantic table),...
After the user opens the "voice-over" mode in the system Settings, the corresponding content will be broadcast by voice after the user touches the App...
Our community will continue to include Yi Gu (Netflix growth hacker, author of The Way to Interview for iOS, ACE professional fitness coach). Swift algorithm...
This paper analyzes the main working principle of LD64 from the source point of view. In practical application, projects can customize LD64 to fix specific...
Whether you're using Apple Magic Mouse, a third-party device, or a trackpad, the cursor can randomly freeze or disappear on the Mac. While there's no...
Introduction: Recently, in the process of debugging the real machine, suddenly appeared in the App startup for a long time to suspend the phenomenon, each...
This article mainly explains the memory distribution of the object. The essence of the object is actually a structure, so it will also supplement some...