Development– category –
-
Add a window controller class of the Cocoa Hello World | How To Create macOS Apps
This is a series of articles explaining how to create a 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 utilizes the sample code created in t... -
Create Cocoa Hello World | How To Create macOS Apps
This series of articles explains 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, please se... -
Setup Xcode
We use Xcode to develop applications for the App Platform. This article provides an introduction to getting started with development. Register to the Apple Developer Program If you aim to develop an app, access documentation and sample c... -
How to export digital certificates on Mac
Mac utilizes Keychain Access for managing installed digital certificates. In addition, Keychain Access manages digital certificates and the following information. Accounts (ID and Password) Secret Memos Degital certificates Public keys P... -
Configure the code signing setting of the Xcode project with the configuration settings file
When developing an iOS app that you plan to distribute as open source or sample code, you might prefer not to embed code signing settings directly into the project file. However, while working locally, you must set the code signing setti... -
Archive only changed files from the Git repository
Git is a version control system that manages the changed history of files. Thanks to this feature, anyone who cloned the same repository can merge changes made by other users. What to do when sending the only changes files to others? Sup... -
Change the search path in the Xcode project with the configuration settings file
Depending on your application requirements, you might require an SDK or software beyond your control. Although the SDK's installation path tends to be consistent, it could vary based on the machine or the developer's preferences. In such... -
Create the PDF has bookmarks (TOC) with Microsoft Word
The recent version of Microsoft Word has a PDF exporter, making it easy to create the PDF. The PDF is very useful. Even if the user doesn't have the software which is used to make the documents can view or print them out. Create a PDF th... -
Define common macros across Xcode projects
When you develop a module consisting of multiple libraries and programs such as SDK, you can define the common macros referenced by multiple projects. For example, when you develop the SDK for communicating with a specific device, suppos... -
How To Create the Xcode Configuration Settings File
The Xcode project configuration is saved in the project file (*.xcodeproj). It is enough for normal-scale application development, but if you develop a middle or large-scale application, you may need more. Moreover, you would like to hav... -
Backup certificates and keys for Xcode
Certificates and keys generated by the Apple Developer Program are saved on your machine. This is because they are needed for development. Therefore, I back them up and restore them when I initialize my machines. This article explains ho... -
Create the window for SwiftUI with the AppKit
The Xcode 13.4.1 on macOS Monterery 12.4 can use only WindowGroup and DocumentGroup to implement the window generation in SwiftUI, so we can't create the single window application. You can't implement the all of the items in the menu bar... -
Set the window size in SwiftUI
This article explains how to set the window size, maximum and minimum sizes in a SwiftUI app. Defining a Window by WindowGroup When you define a window using the WindowGroup, your code would look something like this: import SwiftUI @main... -
How to terminate the SwiftUI app when the window is closed
This article explains how to terminate the SwiftUI app when the window is closed. With the WindowGroup Suppose you specify the SwiftUI to the "Interface" of the project option when you create the project. In that case, the generated code... -
How to create tabs in SwiftUI
Use TabView to create tabs in SwiftUI. This article demonstrates how to create tabs in SwiftUI. Basic Structure The TabView is used in the following structure. struct ContentView: View { var body: some View { TabView { // --- START --- /... -
[SwiftUI] Layout adjustment on the Conversion tab of the Preferences window
We are attempting to re-implement MultiTextConverter in Swift. This time, continuing with the creation of the look and feel of the preferences window, we are adjusting the layout of the conversion tab. For background information, please ... -
[SwiftUI] Create a tab in the Preferences window
I am attempting to reimplement MultiTextConverter in Swift. This time, I am creating the look and feel of the preferences window. Please see this article for the background. The window of the MultiTextConverter 3.6 In the MultiTextConver... -
I am interested in developing a Swift version of MultiTextConverter
I developed and released a macOS application called MultiTextConverter as freeware. Its main functions are the conversion of text encoding of text files and the conversion of line feed characters. It is available on the RK Kaihatsu websi... -
How to resolve xcpretty locale error launched from GitLab CI
When executing XCTest through GitLab CI, you may encounter the following error. /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in `===': invalid byte sequence in US-ASCII (ArgumentError) from /Library/Ruby/Ge... -
Specify the XCTest test environment in which GitLab CI will run
When conducting XCTest testing using GitLab CI, you must define the test environment. If the machine running Runner on the macOS app is an Apple Silicon machine, do we run it natively, or do we run the Intel binary with Rosetta2? If you ...