Flutter App software debugging guide
Preface
Recommend: Android learning PDF + Architecture Video + interview document + source notes
In the actual development, the proportion of testing and debugging time is relatively high in the total development time. When repairing product defects, we usually need to observe the value of an object in real time. Although output can be in the f ...
Posted by mikemike on Thu, 17 Oct 2019 06:05:26 -0700
52 effective methods - try to access instance variables directly inside the object
Try to access instance variables directly inside the object
When reading data inside an object, it should be read directly through instance variables, while when writing data, it should be written through attributes.
_name = @"Jack" does not send messages through setter, and directly assigns values to variables, which is fast.
For t ...
Posted by Patch^ on Tue, 15 Oct 2019 06:51:31 -0700
DP (Interval Topic 1)
Question: There are several snacks n, packed in pipes (No. 1 n1-n1 n). Now you can take out a box of snacks every day. The contribution of each box of snacks to the answer is that the price of the snack multiplied by the number of days it was taken. Ask what is the maximum value.
>> face <&l ...
Posted by Invincible on Mon, 14 Oct 2019 08:22:53 -0700
Gcd HDU - 6545 (basic number theory)
wls has an integer n, he wants to divide the N numbers of 1_n into two groups, each group has at least one number, and make the sum of the two groups of numbers the largest common divisor, please output the largest common divisor.
Input
Enter an integer n in a row.
2 ≤ n ≤ 1, 000, 000, 000
Output
Output a line and an integer to represent the an ...
Posted by smoothrider on Fri, 11 Oct 2019 09:31:40 -0700
[POJ-3273] Monthly Expense (dichotomy)
Monthly Expense
Go straight to Chinese
Descriptions
Give you a sequence of length N, and now let you cut them into M parts (so each one is continuous), and then each one has a sum[i]. The largest one is maxSum = max(sum[i]). Ask what is the minimum of this maximum value?
input
Multiple Input and Output GroupsThe first row of each set of da ...
Posted by jrws on Thu, 10 Oct 2019 13:49:00 -0700
SP1716 GSS3 - Can you answer these queries III
meaning of the title
Sequence single point modification, interval inquiry maximum continuous subsection sum.
Maximum subsections and hard to update, but the single point of modification here reduces the difficulty and does not need to maintain tags. What we need to do now is to support queries with maximum subsections by maintaining several dat ...
Posted by raja9911 on Thu, 10 Oct 2019 10:09:02 -0700
iOS Development Advancement (Tang Qiao) Reading Notes
How to Improve iOS Development Skills
1. Reading blogs: https://github.com/tangqiaoboy/iOSBlogCN Blog addresses of more than 40 iOS development bloggers
2. Reading: Reading a high-quality iOS development book every year
3. Watch WWDC Video
4. Look at Apple's official documents
5. Look at the code for open source projects
6. Write more code and ...
Posted by Sonu Kapoor on Thu, 10 Oct 2019 04:53:56 -0700
Bit field-isa pointer
I. isa pointer structure
union isa_t
{
isa_t() { }
isa_t(uintptr_t value) : bits(value) { }
Class cls;
uintptr_t bits;
#if SUPPORT_PACKED_ISA
// extra_rc must be the MSB-most field (so it matches carry/overflow flags)
// nonpointer must be the LSB (fixme or get rid of it)
// shiftcls must occupy th ...
Posted by robinhood on Wed, 09 Oct 2019 15:36:21 -0700
Android, iPhone and Java are three platform-consistent encryption tools
import java.security.Key;
import javax.crypto.Cipher;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESedeKeySpec;
import javax.crypto.spec.IvParameterSpec;
/**
* 3DES Encryption Tool Class
*
* @author liufeng
* @date 2012-10-11
*/
public class Des3 {
// secret key
private final static ...
Posted by Cogen on Mon, 07 Oct 2019 05:19:07 -0700
react-native custom Modal modal box, imitation ios, RN
Preorder
Throughout every high-quality project, whether on the web side or in the development of native applications, pop-up windows are an indispensable part, which can directly determine the user experience to a large extent. For example, there is a very mature set of window UI display scenes in ios.
Recently, I have been addicted to the re ...
Posted by cjdesign on Mon, 07 Oct 2019 01:32:46 -0700