ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I want to pick a color and store that color with my SwiftData object so that it can be used to color-code records but apparently Swift just makes storing colors this way impossible, because of course it does, why would anyone ever want to store a color associated with an object for any reason?

May 3, 2025, 2:40 AM

Record data

{
  "uri": "at://did:plc:nxp4e4iayqrrl6rdmns6lkxk/app.bsky.feed.post/3loacrne7bc2d",
  "cid": "bafyreiepxp55ufcktse3rmg6u2jdzjul55vtiblyqtsyyuufjvqktt265y",
  "value": {
    "text": "I want to pick a color and store that color with my SwiftData object so that it can be used to color-code records but apparently Swift just makes storing colors this way impossible, because of course it does, why would anyone ever want to store a color associated with an object for any reason?",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "createdAt": "2025-05-03T02:40:05.279Z"
  }
}