title: Swift explicit variable declaration with optional
body: <p>I'm new to Swift and trying to decode one of the Apple examples. Could someone please explain what this line is doing ?</p>
  <pre><code>@SceneStorage(&quot;selection&quot;) private var selectedProjectID: Project.ID?
  </code></pre>
  <p>Project is a struct conforming to <code>Codable</code> and <code>Identifiable</code></p>
  <p>Is selectedProjectID of the same type as Project.ID? ?</p>