Conversion Quick Search Manual for OC and Swift Requirements for iOS Development (strongly recommended)
This article mainly introduces the relevant information about Objective-C and Swift's Handbook of quick search for conversion. The sample code is introduced in detail in this article. It is highly recommended for your reference and learning. It invites readers to join the small group exchange group: 624212887, to exchange and l ...
Posted by NoBullMan on Sun, 20 Jan 2019 14:12:12 -0800
Start developing iOS 10 - 18 Search Bar and UISearchController with Swift
Last article Start developing iOS 10 - 17 with Swift using Core Data Core Data is used to store data, this article is to add search function.
Using UISearchController
UISearchController is a concise API for creating search bars and managing search results.
Normally, adding a search bar to a table-based app requires only the following three ...
Posted by T_Hayden on Thu, 10 Jan 2019 00:27:09 -0800
2. Add Two Numbers - LeetCode
LeetCode Problems Solutions
question description: problem description
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
You may assume the two numbers do not contain any lead ...
Posted by roxki on Wed, 09 Jan 2019 22:33:10 -0800
Start developing iOS 10 - 6 with Swift to create a simple Table Based App
table view should be the most commonly used UI element in iOS applications. The best examples are some of the applications that come with the iPhone, such as phones, emails, settings, etc. TED, Google+, Airbnb, Wechat and so on are good examples.
Create a project
The project name is SimpleTable and the template is "Single View applicat ...
Posted by onlinegamesnz on Thu, 03 Jan 2019 00:24:08 -0800
[swift] - Using JavaScript to solve the problem that WKWebView cannot send POST parameters
Basic realization ideas:
Put an HTML code containing a POST request for JavaScript in the project directory
Load the code for this POST request containing JavaScript to WK WebView
After loading is completed, the POST method of JavaScript is called with Native and parameters are passed in to complete the request.
Create HTML code for POST reque ...
Posted by SyncViews on Sun, 23 Dec 2018 18:06:06 -0800
iOS uses NSURLProtocol to Hook to intercept WK Webview requests and play back a pose (ti) potential (wei)
Sometimes we have to interact with WK WebView. Although WK WebView has high performance, there are still many pits.
For example, we can get the js context in UIWebview in the following way, but WKWebView is error-prone
let context = webView.valueForKeyPath("documentView.webView.mainFrame.javaScriptContext") as! JSContext
context.evaluateScrip ...
Posted by poleposters on Wed, 19 Dec 2018 20:39:05 -0800
Swift: Make http requests with Alamofire and parse JSON with ObjectMapper
The example code looks at the end.
People who can not keep up with the times suddenly walk in the forefront of the times, and indeed there is a different landscape. First, despise AFNetworking. It's too hard to use. I don't want to encapsulate it, or write a lot of code.
NSURL *URL = [NSURL URLWithString:@"http://example.com/resources/123.json" ...
Posted by ierpe on Sun, 16 Dec 2018 18:54:03 -0800
The most scientific in history! Swift 3 UITableView Best Practice XIB Quickly Implements UITableViewCell, UITableViewHeader FooterView
The most scientific in history! Swift 3 UITableView Best Practice XIB Quickly Implements UITableViewCell, UITableViewHeader FooterView
development environment
Mac OS 10.12+ / Xcode 8+ / Swift 3+
Supporting environment
iOS 8+, iPhone & iPad
Project acquisition
The code here is shown in Swift 3.1 and Swift is recommended. The pro ...
Posted by lajollabob on Sun, 16 Dec 2018 04:36:04 -0800
Quickly Create a Filming Document Application with Dynamsoft Camera SDK iOS Version-Swift Development
If you have not installed the Dynamsoft Camera SDK framework in the Xcode project, please refer to the following configuration:
1. If you haven't downloaded Dynamsoft Camera SDK iOS version for 30 days for free trial, please Here Download.
2. Create a new Xcode project.
2.1 Find the General tab, under the Embedded Binaries s ...
Posted by WebbDawg on Fri, 14 Dec 2018 15:06:03 -0800
[iOS] 7.4 Location Service - > 2.1.2 Location - Official Framework CoreLocation: CLLocation Manager
This article is not the final version. If you want to pay attention to the updated or corrected content, please pay attention to the anthology. The contact details are at the end of the article. If there are any omissions or omissions, please correct them.
Relevant catalogues of this article:
====================================== belongs t ...
Posted by clip on Wed, 12 Dec 2018 13:57:06 -0800