Jeffrey Bergier

@jeff@jeffburg.social
74 Followers
158 Following
325 Posts
Cocoa Developer and Teacher. Love technology and cars. Working in the automotive software industry. Living in Tokyo.

Ok, actual UI update for [Not]Soulver for #OpenStep. I swapped out a text field for a slider. Big, I know 😎, but it paves the way for the next update which is to replace the NSPopUpButton for controlling Dark Mode with a custom 3 button toggle.

https://github.com/jeffreybergier/NotSoulver/pull/45/commits/355da6f3b1e4b491e8ddb5c5cbd499b7120831da

I admit that I have never added an NSSlider in code before, but I saw in the #OpenStep documentation that it has a -setTitle: property. However, I tried to use this and in Xcode I got this quite stern warning

'setTitle:' is deprecated: first deprecated in macOS 10.9 - -setTitle: had no effect since 10.0

But after trying it, it appears it has no effect in OpenStep either. I want to know the back story here. What happened?? lol

I updated [Not]Soulver for #OpenStep based on this approach. It now treats macOS26 and OpenStep as the "correct" button sizes and handles those pesky Mac OS X versions in the middle 30 years as an outlier 🤣

https://github.com/jeffreybergier/NotSoulver/pull/45/commits/553bd07ba1bd0d690168c8e5e6f570b19d9ef847

[Polish] Remove AccessoryWindows.nib by jeffreybergier · Pull Request #45 · jeffreybergier/NotSoulver

[Not] Soulver for OpenStep 4.2. Contribute to jeffreybergier/NotSoulver development by creating an account on GitHub.

GitHub

Say what you will about #macOS26 and #LiquidGlass, but it fixes one thing I always disliked about NSButton.

NSButton in OS X doesn't size itself to the frame you give it. I think its because it draws a shadow, its always inset from its own frame. This makes it extremely hard to line up with other UI elements.

How does macOS26 help with this? It looks like for the first time since the original NSButton for #OpenStep, in macOS26, NSButton draws itself to its frame with no space around it. I'm extremely excited about.

I made this monstrosity of a diagram showing the same two UI's using the exact same layout code rendered in many versions of OS X and you can see that only OpenStep and macOS26 have exactly matching metrics. 🥳

It looks like this JapanNext 5k monitor just became available for sale. Based on the specs it looks like the same panel as the #iMac5K and the Studio Display. The price looks very appealing. So if apple doesn’t update their monitors soon it might be an option for me.

https://jp.japannext.com/products/jn-ips275k-hspc9

Real NeXT black hardware is too rich for my blood these days. I should never have given away my cube in 2017 🥺 #OpenStep
大阪万博に行っていた
#expo2025 #tokyojeff
Thank goodness for this ancient guide from Apple still being online. If it were not for this I would never be able to create an NSTextView in code. Its so fiddly. #OpenStep
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/TextUILayer/Tasks/TextInScrollView.html#//apple_ref/doc[…]000938-CJBBIAAF
Putting an NSTextView Object in an NSScrollView

Explains how to implement the main, high-level interface to the Cocoa text system.

By the way, the WWDC video "Meet Liquid Glass" contains what might be the highest resolution rendition of an Aqua UI element to ever come out of Apple, though we can't be sure it's in any way "canonical"
Guys, I think I downloaded the wrong developer release. My Mac OS GUI is looking a lot more polished and refined than what I am seeing on apple.com