OCKSymptomTrackerViewController Class Reference

Inherits from UIViewController
Declared in OCKSymptomTrackerViewController.h

The OCKSymptomTrackerViewController class is a view controller that displays the activities and events from an OCKCarePlanStore that are of assessment type (see OCKCarePlanActivityTypeAssessment).

It must be embedded inside a UINavigationController to allow for calendar operations, such as Today bar button item.

– initWithCarePlanStore:

Returns an initialized symptom tracker view controller using the specified store.

- (instancetype)initWithCarePlanStore:(OCKCarePlanStore *)store

Parameters

store

A care plan store.

Return Value

An initialized symptom tracker view controller.

Declared In

OCKSymptomTrackerViewController.h

  store

The care plan store that provides the content for the symptom tracker.

@property (nonatomic, readonly) OCKCarePlanStore *store

Discussion

The symptom tracker displays activites and events that are of assessment type (see OCKCarePlanActivityTypeAssessment).

Declared In

OCKSymptomTrackerViewController.h

  delegate

The delegate is used to provide the appropriate view controller for a given assessment event. It also allows the fetched events to be modified or updated before they are displayed.

@property (nonatomic, weak, nullable) id<OCKSymptomTrackerViewControllerDelegate> delegate

Discussion

See the OCKSymptomTrackerViewControllerDelegate protocol.

Declared In

OCKSymptomTrackerViewController.h

  lastSelectedAssessmentEvent

The last assessment event selected by the user.

@property (nonatomic, readonly, nullable) OCKCarePlanEvent *lastSelectedAssessmentEvent

Discussion

This value is nil if no assessment has been selected yet.

Declared In

OCKSymptomTrackerViewController.h

  progressRingTintColor

The tint color that will be used to fill the ring view.

@property (nonatomic, null_resettable) UIColor *progressRingTintColor

Discussion

If the value is not specified, the app’s tint color is used.

Declared In

OCKSymptomTrackerViewController.h

  showEdgeIndicators

A boolean to show the edge indicators.

@property (nonatomic) BOOL showEdgeIndicators

Discussion

The default value is NO.

Declared In

OCKSymptomTrackerViewController.h