AppKit– category –
-
How to display the file open dialog in AppKit
AppKit's NSOpenPanel class can be used to display the macOS standard file open dialog. In addition to the function of selecting files to open, the file open dialog has the important function of giving Sandboxed apps access to specified d... -
How to read/write control values in AppKit (about outlets) | How to Create macOS Apps
In the previous article, we implemented the process of executing an action when a button is clicked. Actions with buttons are one of the basic things common to most applications. Similarly, reading and writing values of controls is one o... -
How to create buttons in AppKit (about targets and actions) | How to create macOS Apps
Buttons are one of the most frequently used elements in an application. In this article, we will add a "Quit" button to the Cocoa Hello World so that the application can quit from the button as well. This article will continue from the C... -
Terminate the app when the window is closed | How to create macOS Apps
This article explains that how to terminate the app when the window is closed. We add the code to the Cocoa Hello World which was created in the previous article. You can download it from the following article. 【About the delegate】 App... -
Set the size and the location of the window in the AppKit apps | How To Create macOS Apps
This article is part of a series of articles that create the Cocoa Hello World. This article explains how to set the minimum size and the maximum size of the window. It also add the code to centering the window to HelloWindowController c... -
Add a window controller class of the Cocoa Hello World | How To Create macOS Apps
This is a series of of articles explaining how to create Cocoa version of Hello World. In this article, we create a window class and make it a window controller of the Hello World window. This article uses a sample code which was created... -
Create Cocoa Hello World | How To Create macOS Apps
This is a series of articles explaining how to create a Cocoa version of Hello World. This time, we will create Hello World with zero coding, just editing the Storyboard. In this article, we use Xcode. If you have not installed Xcode, pl...
1