Skip to content

Commit

Permalink
feat: deprecate legacy layout mode
Browse files Browse the repository at this point in the history
  • Loading branch information
watt committed Jan 11, 2025
1 parent e34a1e3 commit 3983d10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BlueprintUI/Sources/Layout/LayoutMode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public enum LayoutMode: Equatable {
}
}

/// The "standard" layout system.
/// Blueprint's original layout system. This mode is deprecated and will be removed.
@available(*, deprecated, message: "Legacy mode is deprecated and will be removed in a future release.")
case legacy

/// A newer layout system with some optimizations made possible by ensuring elements adhere
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

- `LayoutMode.legacy` is deprecated and will be removed in a future release.

### Security

### Documentation
Expand Down

0 comments on commit 3983d10

Please sign in to comment.