Giter Site home page Giter Site logo

my-planner's Introduction

๐Ÿ‘‹ Hello!

my-planner's People

Contributors

yy0867 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

my-planner's Issues

`DateSelectorViewController`์„ half modal๋กœ ๋„์šฐ๊ธฐ

์ง€๊ธˆ์€ popOver๋กœ ์˜ฌ๋ผ์™€์„œ ํ•ด๋‹น VC์— ๊ณต๊ฐ„์ด ๋งŽ์ด ๋น„๊ณ ,
weekCalendar์ด ๊ฐ€๋ ค์ ธ ๋‹ต๋‹ตํ•œ ๋Š๋‚Œ์ด ๋“ ๋‹ค.
simulator_screenshot_FBADFFF6-6D5C-44FE-BF43-A86D7DD754F7

์ด๋ฅผ half modal๋กœ ๋ฐ”๊ฟ” ์“ฐ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™๋‹ค.

`AddPlan` ๊ตฌํ˜„

Plan์„ ์ถ”๊ฐ€ํ•  AddPlan ๊ธฐ๋Šฅ ๊ตฌํ˜„

  • AddPlanViewController
  • AddPlanViewModel
  • AddPlanView
  • ...

WeekdayCalendar ๊ตฌํ˜„

ํ™”์‚ดํ‘œ ๋ฒ„ํŠผ ์‚ฌ์ด์— ๋“ค์–ด๊ฐˆ 1์ฃผ์ผ ๋‹ฌ๋ ฅ ๊ตฌํ˜„
๋‹ฌ๋ ฅ์˜ ๋‚ ์งœ๋ฅผ ๋ˆ„๋ฅด๋ฉด viewModel.changeDate(_:)๋ฅผ ํ˜ธ์ถœํ•˜๋„๋ก ๊ตฌํ˜„ํ•ด์•ผ ํ•จ.

simulator_screenshot_D4837A24-BD56-4830-A575-A0809D52C235

`WeekCalendar`์—์„œ RxSwift์˜ Cycle์ด ์ƒ๊ธฐ๋Š” ๋ฌธ์ œ

๋ฌธ์ œ

  1. WeekCalendar์—์„œ ๋‚ ์งœ๋ฅผ ์„ ํƒํ•˜๋ฉด calendar(_:didSelect:...)๊ฐ€ ํ˜ธ์ถœ๋จ.
  2. ๋‚ด๋ถ€์—์„œ viewModel.changeDate(_:)๊ฐ€ ํ˜ธ์ถœ๋จ.
  3. ๋‚ด๋ถ€์—์„œ Observable์ธ selectedDate๋ฅผ ๋ณ€๊ฒฝํ•˜๊ณ  acceptํ•จ
  4. WeekCalendar์˜ viewModel.selectedDate.subscribe(onNext:)๊ฐ€ ํ˜ธ์ถœ๋จ.
  5. ๊ทธ ๋‚ด๋ถ€์—์„œ calendar.selectDates([date])๋ฅผ ํ˜ธ์ถœํ•จ.
  6. calendar(_:didSelect:...)๊ฐ€ ํ˜ธ์ถœ๋จ.
  7. (1)๋กœ ๋ฐ˜๋ณต

๊ตฌ์กฐ๋ฅผ ๋ฐ”๊พธ๋Š” ๋ฐฉ๋ฒ•์„ ์ƒ๊ฐํ•ด๋ด์•ผ ํ•  ๊ฒƒ ๊ฐ™๋‹ค.

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.