SCalendarEvent Class Reference

Inherits from NSObject
Declared in SCalendarEvent.h
Availability
Related samples

Overview

A model object representing an event to be displayed on a ShinobiCalendar.

Properties

endTime

The end time of this event.

@property (nonatomic, strong) NSDate *endTime

Declared In

SCalendarEvent.h

name

The name displayed on the calendar for this event.

@property (nonatomic, strong) NSString *name

Declared In

SCalendarEvent.h

startTime

The start time of this event.

@property (nonatomic, strong) NSDate *startTime

Declared In

SCalendarEvent.h

symbol

The (optional) symbol that this event view will display on the calendar.

@property (nonatomic, strong) UIImage *symbol

Declared In

SCalendarEvent.h

Instance Methods

initWithName:startTime:andEndTime:

Creates a new SCalendarEvent, with the specified name, start time and end time.

- (instancetype)initWithName:(NSString *)name startTime:(NSDate *)startTime andEndTime:(NSDate *)endTime

Parameters

name

The name of the event.

startTime

The start time of the event.

endTime

The end time of the event.

Return Value

A new SCalendarEvent.

Declared In

SCalendarEvent.h