---
title: "init(contact:storeManager:)"
framework: CareKit
role: symbol
role_heading: Initializer
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: "carekit/ockcontactviewcontroller/init(contact:storemanager:)-6wapc"
---

# init(contact:storeManager:)

Initialize a view controller that displays a contact in the store. Stays synchronized with the provided contact.

## Declaration

```swift
convenience init(contact: OCKAnyContact, storeManager: OCKSynchronizedStoreManager)
```

## Parameters

- `contact`: The contact to display.
- `storeManager`: Wraps the store that contains the contact to fetch.
