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

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

How does Apples #Spotlight 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

#IndieDev #Apple #MacDev

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 🎉

#swift #swiftui #macdev

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!

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 ? A young colleague of mine is going, and I would like him to meet a few people!

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!

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.

davidbures, to swift
@davidbures@mstdn.social avatar

Earlier today, I shared the first prototype of starting and stopping services in Cork.

I've made some adjustments to it, including polishing up the progress indicator, and I think it looks pretty alright.

What do you think?

(@troz here's that 2nd part 😉)

Video of new Homebrew service starting workflow

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

I'm cooking something in the next version of Cork that a lot of people requested… (still WIP)

Demo of starting and stopping a service in Homebrew

davidbures, to swift
@davidbures@mstdn.social avatar

I really need some Swift help. If you’re feeling brave, could you check out this Cork issue? https://github.com/buresdv/Cork/issues/275

We’re having trouble with the “Somehow bypass this licensing scheme if the user compiled Cork themselves” part

Do you have any ideas on how to solve this? If you do and you help implement it, you’ll get a spot in the “Special thanks” section of the readme and within the app itself, as well as a free license or cash equivalent of the license

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

ChatGPT, tf is this? :catfacepalm:

#SwiftUI #macdev

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

Is there a way to display a .searchable field in a .sheet on macOS?

I have this simplified code:
NavigationStack {
VStack {
}
.searchable
}
(the code above is in a .sheet)
But the searchable field is not displaying 🤔

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

Can anyone tell me why this is landing at fatalError?

guard let a = someArray.first else {
return
}
self.someVar = a
guard self.someVar == a else {
fatalError("What?")
}

This is in the init method of a SwiftUI View, if that makes any difference …

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

This happens way too often and I hate it

davidbures, to swift
@davidbures@mstdn.social avatar

I'm working on my first CLI app built with Swift in ages (the only other CLI app I made was my very first Swift app in 2020).

What do you think of the way the output looks? 😊

davidbures, to swift
@davidbures@mstdn.social avatar

While my instance was down, I created this simple Swift package for formatting colors and fonts in CLI apps in a SwiftUI-like way:

print("I will be bold + italics, yellow with a red background".font([.bold, .italic]).color(.yellow).background(.red))  

Check it out: https://github.com/buresdv/SwiftyTerminalColors

I'm planning to add RGB colors down the line using a similar syntax, and other escape codes 👌

swiftly, to swift

Can anyone point me to any resources they recommend on building Widgets for macOS which pay particular attention to dynamic configuration (selecting user created values from the main app) and interactivity?

fancypat, to swift
@fancypat@mastodon.social avatar

Hi pals, ever wish there was an app just for reading Swift Evolution proposals? Me neither. Anyways, I built one: https://testflight.apple.com/join/qmH8gk0n

It's called Evolreader (because it's for reading Swift Evol-ution... you get it). It downloads the swift-evolution repo to your device so you can read stuff offline. It also saves your progress along the way.

I had fun making it, it's free, and maybe some of you might enjoy it. Here, have some hashtags and screenshots.

image/png
image/png

nemesisprime, to random
@nemesisprime@iosdev.space avatar

So… TextKit 2, have we made progress or still fundamentally unusable? I don’t think I can open that Pandora’s box again. #iosdev #macdev

furnacecreek, to macos
@furnacecreek@mastodon.social avatar

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

#AppKit #macOS #SwiftUI #macdev #indiedev

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