<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFURLCreateResourcePropertiesForKeysFromBookmarkData(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFURLCreateResourcePropertiesForKeysFromBookmarkData"
  },
  "title" : "CFURLCreateResourcePropertiesForKeysFromBookmarkData(_:_:_:)"
}
-->

# CFURLCreateResourcePropertiesForKeysFromBookmarkData(_:_:_:)

Returns the resource values for properties identified by a specified array of keys contained in specified bookmark data.

```
func CFURLCreateResourcePropertiesForKeysFromBookmarkData(_ allocator: CFAllocator!, _ resourcePropertiesToReturn: CFArray!, _ bookmark: CFData!) -> Unmanaged<CFDictionary>!
```

## Parameters

`allocator`

The allocator to use to allocate memory for the new `CFURL` object. Pass `NULL` or [`kCFAllocatorDefault`](/documentation/CoreFoundation/kCFAllocatorDefault) to use the current default allocator.

`resourcePropertiesToReturn`

An array of names of URL resource properties. See [Common File System Resource Keys](/documentation/CoreFoundation/common-file-system-resource-keys) for a list of possible keys.

`bookmark`

The bookmark data the resource values are derived from.

## Return Value

A dictionary of the requested resource values contained in `bookmarkData`.

## Discussion

This function does not attempt to resolve the bookmark data or perform I/O.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)