During the iOS development process, I always knew that updating the UI needed to be in the main thread, but I didn't think much about why it was in the main thread, or why I couldn't update the UI in the child thread. Today I find time to look up
pre-development must have (1 and 2)
1.MAC Operating System
2. Successfully run the Reactnative project
3. Create an iOS project project called Reactnativeios
4. Create a folder rnlibrary in the corresponding directory of the project (name can be
turn from: http://blog.csdn.net/like7xiaoben/article/details/9001806
To import a frame:
Code:
[CPP] View plain copy #import #import @interface Msgpla Ysound:nsobject {Systemsoundid sound;//system sound ID range is: 1000-2000}-(ID)
The following configuration is not valid under the SWIFT project with a small partner, so the blogger has identified a slight difference between swift configuration and OC after a study, and if you are the SWIFT project, please go to the SWIFT
1. Generate CA.CRT, SERVER.P12, Server.jks certificate Files
2. In Tomcat Conf\server.xml configuration
Where Keystorefile is the SERVER.P12 path, Keystorepass is the SERVER.P12 password, the default is ==123456== ; Truststorefile.jks path,
Nsstring-stringbytrimmingcharactersinset: It's a method you need to keep in mind. It often passes in Nscharacterset +whitespacecharacterset or +whitespaceandnewlinecharacterset to remove the blank symbol at the ends of the input string.
It is
IOS learning-tableview's cell keyboard with editing function pops up to block and collapse the problem. tableviewcell
Recently, it is often used in projects that the cell in UITableView contains UITextField or UITextView. In this scenario, when we
IOS tool-Xcode9 without a certificate for real machine debugging, iosxcode9 certificate for real machine
It has been running on Simulators for so long as iOS has been developed, and the company's projects also have the company's developer account
Introduction to iOS reverse tool cycript, ioscyloud
This tool is also a work of Jay Freeman (saurik). It is used to control the running process and interact with it through cylinder syntax.
1. ssh to the mobile phone and view the process through
Objective-C Protocols, objective-c
Objective-C allows you to define protocols, which declare the methods expected to be used for a particle situation. Protocols are implemented in the classes conforming to the protocol.
A simple example wocould be a
Comparison of JSON and XML on iOS, iosjson
Data exchange with web services usually supports two major data formats (JavaScript Object Notation JSON and extensible markup language XML), both of which are highly readable, next, we will make a brief
IOS: interaction between oc and html (js method called in oc), iosocI. Running
1. Initial Results
2. effect after running
2. Preparations
1. Prepare an html file and import it to the oc project.
2、original content of the jiaohu.html
[Reading Notes] rules to be followed by UI Automation, uiautomation
1. The tested application must be a Developer-signed application or an application running in the simulator.
2. You must handle the accessibility of the UI control during the
IOS multi-thread learning notes (GCD, RunLoop, NSThread), runloopnsthread
// Obtain the main thread:
[NSThread mainThread];
{Number = 1, name = main}
// Obtain the current thread:
[NSThread currentThread];
// Determine whether the main thread is
IOS high imitation Gome, secondary application, thumb-up injection animation, movie screening page and other source code, ios high imitationIOS featured source codeHigh imitation Gome
IOS bullet screen Library
Imitation live video 321 countdown
IOS-Wonderful Perfect color library, ios-wonderful
Colors are frequently used during development. Here we recommend a dsxNiubility color Library: Wonderful; its ease of use is to clearly layer each commonly used color from the shortest to the deep
IOS efficient GIF playback and IOSGIF playback
Ios normally plays gif videos in the following ways:
1. Use webview (it is not very convenient to use, but not flexible enough)
2. break down GIF images into multiple PNG images and use UIImageView for
@ Available and # available in Swift,
The availability concept is introduced in Swift 2.0. You can use functions, classes, protocols, etc.@availableDeclare that these types of lifecycles depend on specific platforms and operating system versions.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.