Skip to content

Instantly share code, notes, and snippets.

@EricADockery
Created July 7, 2018 21:45
Show Gist options
  • Save EricADockery/ec944c183cd847c58209a042bd149913 to your computer and use it in GitHub Desktop.
Save EricADockery/ec944c183cd847c58209a042bd149913 to your computer and use it in GitHub Desktop.
//
// FeaturedViewPresenter.swift
// iTunesFeatureBanner
//
// Created by Eric Dockery on 7/7/18.
// Copyright © 2018 Eric Dockery. All rights reserved.
//
protocol FeaturedPresenting: class {
func scroll()
}
class FeaturedViewPresenter {
var featuredFighters: [FighterData]?
weak var delegate: FeaturedPresenting?
func scroll() {
delegate?.scroll()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment