Excel report imitating wechat developed by fluent project

Flutter imitates wechat excel function preface In project development, report is a very common function, which is helpful for users to see the trend and law of data at a glance. It is very suitable for viewing and comparing a large number and a wide variety of data. Although Flutter provides Table, DataTable and other related components, in t ...

Posted by davidlenehan on Fri, 28 Jan 2022 14:11:43 +0100

RxSwift + Moya + HandyJSON + various plug-ins to build a responsive network architecture

๐Ÿงš. RxSwift + Moya + HandyJSON + Plugins.๐Ÿ‘’๐Ÿ‘’๐Ÿ‘’ English |Simplified Chinese Build responsive data binding network API architecture based on RxSwift + Moya MoyaNetwork The module is based on the network API architecture encapsulated by Moya It is mainly divided into the following 8 parts: NetworkConfig : set the configuration informati ...

Posted by sasi on Fri, 28 Jan 2022 02:27:08 +0100

Continuation - connects asynchronous tasks and synchronous code

Proposal: SE-0300Authors: John McCall, Joe Groff, Doug Gregor, Konrad MalawskiAudit Supervisor: Ben CohenStatus: implemented in Swift 5.5Historical revision: 1, 2introduceAsynchronous Swift code needs to be able to be used with existing synchronous code, which uses technologies such as completion callback or delegate method to respond to events ...

Posted by anups on Thu, 27 Jan 2022 22:12:44 +0100

Basic use and advanced practice of NavigationView of SwiftUI

1, Foreword In the framework of UIKit, we often use UINavigationViewController to manage page push and pop, which is the basic operation of page management. When it comes to SwiftUI, the operation is completed by NavigationView and NavigationLink.This article starts with the basic application of NavigationView, and then adds how to flexibly us ...

Posted by poisa on Thu, 27 Jan 2022 14:55:16 +0100

Convert the value of key value pair to NSNumber type into standard string

The apple client receives the data from the background and needs to convert it into an object before it can be used. Some beginners or lazy people may directly use the results put back in the background without object conversion. Even no matter what type of data is processed according to string, it will be converted to the types defined by inte ...

Posted by SharkBait on Wed, 26 Jan 2022 11:27:14 +0100

Remnant of iOS interview - exorcism sword spectrum

How does GCD work? Included in this article: https://juejin.cn/post/6976878024566243335 1. Serial queue, synchronous operation, no new thread will be created, and the operation will be executed in sequence; Serial queue, asynchronous operation, new thread will be created, and the operation will be carried out in sequence, Usage scenario: op ...

Posted by soto134 on Wed, 26 Jan 2022 08:03:17 +0100

cache exploration and analysis

I cache_t structure analysis First, attach a cache_t principle analysis diagram 1.cache_t source code analysis First, take a look at the general structure of cache in the source code struct cache_t { private: explicit_atomic<uintptr_t> _bucketsAndMaybeMask; // 8 union { struct { explicit_atomic<mask_t& ...

Posted by treilad on Tue, 25 Jan 2022 01:36:34 +0100

42. Detailed explanation of GridView component of fluent

GridView GridView can build a two-dimensional grid list, and its default constructor is defined as follows: GridView({ Key? key, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController? controller, bool? primary, ScrollPhysics? physics, bool shrinkWrap = false, EdgeInsetsGeometry? paddin ...

Posted by statrat on Sat, 22 Jan 2022 07:18:54 +0100

iOS regular expression

preface In the actual development, almost every APP will have the function of login and registration. During login and registration, it is necessary to verify whether the content entered by the user meets the requirements; Sometimes you even need to find and intercept a string that meets the requirements in the string. At this time, you need t ...

Posted by toxic_brain on Fri, 21 Jan 2022 11:50:11 +0100

Detailed introduction to iOS SDWebImage

In the picture loading framework of iOS, SDWebImage The frequency of use is very high. It supports downloading and caching pictures from the network, and setting pictures to the corresponding UIImageView control or UIButton control. Using SDWebImage to manage image loading related operations in the project can greatly improve the development ef ...

Posted by love_php on Wed, 19 Jan 2022 20:27:02 +0100