Mac OS

mountain lion

Item “xxx” is used by macOS and cannot be opened.

When restoring data,You may need to use U disk copy data,But macOS default is read-only mount ntfs,of course,We have a way to use the command line to become re-mount it read-write。But this is likely to cause ntfs permission error,The result is that when plugged into another computer's,This file mayGrayed

If you use this time to force it open decompression software,Then you will have to[……]

Click link to continue reading...

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

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

Click link to continue reading...