Skip to content

Instantly share code, notes, and snippets.

@Rashidium
Created January 23, 2021 18:51
Show Gist options
  • Select an option

  • Save Rashidium/25a7db536830f1f27e525e83220a7f59 to your computer and use it in GitHub Desktop.

Select an option

Save Rashidium/25a7db536830f1f27e525e83220a7f59 to your computer and use it in GitHub Desktop.
FeedRouter
import Foundation
protocol FeedRoutingLogic: class {
}
protocol FeedDataPassing: class {
var dataStore: FeedDataStore? { get }
}
final class FeedRouter: FeedRoutingLogic, FeedDataPassing {
weak var viewController: FeedViewController?
var dataStore: FeedDataStore?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment