Swift set cut scores

in most cases,If we want to get the contents of a section of the array (for example, front-to-middle,Some of the values ​​of the array or the last),This time you need to traverse the array to assign a new array:

Such an array of short, better said it does not matter,However, if the array is relatively large and we need to value and more,It is clear that it is a waste of time to traverse up。

Swift in itself provides an array of features split,This mechanism is called [crayon-679bca[……]

Click link to continue reading...

Let go pip Agent

When using python,Often you need to download some third-party framework,Fortunately, python has a similar apt package management tool,pip。

But,Although management packs can pip,But no source switching mirror,And we downloaded package,Most of the large foreign code hosting server,This often leads to a few hundred KB of package to download one hour。

 

Here we assume that,As a programmer you,Have been deployed to the computer HTTPS and HTTP proxy,We also said before[……]

Click link to continue reading...

What is Larry?

Pocketed double input method input method is a professional,It worked to make the user experience the pleasure double input, and also both spelled all the advantages--such as mass lexicon。

For double recognition,You should no longer stay in the words between the coincident code rate of spelling and five this concept,Larry is stylish、Line with the instincts of a Chinese pronunciation input method。

Spelling

To introduce double,We are starting from your most familiar spelling。Need to know,Such symbols abcd did not originate in China,natural,China did not start so similar English phonetic spelling。later,In order to develop Mandarin[……]

Click link to continue reading...

"Plugin invalidated" ios Customize Keyboard

Home for iOS system does not seem to be willing to write an input method,Except for a few oligarchs other than large companies do nothing else。Approaching China's unique Apple ecological platform,Find inside are empty shells,Meaningful applications is really very little of。

Pocketed blog recently is working to write in the first paragraph can really support the iOS platform the code table of double input method,First compatible double nature of the programme is open to the "Chick double",It stepped on a lot of holes,Will send some experience。From now on,Emergency record a hole:

Using the keyboard,Occasionally[……]

Click link to continue reading...

Use SQLite database in Swift Lane

SQLite

Speaking SQLite,It is well known to you as MySQL,It is a relational database management system,But unlike the latter is that,It does not necessarily correspond completely independent server!

Generally speaking,SQLite is in the form of a file exist,Mostly used in embedded applications in storage。SQLite library is loaded by the application code,You can easily direct access to the data in a SQLite file。

SQLite written by C,So you know,To call it a library,Must also C language[……]

Click link to continue reading...

Xcode meanings in various Sent Event

In Xcode,We give iOS platform App,Will inevitably have to add a button to bind an event,At this time there is a statement,You will find a button touch event already not before a "Touch Up Inside" so simple。

Referring to FIG title,There are at least not so much in some events can be for your choice,In more features at the same time,Novices may be more ignorant of the force?

This time we take a look at these events,What exactly are the kind of gesture:

Did End on Exit

nRF24L01 wireless transceiver module Arduino

nRF24L01 is a work in the world-wide 2.4 ~ 2.5GHz ISM band single-chip wireless transceiver chip。Wireless transceiver comprising:Frequency generator、Enhanced mode controller SchockBurstTM、PA、Crystal Oscillator、Modulator、Demodulator。Set the output power and channel selection protocol can be set via the SPI interface。

Easy setup and low power consumption so that it is widely used in wireless mouse、Keyboard;Wireless Access、A variety of intelligent communications networking equipment, etc.。

Parameters

In macOS 10.11 Use BootCamp to install Windows on 10 Resolve partition error

Then suck everything for two!

Pioneer butt out,To be able to suck on it,I also spent a tremendous effort。- Why did so pit father does not support macOS it!

It is said that the virtual machine to install the watch even though it can enter the game pioneer but there will be a strange black blocks appear,The game can not。

In short,I spent five years macOS,The first reason finally installed dual system。

But had this Bootcamp Raiders no longer applicable,In El Captian in,U disk is no longer required to make Windows installation disk,But since[……]

Click link to continue reading...

Ali cloud management API use dynamic domain name resolution ddns

Dynamic DNS,Acronym ddns,It is different from our usual DNS resolution,But it is intended to deal with the kind of no fixed public IP address resolution server。

Typical usage is:Construction of small home broadband server,There is no fixed IP,Want online,In addition to writing scripts mail outside,The only way this can go ddns。

as far as I can tell,The most famous is probably the notoriously unstable and difficult to use the peanut shells。If there is a foreign dynu also very good。

Ali now open cloud API,So we can use Ali cloud AP[……]

Click link to continue reading...