Operation (multithreading) and operation Multithreading1. Process and thread 1.1 Process
Process: A running application is called a process.
Processes are independent and run in dedicated and protected memory.
Two processes cannot communicate
Xcode 9 Analyzing Crash Reports,Analyzing Crash Reports
After you distribute your app for testing by using TestFlight or after you make it available on the store, routinely download and analyze crash reports. when an app crashes, the system creates
IOS compilation process, ios CompilationCompilation process
The basic compilation process is divided into four steps:
Then, by parsing the xcode compilation log, we can find that xcode is compiled separately based on the target. The specific
IOS ---------- do not enter Chinese characters. ios ----------
Note:
^. * [\ U4e00-\ u9fa5]. * $ whether Chinese characters are included^ [\ U4E00-\ u9FA5] + $ indicates whether all Chinese characters are supported
-(BOOL) textField :(
IOS gets the date n months after a date, and ios gets the date1. Give a time and a number. The positive number is the next n months, and the negative number is the previous n months;
1 -(NSDate *)getPriousorLaterDateFromDate:(NSDate *)date
Use iconfont in iOS and iconfont in iosHow to use custom FontsBefore talking about the icon font, Let's first look at how common custom fonts are used in ios. The two principles are the same. The following uses KaushanScript-Regular as an
IOS local video and network video stream playback, ios video network video stream
Requirement: Recently, the company needs to implement a building intercom function: The Door Machine (connected to WIFI) dialing calls the indoor device (corresponding
IOS: Creates notifications, sends notifications, and removes notifications. ios removes notifications.
1. Create a notification. It is best to create a notification in the viewDidLoad method.
-(Void) viewDidLoad {[super viewDidLoad]; // create a
WKWebView is simple to use and wkwebview
Recently, I checked WKWebView and recorded my summary for ease of viewing.
Note: In my personal summary, there will be deficiencies. I would like to warmly welcome your guidance.
1> CreateImport: # import
Coordinates of coordinates in UIView.Coordinate Transformation in IOS -- UIView
// Convert the pixel point from the view where the point is located to the target view, and return the pixel value in the target view.
-(CGPoint) convertPoint :(
IOS-UITableView reuse mechanism, image refresh,
How to Use UITabel View
Reference link http://www.bubuko.com/infodetail-974265.html
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ static
Basic syntax in Swift (II): basic syntax in swift
1. Functions in Swift
/// Function Definition //-Parameters: //-x: Shape Parameter //-y: Shape Parameter //-Returns: return Value func sum (x: Int, y: Int)-> Int {return x + y}
Print (sum (x: 10, y: 2
Memory leakage caused by Handler (2) handler Leakage
1. Handler usage upgrade: Use Weak references-solve static internal class access to external class
2. In handlerMessage, set the value for TextView,Pay attention to the weak reference
Learn iOS and ios
After doing this demo, I feel that OC and swift are quite different. I still want to read more about swift syntax, but I am not very skilled.
1. I used the original project for the resource files of this demo.
2. The "SnapKit"
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service