IOS CAEmitter Layer Implementing Animation Effect of Particle Emission
IOS CAEmitter Layer Implementing Animation Effect of Particle Emission
Design sketch
The code has been uploaded to GitHub: https://github.com/Silence-GitHub/CoreAnimationDemo
The animation effect is realized by CAEmitter Layer. CAEmitter Layer displays particle emission animation, the specific particles are encapsulated by CAEmitter Cell. The ...
Added by Joe689 on Mon, 24 Jun 2019 01:32:50 +0300
iOS-imitation sticker rolling (physical simulation)
Guide reading
Simply use OC to write a small ball rolling effect;It's like a balance ball.
GitHub address: https://github.com/wangliujiayou/WLBallView Welcome to Star.
Worship rolling
Get to the Topic - (Sensors)
Sensor is an induction detection device, which has been widely used in smart phones to detect the information around the device. ...
Added by crash4o4 on Fri, 21 Jun 2019 22:56:54 +0300
IO Concurrency Model
IO Classification
IO Classification: Blocking IO, Non-Blocking IO, IO Multiplexing, Asynchronous IO, etc.
Blocking IO
1. Definition: Block if the execution condition is not satisfied when performing an IO operation.Blocking IO is the default form of IO.
2. Efficiency: Blocking IO is a very inefficient type of IO.But because of its simplicit ...
Added by mimcris on Wed, 19 Jun 2019 20:55:11 +0300
Android Implements IOS11 Control Center Schedule Bar
IOS 11 has released beta, and I believe some of the partners with the iphone are eager to upgrade.So in this article, we use a simple custom View to implement a very novel progress bar in the control center similar to iOS 11.
Let's first look at the target effect map and the final result.
Target rendering
Achieving results
Custom Property A ...
Added by CtrlAltDel on Tue, 18 Jun 2019 21:26:43 +0300
Arbitrary combination judgments are still understood with the Switch? Bit operator~
Scenario Reproduction
Many times, when we write programs, there will be such a situation, that is, code multiple-choice operations. For example, the following operations.
For example, there are four view views (A, B, C, D, respectively).
When the button a is clicked, the background color of view A and B changes.
Whe ...
Added by jokerofsouls on Mon, 17 Jun 2019 21:28:32 +0300
iscroll carton? Use JRoll to encapsulate the react plug-in and escape from Carton's routine!
I'm very sorry to have paid attention to the columnists, but there have been few updates in the last month.
This time share a react mobile end encapsulated rolling plug-in.
When we do vertical rolling on the mobile end, there will be various problems, such as carton, penetration, compatibility, and the most intolerable is carton, such as the us ...
Added by MathewByrne on Mon, 17 Jun 2019 03:32:34 +0300
H5 front end uses Vue instead of JQuery
This week's physical condition is not good, so updates are limited. Anyway, it's not urgent for this time and a half, and less is more confusing, isn't it? I'm thinking about a problem now. When resume production is completed and delivered, Nima personnel should install a Node environment in the terminal for npm operation. Eh.......... No IP pa ...
Added by VertLime on Thu, 13 Jun 2019 23:05:08 +0300
NSOperation for iOS Multithread Development - Get on board and have no time to explain!
First, what is NSOperation?
NSOperation is a multithreaded solution offered by Apple. In fact, NSOperation is based on a higher level of encapsulation of GCD, but it is more object-oriented, more readable and more controllable than GCD. It is very important to add operation dependency.
By default, NSOperations can only perform operations synchr ...
Added by BadgerC82 on Thu, 13 Jun 2019 22:11:45 +0300
iOS Tutorial: Attribute Strings
Author: Arthur Knopper, Links to the original text Original date: 2017-04-04
Translator: Crystal Sun Proofreading:way Finalization: shanks
Translator's Note: This is an updated version of the previous article. Old Text Links The Swift version used in the old version is not 3.0. This article updates the code and upgrades to Swift 3.0.
Attribu ...
Added by kark_1999 on Thu, 13 Jun 2019 02:01:43 +0300
MBProgress HUD 1.0.0 Source Parsing
MBProgress HUD is a tripartite library for displaying prompt windows, which is often used for user interaction, background time-consuming operations and other prompts. By displaying a prompt box, the user can be notified of the status of operation or task execution. At the same time, the animation effect can be used to reduce the anxiety of th ...
Added by kaser on Thu, 13 Jun 2019 01:57:09 +0300