나의 발자취
iOS developing - Wireframing, compound assignment operators 본문
A wireframe is a collection of sketches and notes that depict a website as it would look on a browser, a tablet, or a mobile device. It shows the layout of the app’s elements, like navigation bars, buttons, content placement, and more—it’s like the blueprint to our app!
Good artists copy. Great artists steal.
복합연산자 영어로 compound assignment operators
var dollars = 5
dollars += 4 // same as dollars = 5 + 4
print(dollars) // Prints: 9
dollars -= 3 // same as dollars = 9 - 3
print(dollars) // Prints: 6
dollars *= 5 // same as dollars = 6 * 5
print(dollars) // Prints: 30
dollars /= 6 // same as dollars = 30 / 6
print(dollars) // Prints: 5
dollars %= 2 // same as dollars = 5 % 2
print(dollars) // Prints: 1
출처: codecademy
'앱 개발 > iOS' 카테고리의 다른 글
XCode 파일 구조(Project navigator File lists) 설명 (1) | 2023.06.14 |
---|---|
Bundle Identifier? Organization Identifier? (0) | 2023.06.13 |
iOS imperative vs declarative (명령형 vs 선언형) (0) | 2023.06.12 |
landscape view 가로모드에서 background를 safe area에 할당하지 않고 전체로 하는 법 (0) | 2022.10.13 |
코드 짤 때 코드에서 이미지 객체 연결 바로 하는 법 (1) | 2022.09.21 |
Comments