I can't wait for my timeline to collapse when Apple unveils iOS 18 with an OpenAI partnership at #WWDC next week. And BTW, Ice Cubes will move quickly to iOS 18 only depending on what #SwiftUI exclusive features there are!
Here's a subtle #accessibility interaction I frequently see developers overlook:
#SwiftUI makes it very easy to customize Button's appearance at the call-site, either by decorating the Button's label or by applying View Modifiers to the Button itself.
There is no time like the present to grab a deal, and what a deal this is. Simply the best written resources for #SwiftUI out there. You will not regret it. I own every one of them and use them regularly. I only endorse products I use. https://www.bigmountainstudio.com/a/77jt8
This is for anyone experienced with #SwiftUI in #macOS development.
I used MenuBarExtra to make a small status bar utility app. I wanted to add an onboarding view, and I've tried everything.
I can use a WindowGroup to have a window and a MenuBarExtra, but that would display an empty window even if you hide the onboarding view after it's done.
Any thoughts? Ideas? or do I have to abandon SwiftUI 🫠
ScrollKit 0.5.1 for #SwiftUI is out! 🚀 This version adds support for strict concurrency and fixes some bugs for the sticky header scroll view. If you want to create solid SwiftUI designs with sticky & stretchy headers, ScrollKit has you covered. https://github.com/danielsaidi/ScrollKit
If you are looking for a weather app that is simple and does not track your location, try Ducky Weather! One thing I have found in our research group is that the most popular free weather applications send your location to trackers and I wanted to create an app that does not do that. Because it uses NWS data, it is only available in the US.
More features to come but suggestions are welcome!
If I want to use String(localized:) to localize a variable, is this the best way? I can’t put it in directly like I used to with NSLocalizedString. In this case, the variable comes from Core Data, otherwise I could probably declare it directly as LocalizedStringResource. #Swift#SwiftUI#UIKit#Localization
I have come across something with the Observation framework that is confusing me so if there are any #SwiftUI Observation framework experts out there that can explain this to me, I would be forever grateful. Why I don’t have to define the object as a State object?
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)
I just realized that if you're formatting to an abbreviated weekday then VoiceOver (at least Ava and Zoe Premium) will only fully pronounce some of the days.
I guess it's because the ones that aren't pronounced are actual words with other meanings? 🤔
Text(oneShowDay.formatted(.dateTime.weekday(.abbreviated)))
there really aren't that many good looking #mastodon desktop clients sadly (outside of #macos but then they all look more or less the same because of #swiftui, not to say they don't look great)
Swift/SwiftUI Question: App Store Connect API provides a gzip when the response is successful for a particular endpoint I am accessing.
How do I take this gzip and save the contents of it to a files app / sandbox directory / swift data, so that I can read it and view the contents? From what I understand, gzip is similar to a zip file?
So far my attempts to save it to files to read the contents have failed. It says “Inappropriate file type or format”.
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?
Back from sabbatical! More #CircuitPython and #SwiftUI content coming soon. Also info on how you can hire me to teach a bootcamp on these concepts or teach to faculty, leaving course material for use in their own classes. Feel free to share if you know educators who may be interested. https://youtu.be/DM8DUx1LkVg
It will be my birthday soon on June 1st, and to celebrate, I’ll be offering a super special discount on Cork! 🎉
Starting on June 1st until June 8th, Cork will be discounted 60 percent! Yes, SIXTY, the largest discount ever.
I’ll be sharing the discount code later, so be sure to keep an eye on my profile or @CorkApp (or even follow me if you want to, I’d really appreciate that!)