---
title: "url(_:)"
framework: tipkit
role: symbol
role_heading: Type Method
path: "tipkit/tips/configurationoption/datastorelocation/url(_:)"
---

# url(_:)

Configuration option for persisting tips at a custom on-disk location.

## Declaration

```swift
static func url(_ url: URL) -> Tips.ConfigurationOption.DatastoreLocation
```

## Parameters

- `url`: URL for on-disk location of the tips datastore.

## Discussion

Discussion do {     let tipsDatastoreLocation = URL.applicationSupportDirectory.appendingPathComponent("LandmarkTips")     // Save the tips datastore at the specified URL.     try Tips.configure([         .datastoreLocation(.url(tipsDatastoreLocation))     ]) } catch {     print("Error initializing TipKit \(error)") }
