David Bureš · @davidbures
567 followers · 1287 posts · Server mstdn.social

You can *feel* my hopelessness when I was creating this issue:

github.com/buresdv/Cork/issues

#Programming #macOSDev #swift

Last updated 1 year ago

David Bureš · @davidbures
563 followers · 1219 posts · Server mstdn.social

macOS programming question:

Is there a way to schedule a background task, so that the system executes it whenever it deems appropriate?

I want to create a func that will check for updates on a server. This is not a time-sensitive task at all, and I don’t want to waste system resources forcing it to fire every x minutes

I just want to tell the system „fire this task whenever you feel is appropriate, preferably when you’re already doing other network calls“. Is this possible?

#macOSDev #swift

Last updated 1 year ago

David Bureš · @davidbures
556 followers · 1155 posts · Server mstdn.social

I can’t believe it, I got banned from Apple Developer Documentation 😭 /s

#macOSDev #SwiftUI #swift

Last updated 1 year ago

David Bureš · @davidbures
555 followers · 1144 posts · Server mstdn.social

Are there any intermediate to advanced macOS-focused SwiftUI tutorials out there?

Everything is for iOS :(

#macOSDev #SwiftUI

Last updated 1 year ago

David Bureš · @davidbures
552 followers · 1099 posts · Server mstdn.social

I wonder, is it somehow possible to listen to changes to your app’s notification settings that were changed in System Settings? I feel like re-checking the authorization status every time the app comes into the foreground is not the most elegant option… 🤔

#macOSDev #swift

Last updated 1 year ago

David Bureš · @davidbures
551 followers · 1096 posts · Server mstdn.social

Just sent my first notification! There are still some things to iron out, but I’m very proud of myself 😁 (Also a sneak peek for what's coming in the next release of Cork)

#buildinpublic #macOSDev

Last updated 1 year ago

David Bureš · @davidbures
551 followers · 1096 posts · Server mstdn.social

Sweet! Just found out that the Notification Center APIs can be used with async/await. This changes everything, mainly because I discovered this only after already writing my implementation using callbacks 😅

#iosdev #macOSDev #swift

Last updated 1 year ago

David Bureš · @davidbures
550 followers · 1089 posts · Server mstdn.social

A question for macOS developers: Why is my NSMenuItem disabled?

#macOSDev #swift

Last updated 1 year ago

David Bureš · @davidbures
551 followers · 1088 posts · Server mstdn.social

I just got my earnings report from Apple, and I’m proud to announce that after being out for a year and a half, my app on the App Store made an entire 70¢

#buildinpublic #macOSDev

Last updated 1 year ago

David Bureš · @davidbures
552 followers · 1069 posts · Server mstdn.social

A question for the Swift macOS developers:

How can I request that the user change one of the settings for my app in Settings → Privacy & Security? Specifically, I need to prompt them for allowing my app in the „App Management“ section.

At the moment, the system prompts the user on its own, but it’s at a really inconvenient time for the UX, so I’d prefer if I could prompt for that permission at my convenience.

#macOSDev #macOS #swift

Last updated 1 year ago

David Bureš · @davidbures
166 followers · 687 posts · Server mstdn.social

Looking at some of my old code, I've discovered a few funny things.

Like this from one of my first projects, where I didn't know you could just pass an entire object to a View, and instead passed the properties individually

#buildinpublic #macOSDev #iosdev #SwiftUI #swift

Last updated 1 year ago

David Bureš · @davidbures
163 followers · 675 posts · Server mstdn.social

For everyone asking why I don't use the "Refactor → Rename" feature in Xcode.

This is why.

#Apple #swift #macOSDev #iosdev #Xcode

Last updated 1 year ago

David Bureš · @davidbures
160 followers · 566 posts · Server mstdn.social

Seems like Apple finally fixed the problem of DisclosureGroups not opening at all, but now they have a broken closing animation

#macOSDev #Apple #SwiftUI #swift

Last updated 1 year ago

Otávio Cordeiro :prami: · @otaviocc
321 followers · 411 posts · Server social.lol

Why isn’t this enabled by default?

#swift #swiftlang #xcode #macOSDev #iosdev #macdev

Last updated 1 year ago

Otávio Cordeiro :prami: · @otaviocc
309 followers · 365 posts · Server social.lol

Adding, removing, editing, and sharing PURLs is next (including sharing the link in a status post). With all the modular architecture setup finished, it should be easy to add new features.

I wish I had more time to work on this project.

#swift #swiftui #macOSDev #omg #omglol

Last updated 1 year ago

David Bureš · @davidbures
115 followers · 439 posts · Server mstdn.social

Does anyone else's do this weird thing where it ignores placeholders?

Any idea how to fix it? Restarting doesn't help

#swift #iosdev #macOSDev #Programming #Xcode

Last updated 1 year ago

Otávio Cordeiro :prami: · @otaviocc
308 followers · 360 posts · Server social.lol

I've added Account to the sidebar menu, so that the user can set the default address used by the app.

#swift #swiftui #macOSDev #iosdev #omg #omglol

Last updated 1 year ago

Otávio Cordeiro :prami: · @otaviocc
299 followers · 338 posts · Server social.lol

Emoji Picker with search

#swiftui #swift #macOS #macOSDev #omg

Last updated 1 year ago

Otávio Cordeiro :prami: · @otaviocc
272 followers · 245 posts · Server social.lol

What’s the best instance for and devs? I’m looking for a nice “Local Timeline” to follow. Thanks!

#macOS #iOS #macOSDev #iosdev #swift #swiftui

Last updated 1 year ago

Marcus Kida · @marcus
113 followers · 511 posts · Server bearologics.social

Oh by the way, I'm bearologics.social/@marcus on now (again). Find me there and get in touch about and maybe .

#mastodon #iosdev #macOSDev #SwiftDev #Motorcycles

Last updated 2 years ago