---
title: "IOURLWriteDataAndPropertiesToResource(_:_:_:_:)"
framework: IOKit
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.0+, macOS 10.9+, xcode 6.1+]
path: iokit/1514272-iourlwritedataandpropertiestores
---

# IOURLWriteDataAndPropertiesToResource(_:_:_:_:)

## Declaration

```swift
func IOURLWriteDataAndPropertiesToResource(_ url: CFURL!, _ dataToWrite: CFData!, _ propertiesToWrite: CFDictionary!, _ errorCode: UnsafeMutablePointer<Int32>!) -> Bool
```
