Skip to content

Conversation

@ena-isme
Copy link
Contributor

@ena-isme ena-isme commented Jun 26, 2023

1์ฃผ์ฐจ

1์ฃผ์ฐจ์—์„œ๋Š” Xcode์‚ฌ์šฉ๋ฒ•, iOS๊ธฐ์ดˆ, ํ™”๋ฉด ์ „ํ™˜, ๋ฐ์ดํ„ฐ ์ „๋‹ฌ ๊ธฐ์ดˆ ์— ๋Œ€ํ•œ ๋‚ด์šฉ์„ ๊ณต๋ถ€ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

์ฃผ์š”์ฝ”๋“œ

button.addTarget(self,
                         action: #selector(pushButtonTapped),
                         for: .touchUpInside)
func presentToSecondViewController() {
        
        let secondViewController = SecondViewController()
        secondViewController.modalPresentationStyle = .fullScreen
        self.present(secondViewController, animated: true)
    }
    func pushToSecondViewController() {
        
        guard let name = nameTextField.text else { return }
        let secondViewController = SecondViewController()
        secondViewController.name = name
        self.navigationController?.pushViewController(secondViewController, animated: true)
    }
func dataBind() {
            nameLabel.text = name
    }

์‹œ๋ฎฌ๋ ˆ์ด์…˜


Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-06-27.at.06.15.26.mp4

@ena-isme ena-isme merged commit e213116 into main Jun 26, 2023
@ena-isme ena-isme self-assigned this Jun 26, 2023
@ena-isme ena-isme changed the title 1์ฃผ์ฐจ ์„ธ๋ฏธ๋‚˜ ๐Ÿ‘๐Ÿป 1์ฃผ์ฐจ ์„ธ๋ฏธ๋‚˜ Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants