Analysis of 5000 word react native source code
Write at the beginning
Recently, the official account of React-native is the main attack. By the way, I will review the next React-native. Node.js And cross platform direction, architecture and Debug
If you are interested in the proposal, we should recommend the following official account. https://mp.weixin.qq.com/s/RsvI5AFzbp3rm6sOlTmiYQ
Of ...
Posted by godfrank on Mon, 22 Jun 2020 06:32:47 +0200
char,unsigned char,uint8_t,uint16_t
Article directory
char,unsigned char,uint8_t,uint16_t
Summary
Turn NSString
uint8_t,uint16_t
On the range of value
char
int
Calculation method of value range
sizeof()
Some system macros
Recommended reading
char,unsigned char,uint8_t,uint16_t
Summary
Basics
In C/C + +, char is used to de ...
Posted by VBAssassin on Tue, 10 Mar 2020 04:40:27 +0100
Using rime input method in Emacs
When using external input method in email, the biggest problem is that when switching the email mode, there will be a delay for input, because you need to manually switch the input method to the corresponding English mode to use the shortcut keys normally.
But if you use Emacs' own input function, you don't need to do these synchronizations. Yo ...
Posted by Merve on Thu, 16 Jan 2020 12:41:19 +0100
Learn more about oom (low memory crash) in iOS
In the iOS development process or user feedback, you may often see this situation. When you use it, you will crash. When you check the crash stack in the background, you cannot find the crash log. In fact, most of this may be due to the system's low memory crash, that is, oom (another possibility is tha ...
Posted by drums on Thu, 16 Jan 2020 10:18:18 +0100
On how to output a number as original code, inverse code and complement code
There is a question:
Write a function to input a number and output the original code, inverse code and complement code of the number
At first, I didn't use the idea of bit operation, so I wrote the following long code:
(suppose I type - 1754)
#include <stdio.h>
#include <math.h>
int positive(int num) //Used to cal ...
Posted by tested_123 on Tue, 12 Nov 2019 21:01:16 +0100
[top] cocos2d-x 3.0 game development Xcode 5 handsome blog teaching 003.[HoldTail] game world and background...
Original link: http://www.cnblogs.com/riasky/p/3455228.html
cocos2d-x 3.0 game development Xcode 5 handsome blog teaching 003.[HoldTail] game world and background screen
The foreword I wrote to you, when I was learning cocos2d-x, I went ...
Posted by soul on Sun, 20 Oct 2019 16:26:36 +0200
Homebrew package manager
Homebrew Package manager
[toc]
I. Introduction
Homebrew It is a package manager under Mac OS X, which is equivalent to yum and apt-get under Linux. Homebrew It is easy to download and install applications, and it is no longer necessary to search for various installation packages by hand.
Be careful: Homebrew With Mac OS X MacPorts Package Mana ...
Posted by Taro on Sun, 15 Sep 2019 14:49:19 +0200
C++ Implements Queue Data Structure (Link List Description)
Queues are linear FIFO s that can be described using linked lists or arrays. A queue should have the following functions:
1. Create a queue;
2. Check if the queue is not empty;
3. Get the length of the queue;
4. Get the elements of the new team;
...
Posted by 7pm on Tue, 10 Sep 2019 14:30:46 +0200
Dokit supports iOS local crash viewing
I. Preface
Crash problems may arise in our applications during daily development or testing. We should adopt a zero tolerance attitude towards such problems, because if such problems occur online, it will seriously affect the user's experience.
If Crash happens to be in the process of development, developers can locate the cause of the problem ...
Posted by inutero on Tue, 10 Sep 2019 05:33:26 +0200
CMake Introduction - 04 - Custom Compilation Options
work environment
System: macOS Mojave 10.14.6
CMake: Version 3.15.0-rc4
Hello,World! - Custom compilation options
CMake allows you to add compilation options to your project, so that you can choose the most appropriate compilation solution based on the user's environment and needs.
For example, you can set the MathFunctions library as an opti ...
Posted by Zyx on Fri, 23 Aug 2019 11:57:36 +0200