-
ブログ
Cookie同意のバナーについて
色々なWebサイトを見ていると、Cookieに関する同意を求めるサイトが多くなったと思いませんか?Google Analyticsではトラフィックを分析するためにブラウザから分析に必要な情報を取得します。また、Cookieに間接的にでも個人を識別できる情報が含まれる場... -
Development
Part 10 Finishing the Color Picker | Create the Color Picker with SwiftUI
This article is part of a series focused on creating color picker in SwiftUI. Previously, we completed the color picker itself. This article concludes the series by demonstrating the color picker in a sample application. What we make Dis... -
開発
第10回 カラーピッカーの仕上げ | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作る連載記事です。前回まででカラーピッカー自体は完成です。今回は作ったカラーピッカーを実際に使って見るサンプルアプリを作って仕上げとします。 作る内容 "Hello World"のラベルとボタンを表示し、ボタンがタップされたら... -
Development
Part 9 Dynamically Changing Gradients | Create the Color Picker with SwiftUI
This is a series of articles on creating a color picker in SwiftUI. In the previous articles, the model was partitioned by channel, with gradient and current channel value information being distinct entities, thereby complicating the dyn... -
開発
第9回 グラデーションの動的変更 | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作る連載記事です。前回までの実装ではモデルがチャネル毎、更にグラデーションの情報とチャネルの現在値の情報が分かれていて、動的にグラデーションを変化させる処理の実装を困難にしています。今回はこれらを統合して、カラー... -
Development
Part 8 Creating a preview of the selected color | Create the Color Picker with SwiftUI
This is a series of articles on creating a color picker in SwiftUI. In this article, we'll implement a color preview, drawing upon the values selected using the RGB channel sliders we built in the previous articles. Moreover, we need to ... -
開発
第8回 選択色のプレビューを作る | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作る連載記事です。今回は前回までに作成したRGB各チャネルのスライダーで選択した値を元に色をプレビュー表示する処理を実装します。 また、現在値のフォーマットが小数点以下1桁になっているため、数値指定する場合の精度が低... -
Development
Part 7 Making it possible to move knobs by dragging (panning) | Create the Color Picker with SwiftUI
This is a series of articles on creating a color picker in SwiftUI. In this article, we will implement a process that allows knobs to be moved with a drag (pan) gesture. Use DragGesture in SwiftUI In UIKit, the gesture of tracing a finge... -
開発
第7回 ノブをドラッグ(パン)で移動できるようにする | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作るという連載です。今回はノブをドラッグ(パン)ジェスチャーで移動できるようにする処理を実装します。 SwiftUIではDragGestureを使う UIKitではiOSやiPadOSで、スクリーンを指でなぞるジェスチャーのことを「パン」と呼びま... -
Development
Part 6 Organizing Code | Create the Color Picker with SwiftUI
This series of articles resolves around creating a color picker in SwiftUI. Initially, I envisioned the code to be on a smaller scale and, thus, added code with minimal organization. However, this approach led to a convoluted codebase. S... -
開発
第6回 コードの整理 | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作るという連載記事です。もっと小規模なコードになると思っていたので、あまり整理しないでコードを付け足して来てしまったため、コードがごちゃごちゃになってしまいました。今回はコードの整理をしたいと思います。 1チャネル... -
Development
Part 5 Allowing a tap to set a value | Create the Color Picker with SwiftUI
SwiftUIでカラーピッカーを作るという連載記事です。今回はカラーピッカーのグラデーションビュー上をタップして、RGB値を設定できるようにするためのコードを実装します。 This is a series of articles on creating a color picker in SwiftUI. In this ... -
開発
第5回 タップで値を設定できるようにする | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作るという連載記事です。今回はカラーピッカーのグラデーションビュー上をタップして、RGB値を設定できるようにするためのコードを実装します。 SwiftUIでタップジェスチャーに対応するには SwiftUIでタップジェスチャーに対応... -
Development
Part 4 Changing the knob position according to its value | Create the Color Picker with SwiftUI
This is a series of articles on creating a color picker in SwiftUI. In the previous article, we implemented the placement of the knob, but it remains fixed at the location where the value is 0, regardless of the current value. This artic... -
開発
第4回 値によってノブの表示位置を変更する | SwiftUIでカラーピッカーを作る
SwiftUIでカラーピッカーを作る連載記事です。前回まででノブを配置するところまで実装できていますが、現在値に関係無く、値が0のときの場所に固定表示されています。今回は、値によって表示位置を変更する処理を実装します。 表示位置の計算 この連載で... -
Development
About iOS Developer Mode
Developer mode was introduced in iOS 15. When developer mode is turned off, you are unable to develop apps on the actual device, including such as installing and debugging an app under development. This article explains how to turn on de... -
開発
iOSのデベロッパーモードについて
iOS 15からデベロッパーモードが導入されました。デベロッパーモードがオフになっているときは、開発中のアプリをインストールしてデバッグするなどの、実機を使ったアプリ開発ができません。この記事ではデベロッパーモードをオンにする方法について解説... -
開発
テックブログの色々な変更
テックブログですが、本サイトに再統合されました。 技術系のHow To記事の公開場所としての役割をテックブログに変更してから、こちらのブログの更新頻度がかなり低下してしまいました。 テックブログはヘッダーのブログメニューやフッターにリンクを張っ... -
Development
Charging an iPad and its Recognition by Mac Depending on the Connection Method
The connection and power supply method can determine whether the iPad charges or not. It is also essential to power the iPad when working long hours, such as when debugging iPad apps in Xcode. In this article, we investigated different c... -
開発
接続方法によって異なるiPadの充電とMacからの認識
iPadは接続方法及び給電方法によって、充電される場合と充電されない場合があります。また、Macとの接続方法によってMacから認識される場合とされない場合があります。XcodeでiPadアプリをデバッグしているときなど、長時間作業するときには給電できること...
