iOS calendar week events view in Swift - ios

For my application I have to develop a view that displays the events of a calendar in a Week View, just like the landscape view of the iPhone calendar app.
I was thinking about using a CollectionView but I don't know if is possible to have the content of the cell continuing in another cell, in the case of an event covering multiple hours, like this example, in which the description can continue trough multiple cells:
Is there any plugin I can use to create this view?

Related

Host different UITableViewControllers in one UIViewController like a Calendar App with multiple views

I have an app that has two separate views of a schedule, one is a list view of the events, the other is a UICollectionView which presents as a calendar in month view. I want to create a new view that has a UISegmentControl in the TitleView that allows the user to switch between List and Month views. Instead of using a menu to navigate to two different views, they will be selectable and hosted in a single view. How do I architect this in iOS 10 or later?
Take UIViewControlle, add UISegmentControl and UICollectionView.
create two customised UIcollectionviewcell inside UICollectionView, One for Listview and one for Month view as in following image.
Now, According to selection of Segment control, change Data in collection view by using required cell from getcell function. use collectionview.reaload() function reload data on segment selection change event.

How to achieve calendar week view in swift iOS

How can I achieve week view of the calendar in my iOS app as shown below, ideally using Apple calendar components (if any) and also how can I retrieve the selected date.
I have tried using both FSCalender and CVCalender plugins, without much success, as each was missing one element or the other.
The answer is, you lay out a bunch of views and set their contents. Perhaps use a collection view for the horizontal days. Definitely use a table view for the times. There's nothing in the public SDK to do it all for you. You just put together a view hierarchy the normal way.

Imitating split view animation used in iOS Calendar app

I am currently experimenting with a calendar framework I found online which possesses most of the functionality I need. However, I would really like to add a feature similar to the animation in the iOS Calendar where when a date is tapped, the view splits at that location and the selected week moves to the top of the calendar. Its an intuitive way to display info about the selected day. I just need some suggestions as to how this can be achieved since I'm not super familiar with collection views.
The calendar is a grid collection view with months as different sections from what I understand. Is it possible to just stick a supplementary view anywhere in a collection view dynamically? Or maybe I should look into adjusting insets at a specific location? I'm really not sure what direction to take and could use some suggestions.
Here is sort of what I want to do but with a table view.

iOS - making a list of calendars

I have a problem : I would like to implement a list of calendars (as in Calendar app of ipad) where the user can view a list of months along with their days. The user can pick a particular day and jump to another view ("day" view).
I am trying to do it by using UICollectionView and putting some kind of calendar (like CKCalendar) inside the UICollectionViewCell.
Beside the fact that there is some problem in handling events from calendars, there is also a problem about loading of the view which can take even half a second for let's say 9 cells.
Any advice?

How can I implement an iOS calendar picker similar to Hipmunk's?

I'm working on a couple of iOS apps that require the user to select a calendar date, and while the built-in date picker widget is all right, I'd much prefer if users could choose days from a calendar grid, similar to how it works in Hipmunk's iOS app. In that app, users are shown an infinite scroll view showing a grid of days, with each cell showing the month and day. The days of the week are shown in a persistent (i.e. non-scrolling) banner.
In addition to simply showing a calendar, this control should allow dates to be highlighted/selected. Better still, users should be able to select a whole range of dates by tapping on the start and end days' cells, at which the whole range of days should be highlighted.
Any ideas?
It's an "infinite" UIScrollView with various other views inside of it. Apple provides a demo infinite UIScrollview in their StreetScroller project.
You'll be allocating and initializing views for the various things you wanted displayed on each day, and probably reusing views at the top for the dates (as one scrolls off to the left you change the date and move it over to the right, reusing it the way a UITableView traditionally does).
Selection is a matter of changing visible state of the objects that back your views.

Resources