graycampbell / GCCalendar

A customizable calendar view for iOS 9+ written in Swift.
https://graycampbell.github.io/GCCalendar
MIT License
56 stars 10 forks source link

Daily / weekly calendar views? #29

Open smhk opened 7 years ago

smhk commented 7 years ago

GCCalendar is the perfect calendar for month view - it's perfect.

The problem arises that clients inevitably want the typical "day view" and "week view" etc...

mobile - cals copy

Really, is there any package as good as GC which handles this?

Is there a chance that GC will offer this in the future? It is of course so time consuming to build from scratch, it would be worth waiting for GC. (Or pitching in with it.)

Any ideas? Cheers...

graycampbell commented 7 years ago

To get the functionality you're talking about, the first step would be to allow for fully customizable day views. As of right now, GCCalendar only allows you to customize certain aspects of the day view (such as colors, fonts, etc.).

I would need to create a data source similar to UITableView or UICollectionView which would allow for passing reusable, fully customizable day views. That would allow you to achieve what the middle calendar in your screenshot shows.

As for the other two calendars in your screenshot, fully customizable day views, along with GCCalendar's week view calendar mode, would allow you to at least partially create what you're looking for.

As for the scrolling list of events for a given day like you would see in the default iOS calendar app, that's a different story.

At the very least, fully customizable day views is something that I would like to add at some point and is a good place to start.