Social Pulse
Dmytro Chuta: You work with your content layer like this: you define an APIProvider protocol, then

You work with your content layer like this: you define an APIProvider protocol, then create two implementations. One is the real API provider, and the other is a mock API provider that returns mocked data models.
In Preview, you inject the mock provider instead of the real one.
Social Threadx.com