
Combine이 무엇이고 왜 쓰는지 알아봤으니 이제 어떻게 작동하는지 공부하려고 한다. Combine은 무엇이고 왜 쓸까? Combine의 핵심 개념은 3가지로 볼 수 있다. Publisher Subscriber Operators 여기에 추가로 cancellable과 subject 가 있다. 각각 어떻게 사용되는지 보자 Publisher Publisher 는 그 이름처럼 데이터를 제공한다. 단 Subscriber의 요청이 없다면 데이터를 제공하지 않는다. Publisher는 Output 타입과 Failure 타입으로 이루어져있다. 만약 Output 타입이 String이고 URLError를 리턴한다면, 로 작성해주면 된다. Subscriber Subscriber는 Pubilsher에게 데이터를 요청(req..

Swift를 공부하고 ios 개발자로 취업을 준비하는 사람이라면 Combine 을 한 번쯤은 들어봤을것이다. 취업 지원자격 혹은 우대사항에 Combine 경험자가 적혀있는 것을 종종 볼 수 있다. 그렇다면 Combine은 무엇이고 왜 쓰는 것일까??? 궁금해서 공부해봤다. Combine의 탄생 Combine은 WWDC 2019 에서 처음으로 나왔다. WWDC 2019 Combine 영상보기 영상 속에서 Combine은 이렇게 정의된다. 시간에 따른 값 처리를 위한 통합되고 선언적인 API. 이것만 봐서는 잘 모르겠다. Apple 공식문서의 Combine을 본다. Combine 공식문서 Combine 이벤트 처리 연산자를 결합(combine) 하여 비동기 이벤트 처리를 사용자 정의한다. Combine 프레..

Control Flow — The Swift Programming Language (Swift 5.5) Control Flow Swift provides a variety of control flow statements. These include while loops to perform a task multiple times; if, guard, and switch statements to execute different branches of code based on certain conditions; and statements such as break a docs.swift.org 1차 수정 (2022 / 02 / 26) : 의역, 오타 및 스타일 수정 Control Flow(제어 흐름) 제어 흐름은 ..

Collection Types — The Swift Programming Language (Swift 5.5) Collection Types Swift provides three primary collection types, known as arrays, sets, and dictionaries, for storing collections of values. Arrays are ordered collections of values. Sets are unordered collections of unique values. Dictionaries are unordere docs.swift.org 1차 수정 (2022 / 02 / 26) : 오타, 의역 및 스타일 수정, 최신 이미지로 교체 Collection ..

공식문서 정리하기 01 탄 의역과 요약이 조금씩 들어가있습니다. The Basics — The Swift Programming Language (Swift 5.5) The Basics Swift is a new programming language for iOS, macOS, watchOS, and tvOS app development. Nonetheless, many parts of Swift will be familiar from your experience of developing in C and Objective-C. Swift provides its own versions of all fundamental docs.swift.org 1차 수정 (2022 / 02 / 24) : 의역 및 오타 수정..
Swift 공식 문서를 매번 해석 하면서 보기 힘들어 해석해놓고 틈틈이 보려고 합니다. Swift - Apple Developer Swift is a powerful and intuitive programming language for iOS, iPadOS, macOS, tvOS, and watchOS. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love. Swift code is safe by des developer.apple.com Swift 강력하고 배우기도 쉬운 프로그래밍 언어 스위프트는 ios, iPadOS, m..
- Total
- Today
- Yesterday
- Swift 디자인 패턴
- 코딩
- Swift문법
- Swift DocC
- Combine
- TODO
- SwiftUI
- 책리뷰
- 필독서
- Swift공식문서
- 부스트캠프
- vapor
- 앱개발
- 책후기
- swiftUI 기초
- 부스트캠프7기
- Swift 서버
- UX
- 애플
- 프로그래머스
- ios
- todo앱
- 개발
- 부스트캠프iOS
- 디자인 패턴
- 책
- 코딩 테스트
- 코딩테스트
- 날씨어플
- Swift
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |