davidbures, to swift
@davidbures@mstdn.social avatar

Has anyone here succeeded in setting up jekyll-apple-help to generate help books for macOS? This project: https://github.com/chuckhoupt/jekyll-apple-help

I wanted to use it to create a help book for Cork, but I'm having some major problems setting it up, and the guide is very hard to follow.

If anyone managed to set it up, would you be willing to help me? It would help a lot 😊

below, to random German
@below@mastodon.social avatar

No more Slack Channels for #WWDC24 ?

#wwdc #iosdev #macdev #wwdc2024

davidbures, to swift
@davidbures@mstdn.social avatar

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.

davidbures, to swift
@davidbures@mstdn.social avatar

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!

It's far from complete, but I'm doing my best

Very old package preview from 2022

davidbures, to random
@davidbures@mstdn.social avatar

I have a question for old school macOS devs:

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 🤔

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…) 🤨

mackuba, to random
@mackuba@martianbase.net avatar

Oh wow… someone on StackOverflow recommended to use this for an animation; available in iOS since 3.1, on macOS added only in Sonoma 😳

davidbures, to swift
@davidbures@mstdn.social avatar

Update on Cork Shortcuts support:

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)

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

Image of code

davidbures, to swift
@davidbures@mstdn.social avatar

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 🤔

Code is here: https://github.com/buresdv/Cork/tree/main.widgets/Widgets

davidbures, to swift
@davidbures@mstdn.social avatar

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

We'll see what's gonna be next!

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

image/jpeg

davidbures, to swift
@davidbures@mstdn.social avatar

I'm not promising anything for the next version of Cork just yet, but I'm trying to cook here…

davidbures,
@davidbures@mstdn.social avatar

Oh yeah it's all coming together now

davidbures, to swift
@davidbures@mstdn.social avatar

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?

CorkApp, to swift
@CorkApp@mstdn.social avatar
cdfinder, to apple
@cdfinder@techhub.social avatar

We have just released yet another free Video Tutorial for you!

How does Apples work on a File Server or NAS?

Hint: It probably won't, so for better results, use NeoFinder...

https://www.neofinder.de/forum/phpBB3/viewtopic.php?p=454

neofinder, to macos
@neofinder@mastodon.social avatar
davidbures, to swift
@davidbures@mstdn.social avatar

I have another (slightly stupid) SwiftUI question: How can you set the size of a NSViewRepresentable?

Suppose I have this code:
https://gist.github.com/buresdv/92842f84d0e706d3dcdae5587f163001

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 🎉

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 🤔

davidbures, to apple
@davidbures@mstdn.social avatar

Who else uses Xcode in disco mode?

video/mp4

davidbures, to swift
@davidbures@mstdn.social avatar

Update on the categorized cached downloads (https://mstdn.social/@davidbures/112456702745516734):

Now, it also works when the name of the installed package is not exactly the same as the name of the cached download!

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

cdfinder, to apple
@cdfinder@techhub.social avatar

So, if you have the Pro Video Codecs are installed on your Mac, the integrated video player in can play Sony MXF video files! Pretty cool!

https://www.neofinder.de/forum/phpBB3/viewtopic.php?p=451#p451

You get these codecs when you use Final Cut Pro and other Appl apps...

below, to random
@below@mastodon.social avatar

So, who here is going to #wwdc2024 ? A young colleague of mine is going, and I would like him to meet a few people!

#iosdev #macdev #wwdc

davidbures, to macos
@davidbures@mstdn.social avatar

Are you using Cork? Are you happy with it? If so, I'd really appreciate if you gave it a review on Product Hunt: https://www.producthunt.com/products/cork-2/reviews/new

I'd also really appreciate if you'd review Cork on other sites, and even send word about it to your favorite Mac publications - every little bit helps immensely.

Without your support, Cork and its community would never be as awesome as it is ❤️ Thank you!

#macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

davidbures, to swift
@davidbures@mstdn.social avatar

Will I spend an hour doing a tedious task? No, I'd rather spend a week writing an app to do it for me.

Anyway, I'll be posting about my next small utility app for macOS, StringsMerge, which will let you merge two conflicting .xcstrings files.

davidbures, to swift
@davidbures@mstdn.social avatar

Thanks to @dimitribouniol and @glacials, we're much closer to the next Cork release! I was finally able to implement the first version of a self-compiled check, which was the only requirement left for the next release.

As promised, both Dimitri and Ben will be getting either a free Cork license or the cash equivalent, as well as a special shoutout in the contributors sections once the feature is fully implemented.

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

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