| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 프롬프트
- usecasediagram
- 맥린이
- HTTP
- 내장객체
- ERD
- Agile
- handlerMapping
- pattern
- system developer
- App
- Program
- jsp
- command
- FrontController
- DevOps
- mybatis
- Framework
- Cloud
- NOTE
- getParameter
- Spring
- tiles
- getAttribute
- backend
- setAttribute
- classdiagram
- controller
- UML
- MVC
Archives
- Today
- Total
시작은 언제라도
조건문 본문
변수선언 방식
var isDarkMode : Bool = true
var 변수명 : 데이터 타입 = 데이터 값
swift 기본 조건문법은 java랑 비슷해 보임.
// 생략이 좀 더 가능한 부분이 있음 , 세미콜론 없음
ex)
var isMan : Bool = true
if isMan {
print(' is man ' )
} else {
print(' is not man')
}