![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://preview.redd.it/4d0pyk9jtpl61.jpg?auto=webp&s=b0da00e863d927479310036af3ef38ef4aebbf79)
Protocols with constraints can be maddening. What am I missing here that prevents this from compiling? : r/swift
![swift - Protocols with associated types compile error: Protocol can only be used as a generic constraint because it has Self or associated type requirements - Stack Overflow swift - Protocols with associated types compile error: Protocol can only be used as a generic constraint because it has Self or associated type requirements - Stack Overflow](https://i.stack.imgur.com/RySKU.png)
swift - Protocols with associated types compile error: Protocol can only be used as a generic constraint because it has Self or associated type requirements - Stack Overflow
![ios - Protocol in property, error Protocol can only be used as a generic constraint - Stack Overflow ios - Protocol in property, error Protocol can only be used as a generic constraint - Stack Overflow](https://i.stack.imgur.com/8Wqf8.png)
ios - Protocol in property, error Protocol can only be used as a generic constraint - Stack Overflow
![ObservableObject, @Published, and Protocols with SwiftUI, UIKit, and Cuckoo | by Kari Grooms | Expedia Group Technology | Medium ObservableObject, @Published, and Protocols with SwiftUI, UIKit, and Cuckoo | by Kari Grooms | Expedia Group Technology | Medium](https://miro.medium.com/v2/resize:fit:1400/1*3qwSvzYroEh2qw-GRI0Ntg.png)
ObservableObject, @Published, and Protocols with SwiftUI, UIKit, and Cuckoo | by Kari Grooms | Expedia Group Technology | Medium
![Suyash Srijan (@suyashsrijan@mastodon.social) on X: "SE-0309 - "Unlock existentials for all protocols" is now in review! https://t.co/PTRHL3jiiX #SwiftLang https://t.co/JlEGRmP6pU" / X Suyash Srijan (@suyashsrijan@mastodon.social) on X: "SE-0309 - "Unlock existentials for all protocols" is now in review! https://t.co/PTRHL3jiiX #SwiftLang https://t.co/JlEGRmP6pU" / X](https://pbs.twimg.com/media/EzNW7P3UUAcpm-K.jpg)
Suyash Srijan (@[email protected]) on X: "SE-0309 - "Unlock existentials for all protocols" is now in review! https://t.co/PTRHL3jiiX #SwiftLang https://t.co/JlEGRmP6pU" / X
![Creation and analysis of biochemical constraint-based models using the COBRA Toolbox v.3.0 | Nature Protocols Creation and analysis of biochemical constraint-based models using the COBRA Toolbox v.3.0 | Nature Protocols](https://media.springernature.com/m685/springer-static/image/art%3A10.1038%2Fs41596-018-0098-2/MediaObjects/41596_2018_98_Fig1_HTML.png)
Creation and analysis of biochemical constraint-based models using the COBRA Toolbox v.3.0 | Nature Protocols
![swift - Protocols with associated types compile error: Protocol can only be used as a generic constraint because it has Self or associated type requirements - Stack Overflow swift - Protocols with associated types compile error: Protocol can only be used as a generic constraint because it has Self or associated type requirements - Stack Overflow](https://i.stack.imgur.com/ibosJ.png)
swift - Protocols with associated types compile error: Protocol can only be used as a generic constraint because it has Self or associated type requirements - Stack Overflow
![Electronics | Free Full-Text | Networking Architectures and Protocols for IoT Applications in Smart Cities: Recent Developments and Perspectives Electronics | Free Full-Text | Networking Architectures and Protocols for IoT Applications in Smart Cities: Recent Developments and Perspectives](https://www.mdpi.com/electronics/electronics-12-02490/article_deploy/html/images/electronics-12-02490-g001-550.jpg)