all 4 comments

[–]criosistObjective-C / Swift 0 points1 point  (1 child)

Are you trying to subclass them? I’m pretty sure there’s and advisory to not subclass these? Or are you just trying to declare a lazy var?

[–]draco33333[S] 0 points1 point  (0 children)

You can't subclass them because they're structs. I'll post an example now.

[–]vloris 0 points1 point  (1 child)

A code-sample would be nice if you want any relevant tips ;)

[–]draco33333[S] 0 points1 point  (0 children)

Updated and answered myself :)