davidbures, to swift

Thanks to @renssies, I got the word of the day widget for Rizzference properly updating!

Next stop, a widget for your favorite words… which will be a massive challenge 😅 I’m storing the favorite words in the application support directory as JSON. Does anyone have any tips on how to load them/let the user choose which word to show in the widget from the words they favorited?

#swift #swiftui #iOSApp #iOSDev #RizzferenceApp

dlx, to SwiftUI
@dlx@mastodon.social avatar
StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

The first video of the new 7 part #SwiftUI video on #WeatherKit is now available. All 7 will be released before WWDC. Next one comes on Wednesday.
Buy me a ko-fi and get access to all 7 now (ko-fi.com/StewarLynch)
https://youtu.be/8qz1LxtM7aI

video/mp4

davidbures, to swift

I have a question for the Swift experts that know widgets:

Would this refresh the widget once a day? Please ignore any weird stylistic choices, I just wanted to quickly scrape something together and beautify it later once I know it actually works 😂

https://pastebin.ai/cmx0gbolvs

omarthamri, to SwiftUI
@omarthamri@iosdev.space avatar

@swiftui @swift Exciting News! 🎉 Just dropped Part 31 of my "Let's Build WhatsApp clone Using SwiftUI and “firebase” playlist! 📺🛠️ Dive deeper into Swift development as we take our app to the next level. 🚀 Check it out now and let's code together! 🔗 https://www.youtube.com/watch?v=ybyGAxqA7DA #SwiftUI #iOSDev

SvEzs, to swift
@SvEzs@mastodon.social avatar

I'm trying to embed a remote image into a string using TextKit2.

When downloading remote images, I want to display the SFSymbol images, and after the download is complete, display the retrieved images.

Is there any good sample?

#iOSDev #swift #SwiftUI

davidbures, to swift

Update on the Rizzference widgets:

I adjusted the design a little to make the text easier to see, as well as adding a larger size

It’s still awkward and painful to code the widgets 😅 Especially because the simulator lags my MacBook so bad it takes a second for any key to register, and autocompletion is a distant memory

#iosapp #iosdev #swift #swiftui #RizzferenceApp

davidbures, to swift

Today, I tried adding a basic widget to Rizzference and it works… fine, I guess? The experience of making the widget is horrible though

Rizzference widget

davidbures, to swift

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

gernot, to SwiftUI German
@gernot@mas.to avatar

Checking and formatting phone numbers for app signup in . How hard can it be?

(Turns out: Hard. And I suspected that… Still sucks though.)

iamkev, to SwiftUI
@iamkev@mastodon.social avatar

I love coffee, so I got a nice machine a while ago. Trying new beans means dialing in everything and considering all the nuances. I got tired of taking notes all the time, so I started building a small app that ideally replaces this little notebook.

Inspired by @marcel I want to #buildinpublic and document my #SwiftUI learnings along the way.

Let's call it 'Cofi' for now since it's the project's name in XCode.

davidbures, to SwiftUI

Rizzference is now out on the App Store!

https://apps.apple.com/cz/app/rizzference/id6474303013

It’s an app for looking up modern slang. What’s the niche? You can define an entire sentence at a time, not just individual words. Give it a go!

For the techies, it’s built 100% in SwiftUI. Feel free to ask any questions 😊

I’d like to thank all the testers and @chrismarquardt, @mattiem and @ctietze for their help and support.

#swiftUI #showcase #releases #ios #apple

hishnash, to SwiftUI
@hishnash@mastodon.cloud avatar

Reacting to network status changes in SwiftUI doesn't have to be complicated. By converting NWPathMonitor into an AsyncSequence, you can handle updates efficiently and cleanly within your views. Discover how in my latest post:

https://nilcoalescing.com/blog/ReactToNetworkStatusUpdatesInSwiftUI/

#SwiftUI #iOSDev

michaelsteeber, to SwiftUI
@michaelsteeber@mastodon.social avatar

I’m working on a project with an important launch animation that only plays on the first launch. Unfortunately, when people install the app via TestFlight, the “what to test" sheet obscures the animation. Has anyone found a way to detect when the sheet is dismissed?

Jeehut, to DigitalNomadHub
@Jeehut@iosdev.space avatar

Hey #iOSDev community, I need your support! 🙌

I'm looking for a part-time #freelance gig in #SwiftUI. I've got many years of experience and love collaborating, but part-time roles are really hard to find. 😔

Could you please share this to boost my reach? Thanks a lot! 🙏✨

pixel, to programming
@pixel@social.pixels.pizza avatar

Parsing JSON Data is a fundamental in modern SwiftUI apps. This comprehensive guide covers all the aspects of the Codable protocols in Swift.


https://matteomanferdini.com/swift-parse-json/

gabtheodor, to SwiftUI
@gabtheodor@mastodon.cloud avatar

💡Did you know?

In SwiftUI, you can 👉concatenate Text views👈 with different styles and still apply common view modifiers! For example, you can change the foreground style of Text views individually but group them to set a common font style! 😎

RosaCtrl, to SwiftUI
@RosaCtrl@mastodon.social avatar

Am I the only one that thinks deprecating this modifier was a mistake? Any available alternative requires to keep the state in two properties, one for the data, another for its visibility, super annoying, so what I’m missing? https://developer.apple.com/documentation/swiftui/view/alert%28item:content:%29

StewartLynch, to swift
@StewartLynch@iosdev.space avatar

Check out the talk I had to cancel at There might be a nugget here that would surprise you. Check out the links in the description to go directly to a specific or nugget

Deep Dish Swift Presentation
https://youtu.be/_XZHzl3R1Fo

kern, to SwiftUI
@kern@iosdev.space avatar

I got most of the way through this ambient sound app last summer, and I may finish it once my current collaboration is in the App Store. I really like the icon for this one!

https://testflight.apple.com/join/wpWe5DET

phranck, to swift German
@phranck@chaos.social avatar

Does anyone know of a tool that analyses Xcode projects and then provides me with statistics on lines of code etc.? In any case, it should also take into account Swift packages used.

Any suggestions?

#Xcode #Swift #SwiftUI

MuseumShuffle, to accessibility
@MuseumShuffle@mastodon.social avatar

I noticed that with the iOS Weather app VoiceOver would say "Hourly Forecast" when you selected an hour in it but not say it again when you moved to another hour.

@bas helped me recreate this with an AccessibilityChildBehavior of "contain" and an accessibility label.

Now it says my label when I touch an hour in the Hourly Forecast or day in the Nearby Days.

https://developer.apple.com/documentation/swiftui/accessibilitychildbehavior/contain

#accessibility #a11y #SwiftUI #VoiceOver #PleaseDontRain

Please Don't Rain interface with the user selecting hours from the hourly forecast and days from the nearby days.

davidbures, to swift

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.

omarthamri, to SwiftUI
@omarthamri@iosdev.space avatar

@swiftui @swift Exciting News! 🎉 Just dropped Part 30 of my "Let's Build WhatsApp clone Using SwiftUI and “firebase” playlist! 📺🛠️ Dive deeper into Swift development as we take our app to the next level. 🚀 Check it out now and let's code together! 🔗 https://www.youtube.com/watch?v=cpPZUkF3bgs

gernot, to SwiftUI German
@gernot@mas.to avatar

#swiftUI Question: I am using AnchorPreferences. Is there any way to use multiple AnchorPreferences at once? Like, use an array of points and communicating it up the hierarchy, but using a collection of [Anchor<CGPoint>] instead of the single Anchor<CGPoint> that the .anchorPreference modifier hands over?

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