Jaanus Kase<p><a href="https://iosdev.space/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://iosdev.space/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a></p><p>Is there any good practice for working with Observable and protocols?</p><p>I’d like to conform a protocol to Observable (so I could mock it in tests and previews, and pass around only protocol types in most of my code, not concrete types), but Observable macro seems to be geared towards working with concrete types</p><p>So what are your best practices and thoughts on Observable vs mocking/testing</p>