SideLyingLandingVC.swift 1.35 KB
Newer Older
jzhang's avatar
jzhang committed
1 2 3 4 5 6 7 8 9
//
//  SideLyingLandingVC.swift
//  BreastFeedingDemo
//
//  Created by Jie Zhang on 2022/10/6.
//

import UIKit

jzhang's avatar
jzhang committed
10
class SideLyingLandingVC: BaseLandingVC {
jzhang's avatar
jzhang committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    @IBOutlet weak var titleL: UILabel!

    @IBOutlet weak var subtitleL: UILabel!
    @IBOutlet weak var text1L: UILabel!
    @IBOutlet weak var text2L: UILabel!
    @IBOutlet weak var text3L: UILabel!
    @IBOutlet weak var text4L: UILabel!
    @IBOutlet weak var text5L: UILabel!

    @IBOutlet weak var tipsL: UILabel!
    @IBOutlet weak var startBtn: UIButton!
    override func viewDidLoad() {
        super.viewDidLoad()

        setupUI()
    }

    @IBAction func back(_ sender: Any) {
        navigationController?.popViewController(animated: true)
    }
jzhang's avatar
jzhang committed
31

jzhang's avatar
jzhang committed
32 33 34 35 36 37 38 39 40 41 42 43
    fileprivate func setupUI() {
        titleL.text = getString().lyingGestureIntroduce.title
        subtitleL.text = getString().lyingGestureIntroduce.subTitle
        text1L.text = getString().lyingGestureIntroduce.suggestedText1
        text2L.text = getString().lyingGestureIntroduce.suggestedText2
        text3L.text = getString().lyingGestureIntroduce.suggestedText3
        text4L.text = getString().lyingGestureIntroduce.suggestedText4
        text5L.text = getString().lyingGestureIntroduce.suggestedText5
        startBtn.setTitle(getString().homeButtonText, for: .normal)
        tipsL.text = getString().lyingGestureIntroduce.tipsText
    }
}