-
AI & ML
Google ChromeのWebページ翻訳機能の使い方
前回の続きで、複数回に分けてすぐに利用可能な機械翻訳機能を紹介します。今回はGoogle ChromeのWebページ翻訳機能の使い方を紹介します。前回の記事については次のリンクを開いてください。 海外の学習プラットフォームも身近になる スキルアップやリス... -
AI & ML
SafariのWebページ翻訳機能の使い方
プログラミングやCGの勉強や調査を行っていると、最新の情報は英語で書かれているということに気がつくと思います。APIリファレンスなどで使われている英語はシンプルな表現が多いのですが、アルゴリズムの解説や背景の解説、学術寄りの話題など、コードの... -
Development
How To write C++ callbacks with Swift’s closure
This article provides instructions on how to write a callback function using Swift's closure for interfacing with a library written in C++ from Swift application. Interoperability with C++ is now an official feature in Swift 5.9. This ar... -
開発
C++のコールバックをSwiftのクロージャーで書くには
C++で実装されたライブラリがあり、それをSwiftで実装しているアプリから使いたいというときに、ライブラリに渡すコールバック処理をSwiftのクロージャーで書くにはどうしたらよいかについて解説します。 Swift 5.9でC++との相互運用機能が正式機能になり... -
Development
How to avoid pod install errors when building Flutter apps
At times, when building a Flutter app on an Apple Silicon Mac, like a MacBook Pro M1, you may encounter failure during pod install. This is when the CocoaPods installation process is executed, for example, by adding a package. This artic... -
開発
Flutterアプリビルドでのpod installのエラー回避方法
MacBook Pro M1など、Apple Silicon Mac上でFlutterのアプリをビルドしようとしたときに、pod installがエラーになってしまうときがあります。例えば、パッケージを追加するなどして、CocoaPodsのインストール処理が実行されるときです。 この記事ではエラ... -
Development
How to read/write control values in AppKit (about outlets) | How to Create macOS Apps
In the previous article, we implemented executing an action when clicking a button. Actions with buttons are one of the basic things common to most applications. Similarly, reading and writing controls' values are a common issue in appli... -
開発
AppKitでコントロールの値を読み書きする方法(アウトレットについて) | macOSアプリの作り方
前回はボタンをクリックしたときにアクションを実行するという処理を実装しました。ボタンによるアクションは一般的なアプリで共通する基本的な事柄の一つです。同様にアプリ開発で共通する事柄の一つに、コントロールの値の読み書きがあります。 コントロ... -
Development
How to create buttons in AppKit (about targets and actions) | How to create macOS Apps
Buttons are among the most frequently used elements in applications. In this article, we will add a "Quit" button to the Cocoa Hello World so that the application can also quit from the button. This article will continue from the Cocoa H... -
開発
AppKitでのボタンの作り方(ターゲットとアクションについて) | macOSアプリの作り方
アプリ内でボタンは頻繁に使用する要素の一つです。今回はCocoa版Hello Worldに終了ボタンを追加して、ボタンからも終了できるようにします。 この記事では前回の記事で作成したCocoa版Hello Worldの続きから行います。前回の記事に沿って作成している場合... -
Development
Resolving iOS Simulator Issues on Apple Silicon Mac (arm64 Binary Error)
Specific frameworks incorporated into an application may lead to an error, preventing the iOS simulator from running on an Apple Silicon Mac. ld: in /Volumes/Data/src/RK/TechGakuWebSite/SampleCodes/OpenCVTest_iOS/common/opencv2.framework... -
開発
Apple Silicon MacでiOSシミュレータを実行できないときの対応方法(arm64バイナリのエラー)
Apple Silicon Macで組み込んだフレームワークによっては、次のようなエラーが起きてiOSシミュレーターが実行できなくなることがあります。 ld: in /Volumes/Data/src/RK/TechGakuWebSite/SampleCodes/OpenCVTest_iOS/common/opencv2.framework/opencv2(io... -
Development
Terminate the app when the window is closed | How to create macOS Apps
This article explains 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 AppKit uses ... -
開発
ウインドウを閉じたときに終了させる | macOSアプリの作り方
Cocoa版Hello World作成の続きです。今回はウインドウを閉じたときにアプリを終了させる処理を追加します。 この記事では前回の記事で作成したCocoa版Hello Worldの続きから行います。前回の記事に沿って作成している場合はそれを使用してください。作成さ... -
Development
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 and maximum sizes of the window. It also adds the code to center the window to HelloWindowControllerclass. This ... -
開発
AppKitアプリのウインドウの大きさと位置を制御する | macOSアプリの作り方
Cocoa版Hello World作成の続きです。今回は、ウインドウの最小サイズと最大サイズを設定します。また、ウインドウをスクリーンの中央に配置する処理を、HelloWindowContorllerクラスに追加します。 この記事では前回作成したサンプルコードを使用します。... -
Development
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... -
開発
Hello Worldのウインドウコントローラクラスを追加する | macOSアプリの作り方
前回のCocoa版Hello World作成の続きです。今回はウインドウコントローラクラスを追加して、Cocoa版Hello Worldで表示されるウインドウのウインドウコントローラを変更する方法について解説します。 この記事では前回の記事で作成したCocoa版Hello Worldの... -
Development
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... -
開発
Cocoa版Hello Worldを作る | macOSアプリの作り方
はじめてのmacOSアプリとして、Cocoa版のHello Worldの作り方を解説します。今回はコーディングゼロで、Storyboardの編集だけでHello Worldを作ります。 この記事ではXcodeを使用します。Xcodeをインストールしていない場合は次の記事を参考に、Xcodeをセ...
