A Swift library providing custom segues for macOS Storyboards with slide, crossfade, and window transition effects.
CustomSegue is a Swift library for macOS that provides customizable segues for Storyboards, enabling developers to implement slide, crossfade, and window-based view controller transitions. It solves the problem of limited built-in transition options in macOS Storyboards by offering a flexible, animator-based system that integrates seamlessly with Interface Builder.
macOS developers building applications with Storyboards who need advanced, customizable view controller transitions beyond the default options.
Developers choose CustomSegue because it simplifies implementing complex transitions, reduces boilerplate code by leveraging `NSViewControllerTransitionOptions`, and offers a collection of ready-to-use segues for common navigation patterns, all while maintaining full Storyboard compatibility.
Custom segue for OSX Storyboards with slide and cross fade effects (NSViewControllerTransitionOptions)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integrates directly into Interface Builder with drag-and-drop segues like SlideDownSegue, reducing code for transitions as shown in the README's demo and setup instructions.
TransitionAnimator allows custom durations and multiple transition types such as slide and crossfade using Apple's NSViewControllerTransitionOptions, eliminating manual transitionFromViewController calls.
Provides ready-made segues for dismiss actions, window replacement, and table popovers, covering common macOS patterns like SplitViewSegue and TablePopoverSegue with minimal boilerplate.
Adds a present method to NSViewController with modes like sheet, modal, and custom animator, simplifying programmatic presentation beyond Storyboard segues.
Useless for projects using XIBs or pure code; forces adoption of Storyboards, which might not fit all workflows, limiting flexibility in UI design.
Segues like TablePopoverSegue require manual tableView assignment in prepareForSegue, adding complexity and potential for errors, as noted in the README warnings.
Exclusively for macOS, with no support for iOS, iPadOS, or other Apple platforms, making it irrelevant for cross-platform or mobile-focused teams.
Requires dependency management via CocoaPods or Carthage, and configuring segues in code can be verbose, especially compared to simpler, built-in transition options.