I know there is some repeated code in here, which is why I need a code review. The point of this app is simple, the user opens it, taps "begin", they select their league - men's, women's or co-ed, and then they select their skill level. 

The main issue I see with this is the fact that the button functions in the league VCs are all the same. I tried adding it to the BorderedButton.swift file, but it required that I add the player variable - which I figured was redundant to the fact that it is already in each league view controller. 

Main View Controller:

    class WelcomeVC: UIViewController {
    
        override func viewDidLoad() {
            super.viewDidLoad()
            
            
        }
    
        @IBAction func unWindFromSkillVC(unwindSegue: UIStoryboardSegue) {
            
        }
       
    }


User arrives here after they select "continue" on the welcome screen. They then select which league they want to join. This gets the segues ready for the next view controller as well <br>
League View Controller:

    import UIKit
    
    class LeagueVC: UIViewController {
    
        
        var player: Player!
       
        override func viewDidLoad() {
            super.viewDidLoad()
    
            player = Player()
        }
        
        
        @IBAction func onMensTapped(_ sender: Any) {
            selectLeague(leagueType: "mens")
            performSegue(withIdentifier: "mensVCSegue", sender: self)
            
        }
        
        @IBAction func onWomensTapped(_ sender: Any) {
            selectLeague(leagueType: "womens")
            performSegue(withIdentifier: "womensVCSegue", sender: self)
        }
        
        @IBAction func onCoedTapped(_ sender: Any) {
            selectLeague(leagueType: "coed")
            performSegue(withIdentifier: "coedVCSegue", sender: self)
        }
        
        
        func selectLeague(leagueType: String) {
            player.desiredLeague = leagueType
          
        }
        
        override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
            if let mensVC = segue.destination as? MensVC {
                mensVC.player = player
            } else if let womensVC = segue.destination as? WomensVC {
                womensVC.player = player
            } else if let coedVC = segue.destination as? CoedVC {
                coedVC.player = player
            }
        }
    }



User arrives here after they select the "co-ed" league, then they select their skill level. <br>
Co-ed View Controller (controls the co-ed view controller):

    class CoedVC: UIViewController {
    
        var player: Player!
        
        
        override func viewDidLoad() {
            super.viewDidLoad()
    
            print(player.desiredLeague)
        }
    
        override func didReceiveMemoryWarning() {
            super.didReceiveMemoryWarning()
            // Dispose of any resources that can be recreated.
        }
        
    
        @IBAction func beginnerBtnPressed(_ sender: Any) {
            selectSkillLevel(skillLevel: "beginner")
        }
        
        @IBAction func ballerBtnPressed(_ sender: Any) {
           selectSkillLevel(skillLevel: "baller")
        }
        
        
        func selectSkillLevel(skillLevel: String) {
            player.selectedSkillLevel = skillLevel
            print(skillLevel)
        }
    }

User arrives here after they select the "women's" league, then they select their skill level. <br>
Women's View Controller:

    class WomensVC: UIViewController {
    
        var player: Player!
        
        override func viewDidLoad() {
            super.viewDidLoad()
    
            print(player.desiredLeague)
        }
    
        override func didReceiveMemoryWarning() {
            super.didReceiveMemoryWarning()
            // Dispose of any resources that can be recreated.
        }
        
    
        @IBAction func beginnerBtnPressed(_ sender: Any) {
            selectSkillLevel(skillLevel: "beginner")
        }
        
        @IBAction func ballerBtnPressed(_ sender: Any) {
            selectSkillLevel(skillLevel: "baller")
        }
        
        
        func selectSkillLevel(skillLevel: String) {
            player.selectedSkillLevel = skillLevel
            print(skillLevel)
        }
        
    }

User arrives here after they select the "men's" league, then they select their skill level.<br>
Men's View Controller:

    import UIKit
    
    class MensVC: UIViewController {
    
        var player: Player!
        
        override func viewDidLoad() {
            super.viewDidLoad()
            
            print(player.desiredLeague)
        }
        
        override func didReceiveMemoryWarning() {
            super.didReceiveMemoryWarning()
            // Dispose of any resources that can be recreated.
        }
    
        
        @IBAction func beginnerBtnPressed(_ sender: Any) {
            selectSkillLevel(skillLevel: "beginner")
        }
        
        @IBAction func ballerBtnPressed(_ sender: Any) {
            selectSkillLevel(skillLevel: "baller")
        }
        
        func selectSkillLevel(skillLevel: String) {
            player.selectedSkillLevel = skillLevel
            print(skillLevel)
        }
        
    }


Here is the GitHub link: [https://github.com/andrewlundy/app-swoosh](https://github.com/andrewlundy/app-swoosh/tree/abfd11bb4e6db4bc51e1d97902ad88b280d53cdb)