GithubHelp home page GithubHelp logo

ios-calculator's Introduction

๐Ÿ“ฑSwiftUI๋กœ ๋งŒ๋“ค์–ด๋ณด๋Š” iOS ๊ณ„์‚ฐ๊ธฐ ํด๋ก ์ฝ”๋”ฉ

ํ˜„์žฌ ๊ตฌํ˜„๋œ ๋‚ด์—ญ

1. ๊ธฐ๋ณธ UI ๊ตฌ์„ฑ

iOS ๊ธฐ๋ณธ๊ณ„์‚ฐ๊ธฐ ์•ฑ์„ ํด๋ก ์ฝ”๋”ฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.

2. ๊ธฐ๋ณธ ์—ฐ์‚ฐ ๊ธฐ๋Šฅ

  • +,-,ร—,รท,%,โบโ„โ‚‹ ๋™์ž‘ํ•จ.

3. Int, Double ๊ตฌ๋ถ„ํ•˜์—ฌ ์ถœ๋ ฅ

4. UIDevice๋กœ ๊ธฐ๊ธฐ ๋Œ€์‘

UIDevice๋ฅผ extension์œผ๋กœ ๊ธฐ์ข…์œ ๋ฌด๋ฅผ ์ €์žฅํ•˜๋Š” ๋ณ€์ˆ˜๋ฅผ ๋งŒ๋“ค์–ด, ํ™”๋ฉด ํฌ๊ธฐ์— ๋”ฐ๋ผ ๋ฒ„ํŠผ ๋‹ฌ๋ผ์ง€๊ฒŒ ์กฐ์ •ํ•˜์˜€์Šต๋‹ˆ๋‹ค. ์•„์ดํŒจ๋“œ

5. ์ˆซ์ž๊ธธ์ด๊ฐ€ ๊ธธ์–ด์งˆ ๋•Œ,๊ธ€์ž๊ฐ€ ์ž‘์•„์ง€๊ฒŒ ํ‘œํ˜„

minimumScaleFactor() ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•˜์—ฌ ๊ธ€์ž ํฌ๊ธฐ๋ฅผ frame์— ๋งž์ถฐ ์ง€๊ฒŒ ์กฐ์ ˆํ•˜์˜€์Šต๋‹ˆ๋‹ค.

6. ์ˆซ์ž ๊ธธ์ด ์ œํ•œ 9์ž ์„ค์ •

  • ์†Œ์ˆ˜์  8์ž๋ฆฌ๊นŒ์ง€ ํ‘œ์‹œ, ๊ทธ ๋ฐ‘์€ ๋ฐ˜์˜ฌ๋ฆผํ•˜์˜€์Šต๋‹ˆ๋‹ค.

7. ์—ฐ์‚ฐ ๋ฒ„ํŠผ ํด๋ฆญ์‹œ ,๋ฒ„ํŠผ Active

์ด ๋ถ€๋ถ„์€ ์•„์ง ๊ตฌํ˜„๋˜์ง€ ์•Š์•˜์–ด์š”.

  • ์„ธ์ž๋ฆฌ ์ˆ˜๋งˆ๋‹ค , ์‚ฝ์ž…ํ•˜๊ธฐ
  • ๊ฐ€๋กœ๋ชจ๋“œ(๊ณตํ•™์šฉ ๊ณ„์‚ฐ๊ธฐ) : ์ตœ๋Œ€ ์ˆซ์ž ๊ธธ์ด 16์ž
  • ๋ฐฑ์ŠคํŽ˜์ด์Šค ์‹œ, ์ˆซ์ž ์‚ญ์ œ๊ฐ€๋Šฅ
  • AC/C ๊ตฌ๋ถ„
  • ์—ฐ์‚ฐ์ž ์šฐ์„ ์ˆœ์œ„

ios-calculator's People

Contributors

xohxe avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.