iOS animation - window view (end of 3)

This article is the third in a series. Friends who have read the previous article already know that "view" in the title refers to view and "window" refers to view view.mask , the window view chapter is combing mask and mask animation. If you are not familiar with iOS mask, it is recommended to take a look first Part I. In t ...

Posted on Sat, 27 Jun 2020 22:30:29 -0400 by varghesedxb

"Talk about deep copy and shallow copy"

A: 1. Light copy The reference type of the copy object and the original object refer to the same object. All variables of the copied object contain the same value as the original object, while all references to other objects still point to the original object. In other words, a shallow copy copies onl ...

Posted on Fri, 12 Jun 2020 05:37:07 -0400 by cavolks

How do I make HTTP requests in Swift?

This article is translated from: How to make an HTTP request in Swift? I read The Programming Language Swift by Apple in iBooks, but cannot figure out how to make an http request (something like CURL) in Swift. Do I need to import Obj-C classes or do I just need to import default libraries? Or is it ...

Posted on Fri, 12 Jun 2020 01:59:46 -0400 by aquayle

Anbox source code analysis -- anbox rendering principle (source code analysis)

Anbox source code analysis (3) In the previous article, we introduced the principle of Anbox video rendering. In this article, we started from the source code to have a deeper understanding of the mechanism and principle of Anbox and rendering session manager entry The entry function of session mana ...

Posted on Tue, 09 Jun 2020 03:27:28 -0400 by ScratchyAnt

How to improve the quality of iOS code through static analysis

  With the expansion of the project, it is more and more unrealistic to rely on human codereview to ensure the quality of the project. At this time, it is necessary to use an automatic code review tool: program static analysis.   Program Static Analysis is a kind of code analysis technology that can scan the program code through lexical analys ...

Posted on Tue, 26 May 2020 04:01:28 -0400 by onekoolman

Ceph distributed storage dual active service configuration

Ceph is born with the concept of two places and three centers. The so-called double activity is two multi-site. Ceph two data centers can be in one cluster or in different clusters. The structure diagram (other mountain stone) is as follows: 1. Environmental information 2. Create Master zone In a multi site configuration, all RGWS will receiv ...

Posted on Fri, 22 May 2020 05:16:47 -0400 by Coreyjames25

GCD deals with multithreading and synchronous operation of Han Junqiang's blog

Original address: http://blog.csdn.net/qq_31810357/article/details/78906308 No reprint without permission! GCD uses dispatch group notify, dispatch group enter, dispatch group leave to handle multithreaded synchronization operations 1, Introduction Dispatch [group] enter: notify the group that the following tasks will be executed in the g ...

Posted on Sun, 03 May 2020 11:47:00 -0400 by mattnoble

Swift: asynchronous chain call of alamofire

Alamofire It is a common swift network library. This paper will analyze the chain call of Alamofire. Friends who are not familiar with Alamofire can read this first Article Chain call example extension Int { func add(_ num: Int) -> Int { return self + num } func minus(_ num: Int) -> Int { return s ...

Posted on Tue, 31 Mar 2020 12:46:26 -0400 by scritpkid

openstack Learning Notes 3: Kestone Installation Deployment

1. Keystone's architecture Keystone(OpenStack Identity Service) is the module in the OpenStack framework responsible for managing authentication, service rules, and service token functions.Keystone is the core module of Openstack, providing authentication and authorization services for Nova, Glance, Swift, Cinder, Neutron, and Horizon.The Keys ...

Posted on Mon, 30 Mar 2020 17:06:53 -0400 by phreek

Runtime objc4-756.2 analysis of the source code relationship between class RO and class RW in objc class

First source code struct objc_class : objc_object { // Class ISA; Class superclass; cache_t cache; // formerly cache pointer and vtable class_data_bits_t bits; // class_rw_t * plus custom rr/alloc flags class_rw_t *data() { return bits.data(); } ....(H ...

Posted on Fri, 21 Feb 2020 04:41:17 -0500 by deft