iOS Touch ID authentication
iOS Touch ID authentication
iOS 8 and devices that record fingerprints in the future can use touch ID to authenticate, and fingerprints that match the input fingerprints can authenticate successfully.
step
Import Local Authentication Framework: import Local Authentication
Initialize the LAContext object: let context = LAContext()
Call the ca ...
Posted by rinjani on Wed, 27 Mar 2019 23:45:30 -0700
iOS coretext Framework Chapter 1 Basic Knowledge
API interface documentation.
https://developer.apple.com/library/mac/#documentation/Carbon/Reference/CoreText_Framework_Ref/_index.html
Several of the most commonly used classes in the CoreText framework:
CTFont
CTFontCollection
CTFontDescriptor
CTFrame
CTFramesetter
CTGlyphInfo
CTLine
CTParagraphStyle
CTRun
C ...
Posted by shanx24 on Wed, 27 Mar 2019 19:06:29 -0700
iOS Development - UI (11) UITabBarController
Knowledge points:
1.UITabBarController uses
2.UITabBarItem
As for TabBarController, in addition to the content of this collation, I would like to read these two articles which are very useful in practical development.
The Basic Use of RDVTabBarController and the Method to Prevent Double Click of tabbar
Jump from the controller on one item o ...
Posted by deesse on Tue, 26 Mar 2019 19:18:29 -0700
UITableView and UICollectionView Line Height/Size Adaptation
UITableView
We all know that UITableView is relatively simple to implement line height adaptation from iOS 8. First, we must set estimated RowHeight to give the estimated height and rowHeight to UITableView AutomaticDimension (note: UITableView AutomaticDimension is the default if rowHeight is not modified). For these two parameters, besides di ...
Posted by rbenfield on Tue, 26 Mar 2019 02:06:29 -0700
Objective-C data persistence
brief introduction
In development, we usually need to store some data locally. In this article, we introduce the method of data persistence in iOS.
1. Attribute List
2. Object archiving
3. Preference Settings
4. Embedded database (SQLite3)
5. Core Data, a persistence tool provided by Apple
The following four ways are introduced one by one. ...
Posted by dirtyfrenchman on Tue, 26 Mar 2019 01:00:29 -0700
JavaScript Core for OC and JS Interaction
Reprinted from: http://www.cnblogs.com/markstray/p/5757255.html
JavaScript Core provides the Obj-C API bridged by JavaScript and Objective-C. JavaScript Core provides the ability to execute JavaScript scripts without UIWebView, and seamlessly transfer values or objects between Objective-C and JavaScript using modern Objective-C grammars such ...
Posted by Kulak on Mon, 25 Mar 2019 01:45:29 -0700
gulp introductory course
Portal: Original link https://segmentfault.com/a/1190000002698606
Step 1: Install Node
First and foremost, we need to build a node environment. Visit nodejs.org After downloading, run the program directly and get everything ready. npm It will be installed with the installation package and will be used later.
To ensure that Node i ...
Posted by jonstu on Sun, 24 Mar 2019 23:48:29 -0700
Common problems and precautions of H5 project
Common problems and precautions of H5 project
Meta Basic Knowledge:
H5 page window automatically adjusts to device width and prohibits users from scaling pages
//I. HTML Page Structure
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
// Width sets the viewp ...
Posted by stitchmedia on Sun, 24 Mar 2019 13:51:29 -0700
JSON Model for Open Source Third Party Learning (20170 207)
1: Warehouse Address: https://github.com/jsonmodel/jsonmodel
The main function is to convert JSON strings into Model entities, or entities into JSON strings; it also contains some content of dictionary conversion; JOSN strings are converted into dictionaries through AFNetworking, and then can be converted to entities through dictionaries; ...
Posted by Cynix on Sat, 23 Mar 2019 19:48:28 -0700
Use Mono.Cecil to inject code into Dll in Unity
Reprint my station: Original address
Through Mono.Cecil, we can inject code into existing dll by Emit to achieve advanced functions such as AOP.
Unity's code is automatically compiled into two Assemblies under Library Script Assemblies after modification, so I'll try to inject the code into them.
public class Test : MonoBehaviour{
void St ...
Posted by DavidT on Sat, 23 Mar 2019 17:39:52 -0700