Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 내용
TDD 방식으로 iOS 계산기 앱을 구현했습니다. SwiftUI와 MVVM 아키텍처를 사용했고, 테스트 가능한 코드를 위해 의존성 주입 패턴을 적용했습니다.
구현 기능
기본 기능
핵심 기능: 연속 계산
일반 계산기처럼 연속으로 계산이 가능합니다.
예시: 24 + 36 + 20 = 80
아키텍처
MVVM 패턴으로 View, ViewModel, Model을 분리했습니다.
의존성 주입
프로토콜을 사용해서 ViewModel이 Calculator를 주입받도록 했습니다.