macOS app script to automate notarize

According to Apple's official description,Since macOS 10.15 Start,All downloaded from the Internet were not notarize the app,Default will not be opened,So distributed outside the App Store app,The app must also be uploaded to Apple's servers for processing before release。

Use Xcode comes archive tool can be easily carried out no[……]

Click link to continue reading...

Disabling automatic start Android File Transfer

Android File Transfer is a good thing,In macOS can easily transfer files in to Android phones etc.,But one thing is this bad thing will reside process in the background to monitor usb insert,People very uncomfortable。

Especially when the device is inserted Android,Automatic pop-ups,Also the connection fails (because you have no time to point authorized on the phone),Very annoying。

To ban[……]

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

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

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。
[pencil-5d0[……]

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...

CocoaPods was not able to update the `master` repo.

cocoapods not be updated,May be due to damage caused local database,We can go directly to CocoaPods local directory manually update it:

And then return to the implementation of the project to normal under update .[……]

Click link to continue reading...

Use Cherry MX Board on macOS 8.0 RGB

Woman sent me a ticket Cherry MX Borad 8.0! Yes,That is a rare manufacturers that need a 9.5 H CNC milling machineAnodizing 87 Key mechanical keyboard! Apple external keyboard and a design style,Coupled with a specially designed key caps font,I fell in love with at first sight to see(Incidentally blown about,This is what I often sayDesign three elementsIn the "visceral design")

but[……]

Click link to continue reading...

UTI quick check of a file

When carrying out the development of iOS macOS,We often need to interact and file,For example, association and open a certain type of file,Well, this time,Your name suffix used in this document are not,But it's UTI。

UTI is a unified file type name,It sets out what should be a file type,Rather than suffixes to determine,For example, txt,text,json are pure text files[……]

Click link to continue reading...