social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#swiftui

36 posts32 participants2 posts today

When displaying a custom image in SwiftUI, if the image name is included in a string catalog or Localizable.strings, SwiftUI will automatically apply the localized string as the accessibility label, with no need for the accessibilityLabel() modifier. #iOSDev #SwiftUI
nilcoalescing.com/blog/ImageAc

Nil CoalescingAutomatic image accessibility labels from localized strings in SwiftUISwiftUI uses a localized string matching the image name as the accessibility label, without needing to apply the accessibilityLabel() modifier.

A simple thing that I do all the time in SwiftUI: apply a .border(.red, width: 1.0) to views to make sure the layout meets my expectations. If there are several views, I use different colors. Sometimes, this reveals interesting situations.

SwiftUI includes several ways to change the color of text, including foregroundStyle(), tint(), AttributedString, and textRenderer() for advanced cases. My new blog post walks through how they work and which approach to choose for different use cases: nilcoalescing.com/blog/Foregro
#SwiftUI #iOSDev

Nil CoalescingWays to customize text color in SwiftUISwiftUI offers several methods to change the color of text, including foregroundStyle() and tint() modifiers, AttributedString attributes, and the textRenderer() API for advanced styling.

I just launched ShipKit, a new package tracking app for iOS!

ShipKit makes it easy for you to track your shipments from all of the major carriers worldwide. You can simply enter the tracking info manually or auto-import them by forwarding your shipment detail e-mails to ShipKit to add them automatically!

Try it free for 1 week now on iOS! Now available on the Apple App Store!

apple.co/42uOLop #swiftui #iosdev #indiedev #iOS

Second #SwiftUI mid-term is in progress. Students have 2.5 hrs to build two apps: SwiftData “ESSI - the Emotional Support Snack Inventory app” and “D&D Monsters” a URLSession API call JSON parsing app. Want talent? Send me your job calls and I’ll pass on to them. Even better! All are welcome to the Student Tech Showcase, Sat April 26, 1-3pm, Boston College bldg 245 Beacon St room 301. Hope to see you there! (1/2)

I’ve created an SFSymbolPicker so I will be creating a series of videos for my YouTube Channel next month to show you how you can create this too and implement in your own projects.
Configurable to display all or only some symbols by category , multiple categories or search term.
#swift #swiftui #iosdev