---
title: "Comment by Igor on \"UIViewRepresentables must be value types\" | Hashnode"
description: "And yet you write “Code using a struct conforming to View will compile but will cause a runtime exception…” ))"
url: "https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081/comment/64538243312059f80873f10c"
---

[Discussion](https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081)

Comment [UIViewRepresentables must be value types](https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081)

[Igor](https://hashnode.com/@igor1309)

[May 4, 2023](https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081/comment/64538243312059f80873f10c)

And yet you write “Code using a struct conforming to View will compile but will cause a runtime exception…” ))

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

[May 4, 2023](https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081/comment/64538243312059f80873f10c#reply-64539291b7c65bffda760c50)

Thanks for pointing out my mistake. I corrected the text and wrote "Code using a spinal class conforming to View will compile but will cause a runtime exception…"

[Igor](https://hashnode.com/@igor1309)

[May 4, 2023](https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081/comment/64538243312059f80873f10c#reply-6453994e913caa000bc47a9d)

[Marco Eidinger](https://hashnode.com/@MarcoEidinger) could you please clarify what “spinal class” means?

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

[May 4, 2023](https://hashnode.com/posts/uiviewrepresentables-must-be-value-types/645315da00237207c7876081/comment/64538243312059f80873f10c#reply-645399c2b7c65bffda760d38)

[Igor](https://hashnode.com/@igor1309) final class
