---
title: "init(contentsOfURL:)"
framework: corehaptics
role: symbol
role_heading: Initializer
path: "corehaptics/chhapticpattern/init(contentsofurl:)"
---

# init(contentsOfURL:)

## Declaration

```swift
init(contentsOfURL ahapURL: URL) throws
```
