swiftui

Back Open Paginator
06.09.2025 13:40
chucker (@chucker@norden.social)

You *can* use #SwiftUI previews, and those are a good start, but they aren’t quite the same.

You can also hack it with github.com/krzysztofzablocki/I.




Show Original Post


06.09.2025 13:32
ralfebert (@ralfebert@mastodon.social)

View Transitions in SwiftUI are one of the API's that appear simple at first but are surprisingly tricky in detail. Here's what I have learned about them over the years: swiftui-garden.com/Animations/





Show Original Post


06.09.2025 11:04
danielsaidi (@danielsaidi@mastodon.social)

I love for making UI development amazing on all Apple platforms. Sure, it has many flaws and problems, and it's been a rocky ride since it first launched in 2019, but the fact that I can easily compose views, preview the end result and work on the main KeyboardKit keyboard view in less than 500 lines (or should I say a little more than 400 lines) INCLUDING the preview, is an insane improvement from UIKit.





Show Original Post


06.09.2025 05:18
countablenewt (@countablenewt@mastodon.social)

Forever balancing my personal enjoyment with and my belief in the and the future of the web in general




Show Original Post


06.09.2025 01:42
troz (@troz@mastodon.social)

I have come to realise that so many of the problems I have with SwiftUI in macOS are caused by NavigationSplitView: FB20114967

Sorting a table - crashes when inside a NSV: FB20056190
Customising a toolbar - crashes when using an NSV: FB20097446

Also, updates not happening and various other oddities that I haven't tracked down in detail yet.

I think I'll switch to using HSplitView instead. Not as pretty but much more reliable.




Show Original Post


06.09.2025 00:19
otaviocc (@otaviocc@social.lol)

Working on the #Weblog feature in my native macOS app for #omglol.

I'm really happy with the architecture of the app: each feature is basically a mini application. There's a Swift Package for each feature, each with several targets. Everything is isolated. There are more than 50 targets in this app alone.

#Swift #SwiftUI #SwiftConcurrency





Show Original Post


06.09.2025 00:13
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Tạo #Preview trong SwiftUI dễ dàng hơn với macro #Preview. Để xử lý dữ liệu bất đồng bộ hoặc cache, hãy dùng `PreviewModifier` với `makeSharedContext` để tạo dữ liệu và `body` để hiển thị view.

#SwiftUI #Previews #iOS #LậpTrình #Vietnamese

dev.to/stoiandan/how-to-popula




Show Original Post


05.09.2025 23:24
dan01 (@dan01@iosdev.space)

I wrote a small introductory article on #Xcode #Previews – how to provide them with data (even async data) via PreviewModifier:

dev.to/stoiandan/how-to-popula

#swiftui #swif




Show Original Post


05.09.2025 20:58
davidbures (@davidbures@mstdn.social)

It's important to never stop learning, and never stop building. Every project you work on will give you some new skills. For me, those were:

Countless Terminal apps: Basics of Swift itself
Cork: Basics of creating GUI apps and SwiftUI, structured concurrency
Mlem: Networking, authentication, credentials management
Rizzference: SwiftData
My next mini project (TBA soon!): Metatypes and advanced enums

What did your journey look like? I'd love to hear about it

#swift #SwiftUI #Programming




Show Original Post


05.09.2025 14:41
dimitribouniol (@dimitribouniol@mastodon.social)

Made some improvements to toolbars on iPad, and some sheets on tvOS. Tomorrow, let's fix a few more tvOS bugs then try out building for visionOS. See you then!

🔜 Tomorrow’s stream: youtube.com/live/gNeLqhOQu0o
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store




Show Original Post


05.09.2025 13:56
dimitribouniol (@dimitribouniol@mastodon.social)

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Another short stream, but let's fix the toolbars on iPad!

Come chill with me: youtube.com/live/i_X7lnzm_ac




Show Original Post


05.09.2025 13:37
piotrekjeremicz (@piotrekjeremicz@mastodon.social)

New and are just around the corner, but that means a lot of `if ` in the code... 📱

often involves significant nesting, leading to very deep indentations. Adding another `if` doesn't simplify things. 🤔

What if it could be better? 🚀





Show Original Post


1 ...191 192 193 194 195 196 197 198 199 200 201 ...236
UP