Ceph use series -- Ceph RGW use

The theme of this article is "Ceph use series - Ceph RGW use", welcome to pay attention. Ceph RGW introduction Ceph object gateway is an object storage interface built on librados, which aims to provide a RESTful gateway to Ceph storage cluster for applications. Ceph object storage uses t ...

Added by isuckat_php on Fri, 19 Jun 2020 11:32:47 +0300

Summary of iOS Caton monitoring scheme

After sorting out the schemes of Caton monitoring in iOS, if you don't understand the principle of Caton, you can read this article iOS's skill of keeping the interface smooth , well written. FPS FPS (Frames Per Second) is a definition in the image field, which represents the number of rendered fra ...

Added by sx on Thu, 05 Mar 2020 06:14:00 +0200

swift carousel + network request + custom cell

Paging controller 1. Paging controller Import third party PagingMenuController Third party links: https://github.com/kitasuke/PagingMenuController Import links using third-party methods: http://www.hangge.com/blog/cache/detail_1656.html Using PagingMenuController ViewController.m ViewController1,ViewController2,ViewController3,V ...

Added by R4nk3d on Fri, 27 Dec 2019 00:47:19 +0200

Swift 4.2 standard library changes

Swift 4.2 released 1. RangeReplaceableCollection collection add conditional delete method( Official text) protocol RangeReplaceableCollection { /// Removes every element satisfying the given predicate from the collection. mutating func removeAll(where: (Iterator.Element) throws -> Bool) rethrows } extension RangeRepla ...

Added by anoopmail on Wed, 25 Dec 2019 20:58:23 +0200

Swift. Rotation animation, 100 lines of code

Effect: Static: sub view s are arranged symmetrically, allowing dynamic addition, and 0 ~ 24 can be displayed well When rotating: the center view does not move, the sub view rotates with the gesture, and the bottom sub view becomes larger and prominent Implementation ideas: All the controls are added to a large background v ...

Added by saeeddeep on Thu, 12 Dec 2019 21:45:07 +0200

iOS12 WKWebView getting cookie s and using wkwebview JavaScript Bridge

Recently, using WKWebView to obtain cookie s by proxy method has been unsuccessful. Later, I found that there was a problem with the newly upgraded IOS 12, so I directly added the code - (void)webView:(WKWebView *)webView decidePolicyForNavigationResponse:(WKNavigationResponse *)navigationResponse decisionHandler:(void (^)(WKN ...

Added by gfmitchell on Wed, 11 Dec 2019 21:51:50 +0200

[30 swift projects in 30 days] swift 5 learning 01.CustomFont

In the 01.CustomFont project, the main learning is the installation and use of SnapKit, the automatic layout library. 1.SnapKit installation The content of Podfile is as follows: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' use_frameworks! target 'CustomFont' do pod 'SnapKit' end Locate the directory of Pod ...

Added by sanlove on Tue, 12 Nov 2019 18:39:40 +0200

What's new in C × 8.0

01. Readonly member The readonly modifier can be applied to any member of a structure, indicating that the member does not modify the state. This is finer than applying the readonly modifier to a struct declaration. public struct Point { public double X { get; set; } public double Y { get; set; } public double Distance = ...

Added by Stryks on Mon, 21 Oct 2019 08:44:19 +0300

SwiftDate Use Notes

The new version of SwiftDate has some major updates, removes the original DateFormat and adds something new. 1. String to Date SwiftDate can automatically identify the mainstream time formats (ISO8601, RSS, Alt RSS,. NET, SQL, HTTP...), and you can also specify formats manually. Creating a new Date has never been so easy. // All default datetim ...

Added by BoltZ on Thu, 12 Sep 2019 06:31:27 +0300

How to Realize the Development of a Account APP

Some time ago, I was very interested in the details of the implementation of the hand account app, so I wanted to achieve a minimal viable product. Of course, since it's a product in MVP mode, it only realizes "function", but in some places where I especially want to "copy" I have made a little effort to pursue the performa ...

Added by ArcAiN6 on Mon, 26 Aug 2019 09:02:57 +0300