dimillian, to SwiftUI
@dimillian@mastodon.social avatar

I can't wait for my timeline to collapse when Apple unveils iOS 18 with an OpenAI partnership at next week. And BTW, Ice Cubes will move quickly to iOS 18 only depending on what exclusive features there are!

dlx, to accessibility
@dlx@mastodon.social avatar

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.

Screenshot, iOS Simulator. Two buttons on top of a map showing Apple Park. The left button is capsule shaped and says Filter, the right button is circular and shows a filled Location icon. Both have blue labels on white background with a slight shadow.

StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

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

helge, to SwiftUI
@helge@mastodon.social avatar

Another #SwiftUI WWDC wish: H/VSplitView for iPadOS/visionOS.

davidbures, to swift
@davidbures@mstdn.social avatar

OH MY GOD I CAN'T BELIEVE I FINALLY FIGURED IT OUT!! The next Cork release will be fucking EPIC

(Cork now supports packages that require sudo during install/uninstall)

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

A demo showing new support for packages requiring sudo in Cork

davidbures, to swift
@davidbures@mstdn.social avatar

What, in your opinion, is the worst page in Apple's developer docs?

For me, it's LocalizedError:
https://developer.apple.com/documentation/foundation/localizederror

It's not completely empty, but it has absolutely no useful info, which makes it even worse than if it was completely empty.

dhanish, to SwiftUI
@dhanish@mastodon.social avatar

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 🫠

danielsaidi, to SwiftUI
@danielsaidi@mastodon.social avatar

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

Krupp, to swift
@Krupp@hci.social avatar

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!

https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=6474254666

nicoreese, to swift
@nicoreese@mastodon.social avatar

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

ridmaur, to random
@ridmaur@mastodon.social avatar

Anyone knows how to remove a language from the new localization framework in Xcode. The minus symbol is clearly missing…

MuseumShuffle, to SwiftUI
@MuseumShuffle@mastodon.social avatar

Oh gross. My app has a sheet that can display a .confirmationDialog. In full screen mode the confirmation dialog is showing some weird behavior.

The worst is this variation where there's no message and only one of the buttons is partially visible.

The simulator for an 11" shows similar, but less weird behavior.

#SwiftUI #PleaseDontRain

StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

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?

video/mp4

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)

Image of code

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…

MuseumShuffle, to SwiftUI
@MuseumShuffle@mastodon.social avatar

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

#SwiftUI #accessibility #a11y #VoiceOver

A simple app progressing through the abbreviated weekdays backwards starting with Friday.

wgrav, to mastodon

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)

JTostitos, to swift
@JTostitos@techhub.social avatar

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”.

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?

#swift #swiftui #macdev

bardi, to SwiftUI
@bardi@mas.to avatar

Why am I made to jump through excess hoops to simply set the caret position to the very beginning of text in a TextEditor 😭

rafa, to SwiftUI
@rafa@mastodon.design avatar
CorkApp, to swift
@CorkApp@mstdn.social avatar
ctietze, to SwiftUI
@ctietze@mastodon.social avatar

Does "flexibleSpace" in for macOS not work correctly?

Anything besides a Spacer() that's required in the item?

gallaugher, to SwiftUI
@gallaugher@mastodon.world avatar

Back from sabbatical! More and 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

davidbures, to swift
@davidbures@mstdn.social avatar

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!)

#swift #swiftui #BuildInPublic #homebrew #CorkApp #apps #indieappsales #macos

image/png
image/png
image/png

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