ios VoiceOver support for visually impaired users

In fact, few users know,ios system is actually a complete set of easy access mechanism,Many blind or visually impaired users prefer to useiphone

So,As a developer,I think both in terms of product sales or as a side responsibility,We should do well to easily access support。

Fortunately, however,,Thanks to Apple's strict development standards,It is generally as long as your app can be added to already approved,So basically VoiceOver It has been able to identify most of your app in the,More generic,For example tabV[……]

Click link to continue reading...

iOS platform SQLite Performance Optimization

Start

In the ios platform,Permanent storage of data so few,比如说 coredata,For example realm,There are several options of nosql,But unfortunately,Several programs to support functions are still too few nosql,So let their selection is very sad - after all,,If it is a simple application of the words,It is not as good as other programs to facilitate quick - although the trend is nosql。

This time we talk about another common storage solutions --sqlite,This is very powerful stuff,It is a realization by c[……]

Click link to continue reading...

How to customize pocketed input method?

How to customize pocketed input method?

In pocketed input method,I provides powerful customization features for you。Whether it is simply one kind of new programs Shuangpin,Or import a five-stroke input method code table,It can be completed。

First of all,We start with the concept

Key mapping scheme

Pocketed input method to use it to generate the corresponding mapping scheme,Such as smart abc、For example, the natural code, etc.。Button mapping program has two files,Such as "smart ABC.plist" then we would have a corresponding "intelligent ABC_rev.plist",The latter is not necessary,But if you want to open "button[……]

Click link to continue reading...

Being Chinese Wikipedia corpus

Recently doing input method thesaurus,Implement new sentence input model,(Based on input model sentence the word I would talk back before),The new model is based on the input sentence HMM (I.e.Hidden Markov Models) To do,Of course,Due to limited funds, I personally equipment,Only the second order matrix。But even so,Model still need training。

of course,Not to say that with the novels and to train bad,Just difficult to find businesses related fiction,after all,Area they cover too single,This is not really a high quality corpus。Speaking of high-quality,It is naturally non-Wiki[……]

Click link to continue reading...

Memory Problems swift hurricane

Swift language development in the use of time,Many of my friends will be baffling problem encountered memory full,Obviously there ARC ,Obviously the release of memory,But still let the program memory footprint with circulation soared。

There is not really a memory leak occurs,This is actually ARC A mechanism:In each of the main Runloop At the end of the clean-up。That is,It has a caching mechanism necessary - after all,,Who can guarantee real-time release, then you do not want to stay local variables to subsequent code to use it?

But apparently,This will[……]

Click link to continue reading...

SourceKitService take up a lot of memory and CPU solutions

Swift performed using Xcode development software language when,Many people in the latter part of the project will encounter such a problem,If that diagram as:SourceKitService Take up a lot of CPU and memory,Or even directly cause the system stuck。

Then,This in the end is how it all about? StuckOverflow of the vote on the answer is to say:

Find SourceKitService double-click it in the Activity Monitor,It opens the directory to see which,To delete the cache and strong[……]

Click link to continue reading...

How to learn the natural code secondary code?

Natural Code is a relatively old program of Larry,How old? Old now many users do not know that it is a set of secondary code scheme。

Natural code secondary code can not be called barcode,It is called the secondary code,Because this program is designed as an auxiliary or,So it can not be done as a very low rate of weight like calf auxiliary code - but with the sound of words,It is still very efficient use。

Why even so it also said it entered efficient? Because it is the beginning of the design to assist,This directly determines that this program is very easy to accept and learn! How easy is it? just the side[……]

Click link to continue reading...

Let go SSH proxy server connection

Many network operation and maintenance、Or owners need to manage the server via ssh、vps,If you do not happen to,Separated by a wall between you and the server GFW,Then since GFW will analyze ssh packets,Result was slightly slower network will allow the command to card one minute。

GFW is now fully capable of analyzing traffic characteristics ssh,To determine whether you are really using the ssh server configuration,Or use it as a proxy to browse the web。

If there is any good way to get ssh like browsers as specified over the wall like。

Actually,Really have[……]

Click link to continue reading...

Swift uses InputMethodKit to write an input method

How to write an input method on iOS? This question has been answered a lot of people over。You can easily find a detailed tutorial by Google。but,On macOS write an input method is not so simple。

Ok,Strictly speaking,I mean use Swift to write a input method is difficult on macOS。The main reason is that no one has ever done this thing 。

Current data can be acquired,In addition to Apple's official API description (of no use),And the official demo (very detailed but outdated,and[……]

Click link to continue reading...