Cykelero, to random
@Cykelero@mas.to avatar

Does someone know what causes Xcode to regularly add/remove the focusRingType="none" attribute in macOS Storyboards? It's making diffs much messier than they should be!

mackuba, to random
@mackuba@martianbase.net avatar

Ok, I gave up on Applescript, it wasn't flexible enough… I built it in .

Basically I wanted something that I can put into crontab, which shows a popup dialog that I can't too easily ignore, which tells me to get away from the computer when it's time to make something to eat or go to sleep 🫠🫣 https://bsky.app/profile/did:plc:oio4hkxaop4ao4wz2pp3f4cr/post/3ktgft6f7k227

mackuba, to random
@mackuba@martianbase.net avatar

question: if I have a main storyboard set in Info.plist, and an initial (entry point) window controller in that storyboard (with "single presentation"), so like in the Mac app Xcode template, the storyboard automatically creates the window controller and its window and displays it; can I get a reference to that controller from AppDelegate somehow? (Calling instantiateInitialController creates a second window controller for some reason…) 🤨

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

I wonder, is there a built-in AppKit/SwiftUI component that lets you show a folder structure like this? Or do you have to create a custo one? I can't think of a way to look this up 🤔

cdfinder, to apple
@cdfinder@techhub.social avatar

Since when does AVPlayerView install its own context menu with weird and unwanted "sharing" commands, overriding the menu I have set myself?

Sigh. Is there documentation for that? I couldn't find anything...

cdfinder,
@cdfinder@techhub.social avatar

I fixed it!

You can use "allowsVideoFrameAnalysis" property on the AVPlayerView to deactivate this unwanted thing.

Of course, this is NOT documented in the official release notes, which were always suspiciously short:

https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-13

I only found a reference to that in 2022 video 10026.

cdfinder, (edited ) to macos
@cdfinder@techhub.social avatar

So, it turns out that in 14 , if you have a NSPopUpButton, and use removeFromSuperview and then later addSubview to add that item again to a view, macOS doesn't draw the button properly, until it gets clicked at least once.

(setting up said Popup is very expensive, as in "slow", in the app in question, so for 15 years, it was a working idea to keep it around)

Awesome.

Yet another in the long long list of massive problems in the system frameworks in .

Cykelero, to macos
@Cykelero@mas.to avatar
cdfinder, to macos
@cdfinder@techhub.social avatar

Yeay, 8.6 has just been released!

This is always a strange time, all the hard work and pressure in the previous weeks, then the release, and then? Nothing. At least for a while.

It somehow feels like a little black hole.

I call that the "post release blues".

What to do? A nice long walk along the river banks. Get some fresh air, and then?
Start with the next version! 😅

https://mastodon.social/@neofinder/112275160816124961

furnacecreek, to macos

Do you have a Mac app that prompts for Mac App Store reviews using SKStoreReviewController or the requestReview SwiftUI action? The review window is getting presented inactive and in the background on macOS Sonoma. We came up with a workaround:

https://furnacecreek.org/blog/2024-04-14-how-to-prevent-background-mac-app-store-rating-windows

krzyzanowskim, (edited ) to random
@krzyzanowskim@mastodon.social avatar
aral,
@aral@mastodon.ar.al avatar

@krzyzanowskim Haha, nice:

4445425547:

0x44 = d
0x45 = e
0x42 = b
0x55 = u
0x47 = g

🐞

cdfinder, (edited ) to apple
@cdfinder@techhub.social avatar

Thank you, , for NOT making MKMapFeatureAnnotation available in .

WTF?

What are they doing?
This is so frustrating...

Seriously, Tim, if you are not interested in macOS anymore, place it in a new separate company that may actually work on it, and fix the bugs...

obrhoff, to SwiftUI

People often ask me, if DaftCloud is written in SwiftUI. Nope, it's AppKit with some weird design pattern. Most screens are just CollectionViews with DiffableDataSource which gets Diffed / Redrawn on State Updates.

I love SwiftUI on the iOS, but I heard that it's still not ready for macOS (after 4 years?)

macmade, to macos
@macmade@mastodon.social avatar

Made a tiny app to copy metadata from an image to multiple images. It is helpful for my astrophotography workflow, as I often lose metadata while stacking images.
Available on my GitHub: https://github.com/macmade/MetaCopy
#macos #app #cocoa #swift #appkit #astrophotography #photography #photo #metadata #exif

anosidium, to SwiftUI
phranck, to apple
@phranck@chaos.social avatar

I stumbled across while browsing the web. I had completely forgotten that this website still exists. 😃

All the controls I developed eons ago are listed here. 🤓

https://www.cocoacontrols.com/authors/phranck

humblehacker, to macos

I noticed some inconsistency in text selection behavior. If I have some text selected and I shift-click before the selection, the selection start point moves to the clicked point. But in some places, the end point also moves to the previous start point.

Try it! Shift-click before some selected text …

  • Safari address bar: extends selection
  • Settings search field: replaces selection

Anyone know why?

I thought maybe vs , but after many experiments I don't think so.

humblehacker,

A little code goes a long way. Just popped up a SwiftUI view with a TextField and a TextEditor, and sure enough, that's the difference! TextField (NSTextField) has the selection replacement behavior, while TextEditor (NSTextView) has the selection extending behavior.
@bgannin

lukaskubanek, to swift
@lukaskubanek@mastodon.social avatar

I’m looking for a new freelance project as an iOS/macOS developer! Familiar with , , , , and recently really into and . Creator of Diagrams for Mac, featured in the Mac App Store (https://diagrams.app). Open to remote, short to mid-term collaborations. If this sounds interesting, I’d be happy to chat.

For more info about me and my experience, check out my website: https://lukaskubanek.com

Boosts appreciated.

anosidium, to macos
anosidium, to macos

Three years ago on this day, I published my first Mac app, HacKit. It’s a Hacker News reader and the name is a portmanteau of Hacker News and AppKit. It’s a pure Cocoa app written in Swift with no SwiftUI integration.

marioguzman, to VintageOSes
@marioguzman@mastodon.social avatar

Couple years ago I recreated Classic Mac OS progress and indeterminate progress bars with Core Animation. I really need to find a project to use them in! 😁

Also, the barber pole style indeterminate progress bars were just sooooo “Macintosh.”

I hope everyone has a great day except the person who decided to remove them from modern macOS. Ugh.

video/mp4

anosidium, to macos

The next build of Oliphaunt will have a proper tab support. It will also respect your tab setting in System Settings. Is this a feature that you will use?

A screen recording of demonstrating Oliphaunt (a native Mastodon Mac client app) tab feature, by switching tabs, opening and closing a tab and showing tab overview.

marioguzman, to macos
@marioguzman@mastodon.social avatar

Sheets!

Sheets in Mac OS X had such a lovely animation presentation.

They'd come out from a "slit" between the titlebar and the toolbar. You can even see the slit. It was so neat.

And of course the "Slit" would go away when the sheet would retract as you'd dismiss it.

The often reminded me of a page coming out from a printer (much faster of course). I miss the playfulness of Mac. :(

marioguzman, to macos
@marioguzman@mastodon.social avatar

I know this is just a highlight color and not the accent color, but Apple needs to bring this back for Accent Colors -- There needs to be a Graphite accent color too. They replaced it with basic Grey and it's not the same.

Grey colored controls often look disabled.

Also this is just a Aqua appreciation post. It's just gorgeous.

image/png

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines