The MAFAppointmentView displays appointments scheduled in a day in a panel style. Each appointment appears as a colored panel (MAFAppointmentView), which shows the appointment title and the location.
-(void)setupDayView:(UIViewController*)vc
{
MAFDayDetailView* view = [[MAFDayDetailView alloc] initWithFrame:CGRectMake(0, 44, 320, 367)];
view.delegate = self;
view.datasource = self;
view.startDate = [NSDate date];
view.tag = 42;
[vc.view addSubview:view];
[view release];
}