On the Ajax operation of jQ
About AJAX (Baidu Encyclopedia)
JQ calls AJAX instance
1. load() method of jquery
2. getJSON method of jquery
3.jquery's $. get() method
4.jquery's post() method
5. jquery's $. ajax() method
Although JQ is not used in our work now, ...
Posted by kelharis on Fri, 19 Jun 2020 03:45:20 -0700
Before there was a project, the leader said that I used mongoose to swagger to write down the back-end interface. Although I had not written the back-end interface before, I wanted to have colleagues and accepted the work happily. First to ask colleagues, and then... Have not used; so Baidu to see if there is a relevant tutorial 😭 , well, it's ...
Posted by Gorillas on Thu, 11 Jun 2020 22:56:59 -0700
This is the second in a series.
Students who have read the previous article already know that the title "scene" refers to view and "window" refers to view.View.maskThe panorama combs masks and mask animations.If you're not familiar with iOS masks, it's a good idea to look at them first First.
Windows change more than scenes ...
Posted by Petrushka on Sun, 07 Jun 2020 18:45:30 -0700
This project is a multi-layer complex structure and multi request interface implementation case.
No, please advise.
The interface layout of this project is mainly Moya selected by IGListKit for network request.
Posted by markjoe on Thu, 28 May 2020 08:09:38 -0700
In our daily development, we often use the adaptation of UICollectionViewCell and UITableViewCell.
In the previous MVC development, after using SnapKit to deal with the highly adaptive problem of UICollectionViewCell, I always wanted to take the time to sort it out. Next, I will use some code to ex ...
Posted by SteveMT on Mon, 04 May 2020 16:46:26 -0700
In the previous iPhone, we can judge the network status according to the network status view above the navigation bar. (this kind of plan is not very good)
This solution is not available on iPhone X phones.
We can judge the network state through the Reachability
Reachability github address: https://github.com/tonymillion/Reachability
Super si ...
Posted by prosolutions on Sun, 03 May 2020 16:58:58 -0700
This article introduces a function that almost every APP needs to use. The APP starts the entry advertisement. I originally wanted to make ios android into Demo and put it on github. Considering the time relationship, it's OK. But I want to make sure that the code here can be run after copying and pasting, because I am also the God of copying a ...
Posted by Zetusko on Fri, 01 May 2020 04:11:30 -0700
Enumeration defines a set of related values of a common type that you can use in your code in a safe way
Enumeration in C/OC language specifies that the related name is a set of integer values
The enumeration in Swift is more flexible. It can provide a string, a character or an integer or floating-point value
Posted by BinaryBird on Thu, 30 Apr 2020 13:44:31 -0700
01 get length
var a = "he l lo"
print(a.count) // Calculated space, output 7
02 String.Index type
The String.Index type represents the position of a character in a string.
You can use a[String.Index] to get the character at a certain position.
var a = "hello"
print(a.startIndex) // Output Index(_rawBits: 1)
Posted by Jenski on Fri, 17 Apr 2020 21:45:53 -0700