![ios - How to define in Swift a generic structure that points to another structure with the same type? - Stack Overflow ios - How to define in Swift a generic structure that points to another structure with the same type? - Stack Overflow](https://i.stack.imgur.com/UtWNx.png)
ios - How to define in Swift a generic structure that points to another structure with the same type? - Stack Overflow
Solution: Implementing a generic stack - Swift 5: Protocol-Oriented Programming Video Tutorial | LinkedIn Learning, formerly Lynda.com
![Protocols with constraints can be maddening. What am I missing here that prevents this from compiling? : r/swift Protocols with constraints can be maddening. What am I missing here that prevents this from compiling? : r/swift](https://i.redd.it/4d0pyk9jtpl61.jpg)