Month – September 2018

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,Create[……]

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[……]

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,Cause[……]

Click link to continue reading...