ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Hide and show a view based on a setting or state without shifting the layout using the opacity() modifier in SwiftUI: nilcoalescing.com/blog/HideAnd... #SwiftUI #iOSDev

Apr 20, 2025, 11:56 PM

Record data

{
  "uri": "at://did:plc:a6pco5evspx7fxkag3omjadp/app.bsky.feed.post/3lnbu2epjbk2f",
  "cid": "bafyreibcnnnbei6vwnhqgpsqsfc6kpieva25luokv2chn7wsj3pmbjccg4",
  "value": {
    "text": "Hide and show a view based on a setting or state without shifting the layout using the opacity() modifier in SwiftUI: nilcoalescing.com/blog/HideAnd...\n#SwiftUI #iOSDev",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://nilcoalescing.com/blog/HideAndShowAViewWithOpacity/",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreie56agxhysuvn3iys42lw7e5jpddchxxcar4vlvd5vmthec6mkane"
          },
          "mimeType": "image/jpeg",
          "size": 158691
        },
        "title": "Hide and show a view with opacity",
        "description": "Hide and show a view based on a setting or state without shifting the layout by using opacity() modifier in SwiftUI."
      }
    },
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 151,
          "byteStart": 118
        },
        "features": [
          {
            "uri": "https://nilcoalescing.com/blog/HideAndShowAViewWithOpacity/",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 160,
          "byteStart": 152
        },
        "features": [
          {
            "tag": "SwiftUI",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 168,
          "byteStart": 161
        },
        "features": [
          {
            "tag": "iOSDev",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      }
    ],
    "createdAt": "2025-04-20T23:56:39.926Z"
  }
}