Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

iPhone 계산기를 SwiftUI로 따라 만든 클론 코딩 학습 프로젝트.

학습 목적

  • SwiftUI 컴포넌트 (Button, VStack, HStack)
  • 상태 관리 (@State)
  • enum 기반 버튼 타입 정의
  • 정수/소수/음수 처리 로직
  • 기종별 화면 비율 대응

주요 기능

기능 설명
사칙연산 +, −, ×, ÷
부호 반전 (+/−) 정수/소수 모두 지원
백분율 (%) 정수/소수 모두 지원
소수점 (.) 0에서 시작 시 0. 처리
Clear (C) 0으로 초기화
Equal 처음 누르면 빨간색 Error

빌드 & 실행

git clone https://github.com/GthingkingG/Calculator.git
open Calculator/Calculator.xcodeproj

Xcode에서 ⌘R.

인덱스

Learning-Archive 대시보드의 [클론] 카테고리에 등록.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages