How to declare Swift protocol for a specific class | Hacker News Reader