Today WWDC 2024 begins. I am a little sad not to be in Cupertino today, as twenty years ago was my first WWDC in San Francisco (I had only visited Apple Developer Conferences in Germany before).
Happy Memories
If you are following WWDC or are even on location, say Hi 👋
Please boost for reach, because my Apple bubble is still not strong enough on Mastodon. And let me know your best tricks how to find content on this non algorithmic timeline
Folks, have you had any success in merging the new Strings catalog in Xcode 15?
A nice contributor translated Cork into Spanish. Unfortunately, they didn’t use the correct branch. The main branch had a few changes to the Strings catalog.
While implementing the package previews, I ran across one state that Cork didn't have covered yet: when an app is already installed outside of Homebrew, and you try to install the Homebrew version.
Instead of getting stuck, you now get this status.
Today, I merged the basic support for Shortcuts into mainline Cork. After that, I decided to take on another challenge
I thought it would be cool to be able to see detailed info about a package before you install it. This feature actually used to be in Cork back in 2022! But I had to remove it… until now!
Is there a built-in way to create these wizard windows? I've seen them in a lot of the older built-in macOS apps and always wondered how they were made 🤔
#MacDev#AppKit 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…) 🤨
I have added a shortcut for refreshing packages. Next step, I'll see if I can add a separate button to Cork itself for only refreshing packages without updating them!
(also, does anyone know why Shortcuts is showing the key for each LocalizedStringResource instead of the actual string? 🤔 see pic #2 for code)
Has anyone encountered this error before? I'm trying to test widgets, but the simulator doesn't start at all. I get no errors, not warnings, nothing in the console apart from the URL of the widget extension… it's weird. And Google is also not helping 🤔
To recap what I got working today in Cork (but I'm not promising that it's gonna be in the next release!):
Added three Shortcuts: Get installed Formulae, Casks or all Packages
"Get installed Formulae" allows you go only limit it to only manually installed packages. For some reason, doing this in the "Get installed Packages" crashes it even though it's the same system
How would you go about implementing a popup search menu like this? :think_bread:
Suppose I have a NSSearchField and want to make such popup menu to let the user choose some details about their search - for example, if they want to search by a package's name or description.
Or would there be a more appropriate, and completely different, solution? What do you think?
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 🤔
I want to limit the width of this NSViewRepresentable to 100
I can't use .frame when using this view in SwiftUI, because that results in the attached picture, so I suppose you have to set the size inside the NSViewRepresentable itself. But how? 🤔
Also shoutout to @nicoreese for answering the previous question 🎉
So, if you have the #Apple Pro Video Codecs are installed on your Mac, the integrated video player in #NeoFinder can play Sony MXF video files! Pretty cool!