Summary: Classic crash of multithreading in iOS

preface iOS crash is a headache for iOS developers. App crashes, indicating that there is a problem in code writing. It is very important to quickly locate the crash site. It's easier to find the problem in the debugging phase, but it's more troublesome to analyze the crash report of the app that has been launched. This article will summarize a ...

Posted by darksniperx on Mon, 22 Jun 2020 09:02:04 +0200

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

Apple-like volume control column

After the upgrade of the tablet, we found that in the new IOS system, the volume-adjusting controls appearing after the scroll make people look very comfortable, good, try to achieve the following on Android. Above: The end result is this. Ideas for implementation: First, draw a rectangle. Step 2, draw a rounded rectangle on top of the ...

Posted by Hillu on Sun, 21 Jun 2020 18:10:04 +0200

iOS realizes recording function

reference material https://www.jianshu.com/p/fb7dfb033989 Audio file related knowledge file format wav: Features: the best sound quality format, corresponding to PCM coding Application: multimedia development, preservation of music and audio materials mp3: Features: good sound quality, high com ...

Posted by hiprakhar on Mon, 15 Jun 2020 08:37:16 +0200

ReactNative: Component encapsulation (e.g. secondary menu components)

1. Introduction Previously, the basic API and UI components of RN are introduced. These components exist in the form of granularity in complex composite components. How to effectively and reasonably use them for packaging is very necessary.There are many benefits to developing composite components, most notably reuse and independent functional ...

Posted by farkewie on Fri, 12 Jun 2020 04:17:07 +0200

Echart's basic graphic configuration and production

1. Introduce echarts ·Introducing src directly into html ·ES imports from node_ module/echarts/echarts ·Generally, VAR ecrats = require ("ecrats"); 2. js configuration 1. Echarts Initialize and bind container var echarts = Echarts.init(document.getElementById('mai ...

Posted by phpn00bf4life on Fri, 05 Jun 2020 06:07:18 +0200

How to get the content height of webView from iOS

In order to obtain the height of WebView, a scheme has been written before -- to update the height in real time by monitoring the changes of scrollView of WebView Attach the link: iOS [ultimate solution] accurately obtains the content height and adaptive height of webView This paper gives a second solution to the inaccuracy of content Height ...

Posted by tywin on Sun, 31 May 2020 08:31:08 +0200

[iOS] Beginner's Advancement: AppDelegate's Slim

Is the code inside an AppDelegate messy? Are there thousands of lines of code in an AppDelegate? image.png AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers. So adding a new category to AppDelegate is the easiest and clearest way to do it i ...

Posted by solon on Tue, 26 May 2020 19:28:06 +0200

Customize the color of the status bar

First, I want to go to Tucao, and I read many blogs on the Internet. I am forced to make complaints about it. Few people can really solve the problem. Some people can really change the color of the status bar. But Nima has a gray layer on top of it, which is also called solving the problem. Some people say it's not easy ...

Posted by mmtalon on Mon, 04 May 2020 06:09:17 +0200

App learning note 1-tabBar and carousel

Today, I started to learn small programs. I started to write apps in my own order. I didn't follow official wechat documents. Some of the controls are a combination of official and online code shared by other students. Basic overview In this part, look at the official website to find out about the composition of the architecture page of the app ...

Posted by samip1983 on Sun, 03 May 2020 15:31:30 +0200