BTNEvent Class Reference

Inherits from BTNBaseEntity : BTNModelObject
Declared in BTNEvent.h

Overview

All fields are optional and should be populated only if known.

+ eventWithStartTime:endTime:location:

Returns an instance with start/end times and location

+ (instancetype)eventWithStartTime:(NSDate *)startTime endTime:(NSDate *)endTime location:(BTNLocation *)location

Parameters

startTime

A date representing the start of the event.

endTime

A date representing the end of the event.

location

The location of the event.

Discussion

Returns an instance with start/end times and location

Declared In

BTNEvent.h

– setLocation:

Sets the location of the event.

- (void)setLocation:(BTNLocation *)location

Discussion

Sets the location of the event.

Declared In

BTNEvent.h

– setStartTime:

Sets the start date/time of the event.

- (void)setStartTime:(NSDate *)startTime

Discussion

Sets the start date/time of the event.

Declared In

BTNEvent.h

– setEndTime:

Sets the end date/time of the event.

- (void)setEndTime:(NSDate *)endTime

Discussion

Sets the end date/time of the event.

Declared In

BTNEvent.h