mamot.fr is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.

Server stats:

3.2K
active users

#swiftui

1.4K posts47 participants0 posts today

I am in need of some SwiftUI help.

Can anyone help me figure out how to make the `List` span the entire width of the sheet, but, at the same time, make it so that an extremely long, unbroken word doesn't cause it to overflow the sheet?

I have tried all sorts of frames, but nothing works

The relevant code:
github.com/buresdv/Cork/blob/8

Faculty and students using my #SwiftUI apps course, the solution to the second mid term is posted. Students has to build two apps in 2.5 hrs. ESSI - the “Emotional Support Snack Inventory” using SwiftData youtu.be/OpLZcPRnpEc, and D&D Monsters - an API call and JSON parsing app with data and images from Dungeons and Dragons youtu.be/5FwzbNxKwVg. Hack on & use in your own classes & learning! Faculty do share if you use this so I can measure impact. Thanks!

Starting with iOS 17, foregroundStyle(_:) in #SwiftUI can be used to style fragments of text inside a string. When applied directly to a Text instance, the modifier returns a Text instead of some View, which allows us to use it inside text interpolation: nilcoalescing.com/blog/Foregro

Nil CoalescingInterpolate text with custom foreground style in SwiftUIAdd custom foreground styles, such as gradients, to words inside Text views in SwiftUI.

A ViewModel is a very specific concept. If you think you need a ViewModel in #SwiftUI (probably not necessary because SwiftUI has formatters like AppKit), I'm pretty sure it should be a struct (representing the projection of the actual model to the values required by the View).
Not, ever, a StateObject.

If any Boston-area #CircuitPython friends would like to come out to Boston College Arts Fest, Sat. April 26, my students are presenting 1-3pm both Physical Computing & #SwiftUI projects in the new MakerSpace building 245 Beacon St. Room 301. No pressure, but would love to see you there if interested & able! @blitzcitydiy @ecken @danhalbert. All welcome! bc.edu/content/bc-web/sites/bc

Boston CollegeArts Festival 2025Boston College's annual celebration of the arts takes place April 24–26
Replied in thread

Finally got everything I need into the pricing table, and started reading up on the web hook docs. Tomorrow let's set up routes for the web hooks, figure out the command-line tool, and verify events. See you then!

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

youtube.comBefore you continue to YouTube

I’ve got so many mastodon posts bookmarked, I’ve been trying to find a why to manage them all. So I’ve started building a little iOS app which will let the user tag the bookmarks and also add them to folders.

Cue the influx of people telling me there is ways to do that already 😅

If anyone has any ideas for other handy features, I’m all ears.