From e35ab55978e849ef4e1f77cc7320403c4ecac2cb Mon Sep 17 00:00:00 2001 From: gme_2 Date: Thu, 31 Jan 2019 11:14:57 +0900 Subject: [PATCH] added design for language in splash screen --- .../View/SplashScreen.storyboard | 42 +++++++++++++++---- .../View/SplashScreenViewController.swift | 8 +++- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreen.storyboard b/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreen.storyboard index 9d711393..a9c5ab78 100644 --- a/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreen.storyboard +++ b/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreen.storyboard @@ -30,7 +30,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -65,7 +65,7 @@ - + @@ -89,7 +89,7 @@ + + + + + + + + + + + + + + + + - + - + + - + @@ -173,6 +195,8 @@ + + diff --git a/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift b/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift index 3dad8035..bd492d57 100644 --- a/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift +++ b/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift @@ -32,6 +32,8 @@ class SplashScreenViewController: UIViewController { @IBOutlet weak var buttonLogin: UIButton! @IBOutlet weak var buttonSignUp: UIButton! + @IBOutlet weak var languageBackGroundView: UIView! + @IBOutlet weak var languageLabel: UILabel! // MARK: Properties @@ -45,7 +47,7 @@ class SplashScreenViewController: UIViewController { let imageThird = UIImage(named: "ic_splashThirdScreen") - + var languages = ["English", "Korean", "Other"] @@ -104,6 +106,10 @@ class SplashScreenViewController: UIViewController { view.addGestureRecognizer(leftSwipe) view.addGestureRecognizer(rightSwipe) + self.languageBackGroundView.layer.cornerRadius = 10 + self.languageBackGroundView.clipsToBounds = true + self.languageBackGroundView.layer.addShadow(offset: CGSize.init(width: 2, height: 2)) + configureLanguage() }