<!--
{
  "availability" : [
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPageController/TransitionStyle-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSPageControllerTransitionStyle"
  },
  "title" : "NSPageController.TransitionStyle"
}
-->

# NSPageController.TransitionStyle

These constants control the transition style of the page controller.

```
enum TransitionStyle
```

## Overview

These transition styles are independent of the delegate’s specification of book or history mode. It is perfectly reasonable to create a history style user interface using the book mode delegate methods. Simply set the transition style appropriately.

## Topics

### Constants

[`NSPageController.TransitionStyle.stackHistory`](/documentation/AppKit/NSPageController/TransitionStyle-swift.enum/stackHistory)

Pages are stacked on top of each other. Pages animate out to the right to reveal the previous page. Next pages animate in from the right.

[`NSPageController.TransitionStyle.stackBook`](/documentation/AppKit/NSPageController/TransitionStyle-swift.enum/stackBook)

Pages are stacked on top of each other. Pages animate out to the left to reveal the next page. Previous pages animate in from the left.

[`NSPageController.TransitionStyle.horizontalStrip`](/documentation/AppKit/NSPageController/TransitionStyle-swift.enum/horizontalStrip)

Each page is laid out next to each other in one long horizontal strip



---

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)