101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

481
active users

#AppKit

10 posts8 participants0 posts today
Jon Sterling<p>There are so many rough edges in Cocoa, but when you know the secret way to do something, it is very nice.</p><p>For example, if you bind the table columns to a key path into an array controller, you can get away with not implementing NSTableViewDelegate and providing cell views yourself.... EXCEPT that <a href="https://mathstodon.xyz/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> provides cell views in which the text field is vertically misaligned. So this basic functionality, which probably worked correctly a long time ago, cannot be used and you must implement your own views.</p><p>There's a lot of stuff like that... Broken windows (no pun intended). It makes me kind of sad to see it neglected in that way.</p>
Jon Sterling<p>So today I spent the day learning how to create a Mail.app-style layout in <a href="https://mathstodon.xyz/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> programmatically, using Cocoa Bindings, NSTreeController, NSArrayController, etc. </p><p>My sample code is here: <a href="https://git.sr.ht/~jonsterling/cocoa-bindings-template" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">git.sr.ht/~jonsterling/cocoa-b</span><span class="invisible">indings-template</span></a></p><p>This seems to work correctly on macOS Sequoia, with the "correct" interaction between the source list scrollview and the window toolbar area. I have to wait until I get home to test this on Tahoe, where I had before been having trouble with the sidebar not receiving the correct "edge effect".</p>
Jon Sterling<p><a href="https://mathstodon.xyz/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> developers on macOS Tahoe: have you had any difficulties getting the "scroll edge effect" to apply? I have a split view with a source list on the left, and when I scroll the content under the window border, there is no blur at all. </p><p>/cc <span class="h-card" translate="no"><a href="https://mastodon.social/@marioguzman" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>marioguzman</span></a></span> <span class="h-card" translate="no"><a href="https://infosec.exchange/@pasi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pasi</span></a></span></p>
Matthias Gansrigler-Hrad<p>One line in <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a>.<br>A thousand in <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a>.</p><p>🤦‍♂️</p>
Mario Alberto Guzmán<p>PDX Transit for macOS in Light vs Dark Modes.</p><p><a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a> <a href="https://mastodon.social/tags/WWDC25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WWDC25</span></a></p>
Poren Chiang<p>今天在 COSCUP 2025 Lightning Talk 的簡報,羅列了最近開坑的三個 side project!(・ω・)✨</p><p>「為專案取名永遠是最困難的」<br>“The Eternal Struggle of Naming a Project”</p><p><a href="https://speakerdeck.com/rschiang/the-eternal-struggle-of-naming-a-project" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">speakerdeck.com/rschiang/the-e</span><span class="invisible">ternal-struggle-of-naming-a-project</span></a></p><p>所有程式碼都以開源授權放在 GitHub!<br><a href="https://g0v.social/tags/COSCUP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COSCUP</span></a> <a href="https://g0v.social/tags/COSCUP2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COSCUP2025</span></a> <a href="https://g0v.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://g0v.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a></p>
Mario Alberto Guzmán<p>I wonder why they decided to do the glass platters for the inspector sidebar and not just the free-standing glyphs like they did for the regular sidebar... hmmm...</p><p><a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a></p>
Mario Alberto Guzmán<p>Okay, I think I figured it out. </p><p>I can add a Visual Effect View that sits at the top of the window outside the safe area insets to give a nice blur to the map's content as to not interfere with the toolbar's titles and button titles (if shown).</p><p>But the visual effect has a gradient mask to avoid a hard-stop at the bottom.</p><p>It's so visually busy as now content flows behind the sidebar and the inspector and the toolbar should be translucent.</p><p><a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a> <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a></p>
Mario Alberto Guzmán<p>Holy shit, I think it was the <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> team who fixed this but they fixed it for <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a>!</p><p>Basically, SwiftUI wouldn't persist the state of UI like scroll position when switching between tabs etc etc... and still doesn't. So I made a SwiftUI hosting view for NSTabViewController complete with NSToolbar.</p><p>Inside each TabView, I use SwiftUI again where each is a sidebar with a detailed view on the right. In macOS Sequoia, this would crash when switching tabs!</p><p>I think I might be unblocked now!</p>
Pasi Salenius<p>Best classes</p><p><a href="https://infosec.exchange/tags/appkit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>appkit</span></a> <a href="https://infosec.exchange/tags/cocoa" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cocoa</span></a></p>
Mario Alberto Guzmán<p><span class="h-card" translate="no"><a href="https://infosec.exchange/@pasi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pasi</span></a></span> can <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> better than Apple can. <a href="https://infosec.exchange/@pasi/114992112325514719" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">infosec.exchange/@pasi/1149921</span><span class="invisible">12325514719</span></a></p>
Mario Alberto Guzmán<p>Despite all these changes I am making for <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a>, I'm still able to easily support back to macOS 13.0 Ventura. It's sorta fun how different it all looks now... still not liking Tahoe though. Too busy.</p><p>I don't care that it looks "cool" -- "cool" doesn't help with usability. It should be an organic side-effect, not the driving factor.</p><p>macOS Tahoe &amp; macOS Sequoia</p><p><a href="https://mastodon.social/tags/WWDC25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WWDC25</span></a> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a></p>
Pasi Salenius<p>Proxygen lifetime license is now 50% off for a limited time. Discounted price available in App Store and at <a href="https://proxygen.app" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">proxygen.app</span><span class="invisible"></span></a>.</p><p>Get it while supplies last 😉</p><p><a href="https://infosec.exchange/tags/swiftlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swiftlang</span></a> <a href="https://infosec.exchange/tags/iosdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iosdev</span></a> <a href="https://infosec.exchange/tags/appkit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>appkit</span></a></p>
Mario Alberto Guzmán<p>...continued. Will say it doesn't look muted enough when the app is backgrounded. :/</p><p> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> <a href="https://mastodon.social/tags/WWDC25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WWDC25</span></a> <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a></p>
Mario Alberto Guzmán<p>Updated my <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> app a bit more:</p><p>Got rid of NSSplitView that housed the Map &amp; TableView (only drawback is now the user cannot resize anymore).</p><p>This (along with the new automaticallyAdjustsSafeAreaInsets API) allowed for the Map to go under the sidebars not just for the areas above the TableView but all around it.</p><p>The TableView now floats over it with a 40% height.</p><p>But now content goes under both sidebars like it does in Apple Music. Hate it but ¯\_(ツ)_/¯.</p><p><a href="https://mastodon.social/tags/WWDC25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WWDC25</span></a> <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a></p>
Mario Alberto Guzmán<p>😅 even I think my own app is hella ugly with this new design... lol I really don't want to publish this.</p><p>(I need to figure out why those labels aren't drawing their backgrounds in the sidebar)</p><p>I also don't know if I am supposed to get like a fade effect on the sidebar's bottom bar using the new NSSplitViewItemAccessoryViewController API.</p><p><a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a></p>
Mario Alberto Guzmán<p>I am using the new NSSplitViewItemAccessoryViewController in <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> and pinning it to the bottom of my sidebar.</p><p>Why did I assume I would get that view that has the fade when content scrolls behind it like the top part of the scroll view under the toolbar?</p><p>Hmmm... Inspecting it looks like it adds a visual effect view somewhere in the hierarchy.</p><p><a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> <a href="https://mastodon.social/tags/WWDC25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WWDC25</span></a></p>
Mario Alberto Guzmán<p>I am *sure* this is a bug or oversight and not an actual design decision here...</p><p>But now that you can apply a tint color to glass buttons in the toolbar, if you do, their contrast with the glyph is so bad when the window is backgrounded.</p><p>Look at the Green search toolbar button in these two screenshots.</p><p><a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a></p>
Mario Alberto Guzmán<p>This area here, outlined in green, can be used to drag around the window. If your pointer is here, you also cannot swipe to scroll because technically there is a toolbar here (except it is now invisible in Tahoe).</p><p>This is the most confusing UI I have ever seen.</p><p><a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a> <a href="https://mastodon.social/tags/AppleMusic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleMusic</span></a> <a href="https://mastodon.social/tags/LiquidGlass" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LiquidGlass</span></a></p>
Florian Heidenreich<p>Added</p><p>- Increase visual distinction between enabled and disabled NSComboBox (FB18899135)</p><p>On previous versions of macOS, the control changed its background color to a lighter tone, indicating its disabled state. Now, there is no change in background color, making the control appear like it’s enabled.</p><p>Actually, the only change seems to be that the color is removed from the down arrow, which is really hard to grasp.</p><p> <a href="https://mastodon.social/tags/macOSTahoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOSTahoe</span></a> <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppKit</span></a></p>