Network requests will be completed asynchronously, so it is certain to encounter thread safety issues, need to be in some shared data read and write,...
1. Internal implementation principle of SDWebImage step 2 set the maximum cache and time 3. Distinguish: three various cache (image cache memory and disk image...
This whole transition thing, it's as simple as it gets, Can pass presentViewController: animated: completion: and dismissViewControllerAnimated: completion: a set of functions in the form...
Memory management is a core concept in any programming language. Although there are many tutorials that explain the basics of Swift's automatic reference counting, I...
The above method of downloading pictures using threads is outdated. In development, we mostly use GCD and NSOperation to achieve multi-threaded operations. Grand Central Dispatch...
"This is I participated in the 13th day of the August more challenge, activity details view: August more challenge" pay attention to me, the following...
The following will combine the source code of Alamofire parameter to analyze why these two parameter formats are not satisfied step by step. It's worth...
First, create TabView. Create view files and folders corresponding to home page, Boiling point, Discovery, booklet and me. Second, home - search bar search
The most commonly used timing method for daily development is NSTimer, and CADisplayLink and GCDTimer are still a bit cumbersome to write. But there's an...
This section introduces object management in RunLoop. The main managed objects of RunLoop include Modes, monitoring objects (Sources, Observers, Timers), and the more specific Common...
Limit merchant positioning to areas outside the mainland through latitude and longitude judgment. Use Autonavi SDK for judgment. (If the location information is manually entered,...
The abstract Factory pattern is a creative design pattern that creates a set of related objects without specifying their concrete classes. Scenario for example, you're...
In the previous article, we introduced functions and queues. We also looked at calling stacks of functions; Today we are going to analyze how deadlocks...
It is recommended to look at the principles of multithreading to understand the various concepts in this chapter. What is the content of this chapter?...
Semaphores are similar to 'binary semaphores' on page 26 of The Programmer's Self-improvement book. A Binary Semaphore is the simplest type of lock, which has...
"This is I participate in the 14th day of the August more challenge, activity details view: August more challenge" pay attention to me, the following...
Alamofire in the request related types are added by means of extension many methods, these methods have Alamofire internal business related, there are also some...
Mobile APP network optimization is a relatively important client technology to optimize the direction of one of the direction, the vast majority of APP requires...
Here is Daxin, this article is mainly to compile the integration of iOS development memory management related interview questions, there are more ideas and questions...