[Swift] Conditional Statements (조건문)
목차 if Statement (if문) if else else-if switch Statements switch case switch case where guard Statements if Statement (if문) if else else-if If if condition { statements } let id = "patrick" let password = "1234" if id == "patrick" { print("valid id") // vaild id } if password == "1234" { print("vaile password") // vaild password } else if condition { statements } else { statements } if id == "patr..
Swift
2021. 2. 16. 15:40
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 옵셔널
- 오토레이아웃
- scope
- 세자리수마다 콤마넣기
- swift
- 객체지향 생활체조
- 산술연산자
- 전산구문 기초용어
- 오버플로우연산자
- overflow
- datatypes
- 흐름제어구문
- continue
- 훈련법
- enumerations
- 반복문
- variables
- conditional
- RawValues
- 구문이름표
- labeled
- playground
- 삼항연산자
- iOS View Life Cycle
- optional
- 결합성
- Functions
- 비트연산자
- Constants
- 범위연산자
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함