Mac OS

mountain lion

How pocketed input method macOS is how to handle ascii 0x01 compatibility issues -macOS input settings correct buffer

As early as last year,Off the grid user input methods have reported pocketed Chinese input method macOS can not type in normal mode MarkDown proper way cloud notes,After testing proved true,Embodied in the text when hit,buffer refresh will be strange delete a character before the cursor - on,no more, no less,To delete a。

Fiddle for a long time failed,Finally, I did not move all the contents out of print,Find[……]

Click link to continue reading...

In NSView 10.12 Detailed problem does not show shadow

On iOS,If we want to display a shadow View,So basically do:

but,To the macOS,This would not work - no effect。

The answer lies in the macOS a View If you want to use [crayon-690a97e[……]

Click link to continue reading...

ANNE pro GH60 customize the keyboard keys set macOS

Before I wrotePoker 2 Mechanical keyboard Mac key to modifyArticles,Because now I bought a lift tables,Then poker wired,So very convenient,Just wondering to buy a Bluetooth keyboard,I did not expect that year dream of mechanical Bluetooth keyboard has been ready,Just,He wondered if he ordered a。

I have a soft spot for wasd key direction of poker,F is changed especially capslock[……]

Click link to continue reading...

macOS keyboard event intercepted three ways

Under normal circumstances,You do not need to know the contents。

In rare cases,Your app might need to get the user presses the button information,such asThe ones released Develop a Input Method。Only then can you provide candidates to the user。

How to create an input method under macOS,I'm hereSwift uses InputMethodKit to write an input methodThis article has detailed instructions,Here skip[……]

Click link to continue reading...

Black Apple nuclear was compatible 21:9 monitor

Some time ago I said ISave for a black high with apples,It was using an ordinary 1080p display,mine 21:9 To colleagues spent。

Now,I can not stand this 16:9,So he and I changed next,I go back to my 21:9,The results did not expect ...... Nima does not even support!

I heard hd530 drive nuclear significant not OK not result in recognition ......

In short,We also[……]

Click link to continue reading...

Analyzing a multi-monitor window position macOS

When developing pocketed input method,I met such a thing,That is, as a candidate bar window will go beyond the screen when the edge of the screen! and so,In the display window when I do extra check the coordinates:

In short,That is, if you count the coordinates of their width exceeds the width of the screen,Norway put it back。

but,Such[……]

Click link to continue reading...

How to make NSWindow displayed in a different Space or the Screen

Among write off the grid input method the Mac version of the process,I encountered such a problem,Article candidate system API disrepair,Many API functions exists but is essentially useless,such as:

This method is used to set the style of a candidate bar,In addition to the default inside[crayon-690a97ee9d3383459[……]

Click link to continue reading...

Save a black apple hackintosh used for development of

IPhone and other platforms to develop applications,Always need to use an Apple computer,Or iMac or rmbp,Even the mac mini is also OK。but,When a relatively large development projects,We need something more,Such as me,While doing a littleInput,But what algorithm run run thesaurus,A trip down must one day,It might also collapse again。Whenever Xcode not live up to expectations at every turn whiteboard[……]

Click link to continue reading...

OS X open RamDisk to accelerate as Safari and Xcode

With the upgrade version of Xcode,speedMore slowly,In particular, Yiyanbuge "Whiteboard"I believe we will have problems encountered。

This is the very thing affecting development efficiency。If it is possible,Then we will Xcode cache file into memory,It should be much faster speed。(Although rmbp of ssd have a very fast,But compared to memory,Or far worse -For mechanical hard drive[……]

Click link to continue reading...

Convenient to build their own use TimeMachine program

Finally I changed a relatively stable working environment,Now,This is my desktop:

All right,In short,With mobile hard disk backup on a regular basis is not a permanent solution,so,As a poor force,We give yourself to find a suitable、A convenient backup solution。

As the saying goes:

Backup is not,Wicked。

Then,We are concerned that my design。

design

First of all,As a poor force,Backup Solution Design[……]

Click link to continue reading...

Xcode automatic version

Make sure developers have had such trouble:Version submitted wrong!

Version of the compiler and testing more,When the inevitable submitted only to find the wrong version number。Or is the background version number is correct,Reception forget to change the version number。In fact,Allows reception automatically obtain the version number of the background data,For example, this:

But

Background version number[……]

Click link to continue reading...

Let iTrem 2 + zsh startup no longer wait!

iTerm as a built-in terminal mac alternatives really handy,Multi-function、Interface is also nice。Skin with zsh +,Since then, the terminal also beautiful (thematic map)。

but,zsh is always very slow start,Although the content before each start input is still not lost,But always waiting is not a thing (to tell the truth,I have endured so many years ......)

In short,In fact, this problem can be solved[……]

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

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 。

Now able to[……]

Click link to continue reading...

With Santa prevent Mac QQ start of Jietu.app

Update,The name of the new version of qq screenshot changed,To QQ jietu plugin.app ,Directory unchanged。

The following commands have been made corresponding modification。

We all know that QQ this thing and 360 A sample,Do no good,。A Mac version is also thought to function well with,First touches hooligan playing up。After this update,[……]

Click link to continue reading...

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 he had this Bootcamp Raiders[……]

Click link to continue reading...

Mac version of Thunder quietly collect user BT seeds

Just today,Small waiting six months for Mac version of Thunder finally updated again,A new version - although no new features,But finally dragged fixes a bug when running around the window。

but,Also encountered the problem can not be downloaded offline。With the help of the test while debugging,I found some other things:I accordance with the requirementsThunderComes debug tool to generate statistical information archive altogether 70M large![……]

Click link to continue reading...