ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Using the overlay() modifier in SwiftUI, we can elegantly wrap text within another view, ensuring the text is positioned and sized relative to the primary content: nilcoalescing.com/blog/Wrappin... #iOSDev #SwiftUI

Apr 3, 2025, 6:09 AM

Record data

{
  "uri": "at://did:plc:a6pco5evspx7fxkag3omjadp/app.bsky.feed.post/3llvahx6bms2m",
  "cid": "bafyreifstrxdkk5nha3fbwrjhkdybjde7m4emfaxpzbaettcxyb27mt4tm",
  "value": {
    "text": "Using the overlay() modifier in SwiftUI, we can elegantly wrap text within another view, ensuring the text is positioned and sized relative to the primary content: nilcoalescing.com/blog/Wrappin...\n#iOSDev #SwiftUI",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://nilcoalescing.com/blog/WrappingTextWithinAnotherViewInSwiftUI/",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreih2kb3zye25rvajtz5opopchoi5hipmoagrploffrc4ndgnx2p2le"
          },
          "mimeType": "image/jpeg",
          "size": 321509
        },
        "title": "Wrapping text within another view in SwiftUI",
        "description": "Using the overlay() modifier in SwiftUI, we can elegantly wrap text within another view, ensuring the text is positioned and sized relative to the primary content."
      }
    },
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 197,
          "byteStart": 164
        },
        "features": [
          {
            "uri": "https://nilcoalescing.com/blog/WrappingTextWithinAnotherViewInSwiftUI/",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 205,
          "byteStart": 198
        },
        "features": [
          {
            "tag": "iOSDev",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 214,
          "byteStart": 206
        },
        "features": [
          {
            "tag": "SwiftUI",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      }
    ],
    "createdAt": "2025-04-03T06:09:12.167Z"
  }
}