independently developed iOS:Manage your redemption code

As iOS developer you,Promo codes must be aware of this thing,That is, we often say that the redemption code。(of course,As perhaps you iOS users also no stranger to this)

this time,We take a look,This seemingly endless redemption code,What are the restrictions in the end。

Validity

Apple background rendering valid redemption code has been a mystery,Although the official statement of 4 week,That is 28 day,But in fact this period if your app update,Then the redemption code will most likely fail[1]。

&nbs[……]

Click link to continue reading...

Swift in the array to re-program

When developed using Swift input pocketed,I met a very interesting question -Deduplication

All to known,Candidate input method in the calculation will always be out there may be a duplicate options (such as code table and have a word in the lexicon,They may be different coding,But the word is the same and the like),This time you need to re,But while keeping the same order of candidates。

Others solutions

If you go online to find,Then you may find is this:

source:[……]

Click link to continue reading...

Good office software,Everyone ultimately,。Office 365,You go!

This is what office software,Word processing、Table editing、The famous "ppt" slide,After graduation I almost touched Microsoft no longer tied,Occasionally need to use a text editor is Apple's iWork series (of course, writing papers or something, forget it),In short,This time I want to soft again,Push Office 365.

In fact, Microsoft's Office suite,It may still use pirated - this is an excellent opportunity to whiten it - cheap enough。

 

Stakeholders

mine Pocketed input macOS 2 The Chinese district[……]

Click link to continue reading...

Pocketed input macOS 2 How is optimized for VoiceOver

Two years ago,I wrote an article entitled "ios VoiceOver support for visually impaired users"Articles,Inside describes how iOS end of the necessary support for VoiceOver,Then I developed a macOS input terminal pocketed,But unfortunately due macOS own system bug,Third-party input method can not obtain focus VoiceOver (mainly 10.13 And below),So I will not have too much attention - even until the end of this input method throughout the life cycle failed to achieve V[……]

Click link to continue reading...

and: 1: “…”: invalid command code

use Linux Friends might be more familiar with the command,It can quickly and text documents in batches to operate in the script,For example a row or alternatively change the specific content ......

macOS Naturally have this command,But one thing is not quite the same,If you execute and -i ,So probably you will get a strange error and: 1: “…”: invalid command code

 [……]

Click link to continue reading...

DoT DoH addition DNSCrypt,You can also learn more about the DNS encryption scheme

2018On November 2nd update,One day after switching to DoT,All stubby built-in server running unusually slow,Until daily use is immune to give up ......。

2018On November 1st update,used 5 After days DoH,Since the server is currently offering this service only 1.1.1.1,I was here at this address operators blocked。

 

 

three years ago[……]

Click link to continue reading...

swift4 urlSession get and post requests network

Ado,Directly on the code。

GET:

POST:

 [……]

Click link to continue reading...

Four small rocket Shadowrocket Advanced Configuration

Using small rocket for a long time,Many of my friends say,Small rocket Shadowrocket Unstable,Old out of their own background,I would say this is how I use it。

Previous iOS does not support this type of VPN applications,Every time over the wall on iOS,We are a people thing painstaking。Later Surge appeared ...... my first time to buy,of course,Later, Lower shelf Surge,I also completely change the Apple ID of the United States District,I would not buy another copy Surge,Instead bought relatively cheap Shado[……]

Click link to continue reading...

How to use dictionary types as generic constraints in Swift

Today, the group participants Someone made such a problem,Why use the characteristic dictionary type as a generic type constraint,It will inevitably error?

Obviously,He said very clearly,"You can not be from a non-agreement、Non-type class inheritance. "。Obviously,The dictionary is a generic structure...

Then the solution is also very clear ideas,Creating a class to decorate a dictionary might be a good choice but too much trouble,Then start from the agreement。

Conditional agreement to follow

We can give the dictionary[……]

Click link to continue reading...

NSTextField text blur solution canDrawSubviewsIntoLayer

Among developing pocketed input process macOS,I have been plagued by a strange question - text blurred。

Sub-pixel

No matter how I debug,Pocketed candidate text input method can not achieve the original text as clear and sharp。After a big ask God,The resulting experience is to see live a long time - upstreamSub-pixel rendering bug。

In many platforms have similar problems,macOS underlying rendering there such a mistake,Once your layout there was not an integer or decimal point,It will lead to blurred text rendering。

that[……]

Click link to continue reading...

In the end "Larry" is a what?

This article first appeared inDigital lychee,Formerly known as "in the end" Larry "is a what? Larry input method developers listen to you say "

Just last weekend,I recommend Larry input to a new friend,He is the kind of concern in this respect has never been a man - even the "spelling" concept,Also I know after I introduced him to Larry - "So I have been called by spelling (phonetic) Input Method"。

It is this matter,It prompted me to write this article hands。As a developer Larry input method,Speak the truth,I was also very "catch chicken",We often say that high efficiency Larry、double[……]

Click link to continue reading...

Subscribe to a paid app shelves,In addition to code for what you need to do?

Finally,Pocketed X input method successfully shelves。From development to shelves,A lot has happened。

Now,I would say it,In addition to the code,Added a subscription fee app,You need to do something。

Use Agreement

In General,Apple provides to youUnified Software Use Agreement,In your correspondence on the app "app infomation" page,There is a right of the License Agreement。

If you want to offer subscriptions purchased,We need to use your own protocol before they can use,You need a[……]

Click link to continue reading...

When we talk about privacy,What in the end say?

Privacy is a very wonderful thing,When you're a person,It does not exist。

TenSteps

Today, the Internet widespread anxiety about privacy,Often someone shouting "To protect privacy," followed by ...... but some people will say "I have nothing to hide."。Faced with this discouraging reply,Privacy advocates in addition to the heart deep sense of powerlessness,There is confused。

This privacy thing,In fact, before the Internet existed,For example, the law does not allow unauthorized demolition of reading other people's letters - this is to protect your personal privacy。

Before the Internet,Privacy communication needs[……]

Click link to continue reading...

Software under my luck elsewhere,Why should I pay?

This article first appeared in Niche software,Now I recorded it in his blog。

A few days ago off the grid when the input method and X in various media collaborated hair code engaging in activities,Unexpectedly, we share Apple ID and a number of public platform for cooperation,Send out a wave of lottery activities code。

"Forefoot says he was forced to change the business model of piracy problems,I ran back foot and made pirated software micro-channel public number Cooperative Extension,He is simply playing to his face。”

Eventually, after one day I discovered this fact,Then the first time we withdraw the draft,The event canceled[……]

Click link to continue reading...

R0uter Input Tool:I will buy the APP,But I do not want to GG

Article was originally titled "If this input method no longer able to make ends meet me,I went home to sell sweet potatoes. "

People say you want to sell a good App,Gotta equipped with a moving story,Last year, in an interviewIf no one buys the next month my App,I have to GGTie the hearts of many people - accidentally said a big truth,Many people find it difficult to accept this reality。- people are moving to the,Is the angle seems a little problem hhh

I do not want to accept this reality - but the reality is this,Larry user market even smaller than I expected a little bit,Just two years,Downloads pocketed input method has been[……]

Click link to continue reading...