I had not honestly thought of using Enumerated types as the subscript until this article.
Thanks to Batikan Sosun for a detailed explanation of subscripts with your custom class/structures.
https://blog.devgenius.io/subscripts-in-swift-dbcdb65233b7
No comments:
Post a Comment