Introduction to iOS Multi-Thread Locks

How does thread security come about? Common examples are the operation of a non-thread-safe variable outside a thread within a thread. Thread security and synchronization must be considered at this time. - (void)getIamgeName:(NSMutableArray *)imageNames{//Suppose every entry is a thread. /*1.imageNames It is a variable outside the threa ...

Posted by hearn on Wed, 12 Jun 2019 16:28:37 -0700

Several ways for iOS to implement QQ-like grouping style

thinking The idea is simple, manipulating the model data or controlling the display of the interface Look at some of the json data first "chapterDtoList": [{ "token": null, "id": 1295, "chapterName": "Chapter 1", "parentId": 0, "chapterLevel": 0, "attachmentUrl": "", ...

Posted by sak on Wed, 12 Jun 2019 10:15:37 -0700

ios Bluetooth Development (2) Code implementation of ios connection peripheral

Original web address The last article introduced the technical knowledge of Bluetooth, and here we describe the application scenario of central mode in detail.Main device (mobile phone scans connected peripherals, discovers peripheral services and attributes, operates applications of services and attributes.Generally speaking, peripherals ...

Posted by croakingtoad on Wed, 12 Jun 2019 09:31:49 -0700

iOS UIWebView cannot get web title

Recently, I encountered a problem that in the proxy method of UIWebView, the js code executing document.title could not get the title of the page. The code is as follows: - (void)webViewDidFinishLoad:(UIWebView *)webView { // Get the title name of the loaded html file NSString *title = [webView stringByEvaluatingJavaScriptFromString:@"d ...

Posted by evanesq on Tue, 11 Jun 2019 13:41:09 -0700

Android UI performance optimization

Origin: http://blog.csdn.net/qq_23191031. Author: Dashengdai 1. Preface With the vigorous development of mobile market in recent years, a large number of people have been involved in it. Android,iOS At the same time, every major training institute in China trains thousands of developers with 2 to 3 years'working experience every month ...

Posted by abolmeer on Mon, 10 Jun 2019 13:02:25 -0700

IOS ARKit Latest Documents

Introduction: ARKit is undoubtedly a bright spot at the WWDC 2017 conference held this morning. Apple added ARKit to its own development components, which reduced the difficulty of augmented reality development, but improved the effect a lot, and combined with its own hardware, it eventually produced a very good visual effect. This also s ...

Posted by kituscat on Sat, 08 Jun 2019 11:48:11 -0700

ionic2 Actual Warfare - Using the Alibaba Vector Iconfont Library

2017.02.18:38* Number of words 633 Why Use the Alibaba Vector Icon Library Iconfont provides nearly a million icons and uses them in a variety of ways. We use font icons, which take up less space, are clearer, and are easier to control in size and color than pictures. The icons provided by ionic are not enough, and there are no suitable ...

Posted by tippy_102 on Thu, 06 Jun 2019 17:08:23 -0700

iOS Manually Implements tableview Reusable Mechanisms

How tableview is implemented:1. When adding a reusable Id to a view to use, look for a reusable view from the reuse cache pool and create one to add to the cache pool if not2. Remove invisible view s from the screen and put them in a reusable poolThis is a simple implementation of this reusable feature, creating a small demo with a single view ...

Posted by stevepatd on Thu, 06 Jun 2019 09:24:55 -0700

Form Control Binding

Basic Usage You can use the v-model instruction to create two-way data binding on form control elements; it automatically selects the correct method to update elements according to the type of control; but the v-model is essentially a grammatical sugar, which is responsible for monitoring user input events to update data, and especially for som ...

Posted by SWI03 on Wed, 05 Jun 2019 16:24:07 -0700

Vue Form Control Binding

Previous remarks This article describes Vue form control binding in detail   Basic usage You can use the v-model instruction to create two-way data binding on form control elements. It automatically selects the right method to update elements according to the type of control. v-model is essentially just grammatical sugar, which monitors use ...

Posted by willwill100 on Wed, 05 Jun 2019 10:33:15 -0700