adilanchian / Mocklook

iOS Engineer Challenge for Outlook iOS Mobile Team!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Calendar View

adilanchian opened this issue · comments

Pretty self explanatory. Build a calendar the meets the following requirements:

Key Features

  • Continuos scrolling
  • Tapping on a date should update the information displayed in the Agenda View
  • Follow design listed shown in the attached image

Outlook Calendar View

ios_02

I have pushed the first step for laying out the calendar view. This push included:

  • Full calendar year collection view
  • First pass out ui styling
  • Grayed out cells if it is not the current month
  • Short month string if it is the first of the month
  • Continuous scrolling through the entire year
  • Calendar starts at current month
  • Project setup and one Unit test

Commit can be found here:
(833e89b)

This push had code for a sticky header. It does not work very well at the moment, will be continuing on with the agenda view and then loop back around.

Delegate has been setup for interacting with the agenda and changing the calendar. The calendar now centers at the selected day in the table and highlights the current cell.

Implemented a delegate method that tells the calendar when the agenda is in use. If the agenda is in use, the delegate checks to see if the calendar is expanded, if it is, the calendar shrinks and the agenda expands.

Next step is to implement when the calendar is interacted with, the agenda should shrink and the calendar should expand.

Added the logic for expanding and shrinking calendar and agenda views. This also includes the animation for it and selecting the day cells.

Going to call this complete. If there are more bug fixes I will create another issue to fix it.