Experimental browser for the Atmosphere
SwiftUI offers several methods to change the color of text, including foregroundStyle() and tint() modifiers, AttributedString attributes, and the textRenderer() API for advanced styling: nilcoalescing.com/blog/Foregro... #SwiftUI #iOSDev
Apr 27, 2025, 10:45 PM
{ "uri": "at://did:plc:a6pco5evspx7fxkag3omjadp/app.bsky.feed.post/3lntdcv2qek2r", "cid": "bafyreidb5ywzbc2qgteg6remjms6aoycbxo76wv535aejdwdjsbj47nlqm", "value": { "text": "SwiftUI offers several methods to change the color of text, including foregroundStyle() and tint() modifiers, AttributedString attributes, and the textRenderer() API for advanced styling:\nnilcoalescing.com/blog/Foregro...\n#SwiftUI #iOSDev", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.external", "external": { "uri": "https://nilcoalescing.com/blog/ForegroundColorStyleAndTintInSwiftUI/", "thumb": { "$type": "blob", "ref": { "$link": "bafkreifvozebdgvrlgnm47iavso25pwns6mnmgy546ugpjgkjbkrgpepee" }, "mimeType": "image/jpeg", "size": 352513 }, "title": "Ways to customize text color in SwiftUI", "description": "SwiftUI offers several methods to change the color of text, including foregroundStyle() and tint() modifiers, AttributedString attributes, and the textRenderer() API for advanced styling." } }, "langs": [ "en" ], "facets": [ { "index": { "byteEnd": 221, "byteStart": 188 }, "features": [ { "uri": "https://nilcoalescing.com/blog/ForegroundColorStyleAndTintInSwiftUI/", "$type": "app.bsky.richtext.facet#link" } ] }, { "index": { "byteEnd": 230, "byteStart": 222 }, "features": [ { "tag": "SwiftUI", "$type": "app.bsky.richtext.facet#tag" } ] }, { "index": { "byteEnd": 238, "byteStart": 231 }, "features": [ { "tag": "iOSDev", "$type": "app.bsky.richtext.facet#tag" } ] } ], "createdAt": "2025-04-27T22:45:07.187Z" } }