     
     @IBAction func chooseGirl(sender: AnyObject) {
         showNextPage()
+        setGender(.Girl)
     }
     
     @IBAction func chooseBoy(sender: AnyObject) {
         showNextPage()
+        setGender(.Boy)
     }
     
     private func showNextPage() {

//

import UIKit

class ChooseGenderViewController: UIViewController {


            UIStoryboard.init(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("ChooseBirthdayViewController") as! ChooseBirthdayViewController
        navigationController?.pushViewController(chooseDateVC, animated: true)
    }
    
    private func setGender(gender: Gender) {
        let userDefaults = NSUserDefaults.standardUserDefaults()
        userDefaults.setInteger(gender.rawValue, forKey: "Gender")
        userDefaults.synchronize()
    }
}
