React Native Hot Update and Mixed Development

With the continuous development and improvement of React Native, more and more companies choose to use React Native instead of iOS/Android to develop some business lines, and many companies using Hybrid technology turn to React Native. Although React Native still has a lot of pits for now, it's perfectly competent for App, which focuses on Appl ...

Posted by xtheonex on Sat, 22 Jun 2019 13:28:50 -0700

java Enhancement (5) - - Using Serialization to Realize Copy of Objects

We know that Java The Cloneable interface exists, and the classes that implement it all have the ability to be copied. At the same time, the copy is done in memory, which is faster in performance than the object generated directly by new. Especially in the generation of large objects, the performance improvement is very obvious. However, we k ...

Posted by sell-traffic on Thu, 20 Jun 2019 14:01:13 -0700

AFURLSession Manager, the Core of AFNetworking (II)

AFURLSession Manager is absolutely the core of AFNetworking. Responsible for creating and managing NSURLSession Managing NSURLSession Task Implementation of proxy methods in NSURLSession Delegate and other protocols Managing progress using AFURLSession Manager Task Delegate Using _AFURLSession TaskSwizzling Adjustment Method Introducing AFS ...

Posted by tarun on Wed, 19 Jun 2019 17:40:54 -0700

iOS Recording 12: Issues Neglected in NSMutableArray Use

[This is Article 12] Introduction: The API provided by NSMutableArray addresses most of the requirements, but in actual iOS development, threading security or weak object reference or deletion of elements are three issues to consider in some scenarios. I. Thread-safe NSMutableArray NSMutableArray itself is thread insecure.Simply put, thread sec ...

Posted by Haktar on Tue, 18 Jun 2019 09:16:40 -0700

H5 front-end project starts with basic layout

We then went on to the previous project. The first part mainly talked about the skills we need to master at the front end, and quickly built the project through vue.js and element-ui. But as I said before, I don't like using third-party things very much. So I don't need bootstrap, nor jquery, nor any tripartite components. I only use Vue family ...

Posted by betportal on Sun, 16 Jun 2019 16:01:40 -0700

IOS Airplay -- Implementation of Airtunes Music Play on Android Box and Mobile Phone (Part 2)

In the last article, we let iOS devices discover Android devices via AirTunes link. In this article, we will complete iOS devices connected to Android devices via AirTunes. 3. Implementing iOS devices connected to Android devices via AirTunes 1. Use netty to construct a server and set the basic configuration. final ServerBootstrap airTunesBoo ...

Posted by smordue on Sun, 16 Jun 2019 15:20:23 -0700

Project component generalization based on CooaPods

Project component generalization based on CooaPods Introduction In the field of mobile development, it is not as hot as the previous two years. Previously, companies could have several mobile developers. At present, most companies have only one or two developers, but there are several projects. Among company projects, many parts are common. Bef ...

Posted by Brink Kale on Sun, 16 Jun 2019 12:33:27 -0700

How React Native eliminates startup whitescreen

There is a short white screen after the start of RN project. The white screen takes a long time during debugging phase, about 3-5 seconds. The white screen time will be greatly shortened after playing a formal package. Most of the time is flashing, so it is called "flash". In fact, there are many solutions, here is a simple summary ...

Posted by kybaker on Sat, 15 Jun 2019 09:45:21 -0700

OC small code block

1. Set the font color and size of the navigation bar title Method 1: (Custom view method, the general public will also adopt this way) To add a titleView to the navigation, you can use a label, and then set the background color of the label to be transparent. It's easy to set the font or something.         //Custom Title View UILabel *t ...

Posted by simon71 on Fri, 14 Jun 2019 14:08:19 -0700

C++ Initial Introduction, Write a Mentally Impaired Bank Card System

Before the text Since the curriculum design, we have started production practice. Our teacher is looking for an internship in the technical department of Henan Weihua Group. After a period of maladjustment (for example, the basic tasteless food here in Henan Province, one of us now has a meal or an old godmother), I finally started a new learni ...

Posted by PromaneX on Thu, 13 Jun 2019 17:28:10 -0700