<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFURLPathStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@E@CFURLPathStyle"
  },
  "title" : "CFURLPathStyle"
}
-->

# CFURLPathStyle

Options you can use to determine how CFURL functions parse a file system path name.

```
enum CFURLPathStyle
```

## Topics

### Constants

[`CFURLPathStyle.cfurlposixPathStyle`](/documentation/CoreFoundation/CFURLPathStyle/cfurlposixPathStyle)

Indicates a POSIX style path name. Components are slash delimited. A leading slash indicates an absolute path; a trailing slash is not significant.

[`CFURLPathStyle.cfurlhfsPathStyle`](/documentation/CoreFoundation/CFURLPathStyle/cfurlhfsPathStyle)

Indicates a HFS style path name. Components are colon delimited. A leading colon indicates a relative path, otherwise the first path component denotes the volume.

[`CFURLPathStyle.cfurlWindowsPathStyle`](/documentation/CoreFoundation/CFURLPathStyle/cfurlWindowsPathStyle)

Indicates a Windows style path name.



---

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)