-
Development
Check the built environment from the “Info.plist” file
Once an application or library has been released, there may be times when you need to reproduce the original build environment to fix bugs. Usually, using the latest version of the environment at the time of the correction is fine. Howev... -
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】... -
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... -
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 ... -
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 f... -
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... -
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 ... -
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... -
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... -
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... -
Development
Part 3 Displaying the Current Value Knob | Create the Color Picker with SwiftUI
This is a series of articles on creating a color picker in SwiftUI. We created a text field in the previous article to display the current value. In this article, we will continue the process by implementing the look and feel of the proc... -
Development
Dynamically Getting the View Size in SwiftUI
In a SwiftUI app, you can use GeometryReader to dynamically get the view size. This article explains how to do it. 【】 Following the code, get the view size using GeometryReader and print it into the console. struct ContentView: View { ... -
Development
Part 2 Displaying the Current Value | Create the Color Picker with SwiftUI
This is a series of articles about creating a color picker in SwiftUI. The current value of the color picker we're creating in this series will be displayed as follows. Display labels and values above the gradient view Values can be edit... -
Development
Part 1 Displaying Gradients in SwiftUI | Create the Color Picker with SwiftUI
In this multi-part series, we will create a color picker in SwiftUI. This time, we will create the gradient part to be displayed in the color picker. 【SwiftUIでグラデーションを表示する】 Displaying gradients in SwiftUI struct PickerGrad... -
Development
How to use binary representation of floating point numbers in Swift
To store floating-point numbers in binary files or binary data buffers, they are encoded as defined by IEEE 754; in Swift, the BinaryFloatingPoint protocol defines methods, etc., to support IEEE 754. For example, float, Double, and Float... -
Development
How to display the open file dialog in AppKit
AppKit's NSOpenPanel class can display the standard macOS file open dialog. In addition to selecting files to open, the open file dialog gives Sandboxed apps access to specified directories on the file system. This article explains how t... -
Development
Converting Integer Types with Bit Patterns in Swift
To maintain bit patterns while converting integer types in Swift, utilize the provided initializer. init<T>(truncatingIfNeeded source: T) where T : BinaryInteger You can employ this initializer method to convert between unsigned an... -
Development
Change the iOS app lifecycle from UIKit to SwiftUI
Newer versions of iOS and macOS have been released, and the features offered by SwiftUI have also expanded. As a result, it is becoming possible to use SwiftUI for the parts that can be created with SwiftUI and use it in conjunction with... -
Development
Setting up a GitLab account on Xcode
After setting up a GitLab account in Xcode, you can directly access GitLab repositories from Xcode. This article explains how to set up a GitLab account in Xcode. 【Generate a personal access token】 To access GitLab from Xcode, you need... -
Development
Setting up a GitHub account on Xcode
After setting up a GitHub account in Xcode, you can access GitHub repositories directly from Xcode. This article explains how to set up a GitHub account in Xcode. 【Generate the access token】 To access GitHub with Xcode, you'll need an ...