Basic introduction to Swift (15) - properties - let you know

8 tips for TED speech: Learn 18 minutes of efficient expression - key notes Swift basic introduction (14) - class & structure (category and structure) - tell you to understand Understanding difficulty ★★★★☆ Practical degree ★★★☆☆ Property is the value of a specific type (class, structure or enumeration), which can be used in the ...

Posted on Mon, 06 Dec 2021 16:00:50 -0500 by jimlawrnc

Flutter realizes the transmission and analysis of routing parameters

Last Implementation of fluent page routing and 404 route interception This paper introduces the use of routing to realize page Jump, so as to simplify the coupling between pages and realize route interception. In actual development, we often need to carry routing parameters when the page jumps. A typical example is when we go from the list to t ...

Posted on Tue, 30 Nov 2021 17:22:32 -0500 by jminscoe

Fluent uses custom fluro routing transition animation to realize personalized page switching

fluro transition animation source code Before using custom transition animation, first pick the source code of fluro. Through the source code, you can find such a standard transition method: RouteTransitionsBuilder _standardTransitionsBuilder( TransitionType? transitionType) { return (BuildContext context, Animation<double> an ...

Posted on Tue, 30 Nov 2021 15:30:53 -0500 by soulmasta

Get through the implementation principle of ReentrantLock lock, one of JAVA and kernel series

Introduction: students who write JAVA code know that there are two types of locks in JAVA, one is synchronized lock, and the other is the lock in concurrent package (JUC lock). The synchronized lock is a capability provided by the JAVA language level. It will not be expanded here. This paper mainly discusses the ReentrantLock lock in JUC.Author ...

Posted on Sun, 28 Nov 2021 21:49:17 -0500 by geus

Deep optimization of taote fluent streaming scene

Author: Jiang Zejun (true meaning)Taote uses Flutter in many business scenarios. In addition, the business scenario itself has a certain complexity, which makes it obvious that Flutter uses native (Android/iOS) development in the sliding browsing process of low-end streaming scenarios. By analyzing the performance problems of the business layer ...

Posted on Fri, 26 Nov 2021 10:41:25 -0500 by NoSalt

CocoaMQTT v2.0: the first iOS client supporting MQTT 5.0

In August 2017, OASIS MQTT Technical Committee officially released the for Public Review MQTT 5.0 Draft of. In 2018, MQTT 5.0 was officially released. However, until now, there is still no client SDK fully supporting MQTT 5.0 in Apple ecosystem.CocoaMQTT It is the MQTT CLIENT SDK provided by EMQ team for iOS developers. At present, it is widely ...

Posted on Wed, 24 Nov 2021 09:57:52 -0500 by duall

ios: life cycle, AppDelegate and SceneDelegate

AppDelegate explain Open the main.m file of your app and you can see // UIApplicationMain is mainly responsible for initializing application objects from a given class name, initializing an application delegate from a given application delegate class, starting the main event loop, and starting to receive events // The third parameter pri ...

Posted on Mon, 22 Nov 2021 22:45:57 -0500 by XtacY

KVO principle analysis

introduceKVO, fully known as KeyValueObserving, is a set of event notification mechanism provided by apple. Allows an object to listen for changes to another object's specific properties and receive events when they are changed. Because of the implementation mechanism of KVO, it works on attributes. Generally, objects inherited from NSObject su ...

Posted on Sat, 20 Nov 2021 22:10:38 -0500 by mickey9801

Design pattern - Command Pattern & mediator pattern & composite pattern ~ AppDelegate decoupling

preface Hi Coder, I'm CoderStar! This week, I will mainly share with you three design modes (command mode, mediator mode and combination mode) and their applications in the AppDelegate decoupling scenario, especially the combination mode, which precipitates the corresponding wheels for you to share. At the same time, let me tell you about th ...

Posted on Sat, 20 Nov 2021 09:24:24 -0500 by Prismatic

Fluent learning - Animation

For a front-end App, adding appropriate animation can give users a better experience and visual effect. Therefore, whether it is native IOS or Android, or in front-end development, it will provide an API for dictation animation Flutter has its own rendering closed loop. Of course, we can provide it with a small data model to help us achiev ...

Posted on Fri, 19 Nov 2021 10:00:05 -0500 by Kold