-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Custom brackets and bracket view (#7)
* feat: Allow customizing shots per game round * feat: Initial work for bracket view * feat: Parent view for list vs bracket views * feat: Store useBracketView, last round and region viewed * feat: Add settings page * feat: Collapsible helper for shots per round * refactor: Streamline labels in tournament list view * refactor: Generalize BracketCreationController for custom brackets * feat: Select custom bracket size * feat: Select initial fill type custom bracket * feat: Support random fill of custom bracket * feat: Support existing bracket fill of custom bracket * feat: Update teams and seeds on custom brackets, sans dupe checks * feat: Alert and block if updating to duplicate team * feat: Finalize custom bracket creation * feat: Allow changing region names * feat: Update historical probabilities after 2024 tourneys * chore: Update version to 1.10 * docs: Update ABOUT text for customization
- Loading branch information
Showing
42 changed files
with
2,509 additions
and
439 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// AppConstants.swift | ||
// foam-madness | ||
// | ||
// Created by Michael Virgo on 3/18/24. | ||
// Copyright © 2024 mvirgo. All rights reserved. | ||
// | ||
|
||
struct AppConstants { | ||
static let defaultShotsPerRound = 10 | ||
static let defaultUseBracketView = false | ||
} |
258 changes: 220 additions & 38 deletions
258
foam-madness/Controller/BracketCreationController.swift
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.