This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // A solution to the question "How can I make the cancel button react to both the Return the the Esc keys?" | |
| // | |
| // See https://stackoverflow.com/a/60570407/43615 | |
| #import "AppDelegate.h" | |
| @interface AlertEscHandler : NSView | |
| @end | |
| @implementation AlertEscHandler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Created by Thomas Tempelmann on 28.04.19. | |
| // See also: https://stackoverflow.com/q/55884928/43615 | |
| // | |
| // This code relies on string functions only available on macOS, sorry. | |
| // | |
| #include <Foundation/Foundation.h> | |
| #include <string.h> | |
| #include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| i: 165 | |
| r0: 165 | |
| r1: (null) | |
| r2: 165 | |
| r3: (null) | |
| r4: 175 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Homebrew build logs for python on macOS 10.12.6 | |
| Build date: 2018-06-29 19:50:51 |
NewerOlder