일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- 초딩수학
- CSV
- rounding
- MYSQL
- Banker's
- .csv
- Android
- swift 화면전환
- 한번에 업데이트 인서트 하기
- MSSQL
- 한글깨짐
- 썸머노트
- 일본여행
- Kakao API Address
- chart.js
- 나만의 상점
- MS-SQL
- league of legends
- python
- LEFT JOIN
- merge match
- 업비트
- Oracle
- 보유중스킨
- Request.Form
- update / insert
- Banker's rounding
- Aspose.cells
- Excel
- upbit
- Today
- Total
목록swift 화면전환 (3)
DBA
[Action Segue] 코딩이 필요하지 않다. ViewController에서 시작하는것이 아니라 Button같은 Controller에서 시작한다. "화면호출(Action Segue)" 버튼을 오른쪽마우스 클릭을 하고 드래그앤 드롭으로 SecondViewController에 연결한다. 팝업 메뉴에서 Show를 선택 한다. 그러면 왼쪽 상단에 < Back 버튼이 자동 생성 된다. [Manual Segue] ViewController 상단 왼쪽 끝 단추를 오른쪽 마우스 클릭으로 드래그 앤 드롭 해서 SecondViewController에 연결 한다. 팝업메뉴에서 Show를 선택한다. Segue 연결선의 Attributes inspector의 identifier를 입력 한다. (예: vcSecondSegue..
ViewController를 선택하고 xcode의 Editor > Embed In > Navigation Controller를 선택해서 Navigation Controller를 추가 한다. [ViewController.swift] @IBAction func onClickedSecondViewControllerNavigation(_ sender: UIButton) { let vcSecond = self.storyboard?.instantiateViewController(withIdentifier: "vcSecond") self.navigationController?.pushViewController(vcSecond!, animated: true) } withIdentifier: SecondViewContr..
[ViewController.swift] import UIKit class ViewController: UIViewController { @IBOutlet weak var btnSecondViewControllerPresent: UIButton! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. } // 두번째 뷰 컨트롤러 호출 @IBAction func onClickedSecondViewController(_ sender: UIButton) { guard let secondViewController = self.storyboard?.instantiateViewControll..