Posts tagged “nstextfield”
2024
Composition Over Inheritance in NSViews
I noticed that I’m writing some AppKit/UIKit view components in a composable way that reminds me of the opaque nature of SwiftUI.View-conforming types: hiding away the actual 1st party APIs, providing very little surface area.
2023
How to Inspect SwiftUI.TextField.onSubmit and Figure Out You Can't Programmatically Use It
I looked for a way to trigger the onSubmit block in my own code, but none of my approaches bore fruit.
2020
2018
NSTextField usesSingleLineMode Stops Working When You Implement NSTextViewDelegate Methods