<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TipKit",
  "identifier" : "/documentation/TipKit/Tips",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "TipKit"
    ],
    "preciseIdentifier" : "s:6TipKit4TipsO"
  },
  "title" : "Tips"
}
-->

# Tips

TipKit namespace.

```
@frozen enum Tips
```

## Overview

A collection of objects for controlling the display of your tips.

## Topics

### Configuration

[`configure(_:)`](/documentation/TipKit/Tips/configure(_:))

Loads and configures the persistent state of all tips in your app.

[`ConfigurationOption`](/documentation/TipKit/Tips/ConfigurationOption)

A type that marks an object as a tip configuration.

### Testing

[`showAllTipsForTesting()`](/documentation/TipKit/Tips/showAllTipsForTesting())

Show all tips regardless of their display rule eligibility or display frequency status for UI testing of tips.

[`showTipsForTesting(_:)`](/documentation/TipKit/Tips/showTipsForTesting(_:))

Show specified tips regardless of their display rule eligibility or display frequency status for UI testing of certain tips.

[`hideAllTipsForTesting()`](/documentation/TipKit/Tips/hideAllTipsForTesting())

Hide all tips regardless of their display rule eligibility for UI testing without tips.

[`hideTipsForTesting(_:)`](/documentation/TipKit/Tips/hideTipsForTesting(_:))

Hide specified tips regardless of their display rule eligibility for UI testing without certain tips.

[`resetDatastore()`](/documentation/TipKit/Tips/resetDatastore())

Resets the tips’ datastore to the initial state for re-testing tip display rules and eligibility.

### Actions

[`Action`](/documentation/TipKit/Tips/Action)

A type that describes a control associated with a tip.

### Rules

[`Rule`](/documentation/TipKit/Tips/Rule)

A condition to meet before displaying a tip.

### Events

[`Event`](/documentation/TipKit/Tips/Event)

A repeatable user-defined action.

[`DonationTimeRange`](/documentation/TipKit/Tips/DonationTimeRange)

A duration of time for filtering event donations.

[`DonationLimit`](/documentation/TipKit/Tips/DonationLimit)

Specify the maximum number of donations for an event.

[`EmptyDonation`](/documentation/TipKit/Tips/EmptyDonation)

An empty event donation.

### Parameters

[`Parameter`](/documentation/TipKit/Tips/Parameter)

A type that monitors the state of its wrapped value to reevaluate any dependent tip rules when the value changes.

[`ParameterOption`](/documentation/TipKit/Tips/ParameterOption)

A type that represents the various customizations that you can make to a tip parameter.

### Options

[`IgnoresDisplayFrequency`](/documentation/TipKit/Tips/IgnoresDisplayFrequency)

Controls whether a tip obeys the preconfigured display frequency interval.

[`MaxDisplayCount`](/documentation/TipKit/Tips/MaxDisplayCount)

Specifies the maximum number of times a tip displays before the system automatically invalidates it.

[`MaxDisplayDuration`](/documentation/TipKit/Tips/MaxDisplayDuration)

Specifies the maximum amount of time a tip is displayed before it is invalidated.

### Status

[`Status`](/documentation/TipKit/Tips/Status)

A type that describes the current display eligibility status for a tip.

[`InvalidationReason`](/documentation/TipKit/Tips/InvalidationReason)

A type that describes why the system permanently invalidated a tip.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Copyable`](/documentation/Swift/Copyable)

---

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)