OCKConnectViewController Class Reference

Inherits from UIViewController
Conforms to MFMailComposeViewControllerDelegate
MFMessageComposeViewControllerDelegate
Declared in OCKConnectViewController.h

The OCKConnectViewController class is a view controller that displays an array of OCKContact objects. It includes a master view and a detail view. Therefore, it must be embedded inside a UINavigationController.

– initWithContacts:patient:

Returns an initialized connect view controller using the specified contacts.

- (instancetype)initWithContacts:(nullable NSArray<OCKContact*> *)contacts patient:(nullable OCKPatient *)patient

Parameters

contacts

An array of OCKContact objects.

patient

A patient object.

Return Value

An initialized connect view controller.

Declared In

OCKConnectViewController.h

– initWithContacts:

Returns an initialized connect view controller using the specified contacts.

- (instancetype)initWithContacts:(nullable NSArray<OCKContact*> *)contacts

Parameters

contacts

An array of OCKContact objects.

Return Value

An initialized connect view controller.

Declared In

OCKConnectViewController.h

  contacts

An array of contacts.

@property (nonatomic, copy, nullable) NSArray<OCKContact*> *contacts

Declared In

OCKConnectViewController.h

  patient

A patient object.

@property (nonatomic, copy, nullable) OCKPatient *patient

Declared In

OCKConnectViewController.h

  dataSource

The data source can be used to provide connect message items.

@property (nonatomic, weak, nullable) id<OCKConnectViewControllerDataSource> dataSource

Discussion

See the OCKConnectViewControllerDataSource protocol.

Declared In

OCKConnectViewController.h

  delegate

The delegate is used for the sharing section in the contact detail view.

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

Discussion

See the OCKConnectViewControllerDelegate protocol.

Declared In

OCKConnectViewController.h

  tableView

A reference to the UITableView contained in the view controller

@property (nonatomic, readonly, nonnull) UITableView *tableView

Declared In

OCKConnectViewController.h

  showEdgeIndicators

A boolean to show the edge indicators.

@property (nonatomic) BOOL showEdgeIndicators

Discussion

The default value is NO.

Declared In

OCKConnectViewController.h