In the development process, we often set parameters for the properties of an object for many times. For example, when setting a UILable and UIButton,...
Requirement: The APP converts the sound (Audio Queue/Audio Unit) collected by the microphone into DB through the formula and then displays it on the interface...
A comprehensive (QQ Music, wechat, Meituan, Youku, Huya live and many other apps) style search, support custom search suggestions, custom cache path, support internationalization, etc
This article mainly introduces the iOS loading PDF method. Using webView loading is the simplest way, this is the biggest advantage, easy to use, and...
There have been many articles on the principle of online elaboration, here recommend a few links. Complete packaging, easy to use, only need to import...
Despite its emphasis on static typing, Swift also supports rich metadata types. Metadata types allow code to examine and manipulate arbitrary values at run time....
Problem analysis to the above has been very clear, nothing more than interception processing, the following to talk about the specific implementation. This step is...
Method Swizzling is the most discussed content in Objective-C runtime. This article mainly introduces the problems encountered in using Method Swizzling and the Swizzling scheme...
Swift was released in 2014, and after apple's continuous improvement and improvement, the syntax has become stable. Swift is highly recommended for new projects, since...
Select company - and project-related prefixes for the class names. To avoid conflicts caused by repeated references to third-party libraries, prefix them if necessary. Provide...
1.1 objc_msgSend Calls a method in Objective-C, called message passing. A message has a name or selector, can receive arguments, and may return values. objc_m
This article will examine how to improve OC code quality from an object-oriented perspective. Properties (@Property) are a feature of OC. @property: The compiler automatically...
IOS UITableView has its own index function, but the implementation of the function is relatively simple, only supports, slide index view to achieve fast sliding...
Protocol: Protocols in OC are similar to interfaces in Java. OC does not support multiple inheritance. However, the delegate pattern can be implemented through protocols....
The effect of time complexity on performance seems minimal when the amount of data in the collection is small. But this complexity optimization is important...