Skip to content

Conversation

@Aeastr
Copy link
Owner

@Aeastr Aeastr commented Jul 30, 2025

No description provided.

Aeastr added 10 commits July 30, 2025 21:18
Renamed TopologyButtonsView to CutoutAccessoryView throughout the codebase for clarity and consistency. Updated all usages, documentation, and previews. Also removed the redundant NotchMyProblemClass.swift file, consolidating its contents into NotchMyProblem.swift.
Introduces the CutoutAccessoryPadding enum to allow .auto, .none, or custom padding for the cutout and content areas in CutoutAccessoryView. Updates the view's layout logic to use the selected padding configuration and enhances documentation and previews to demonstrate the new options.
Expanded documentation for CutoutAccessoryView, including detailed explanations and examples for the new `padding` parameter and its customization. Clarified override mechanisms, precedence, and advanced usage. Improved formatting, added rationale for padding, and updated compatibility, logging, and contribution sections for clarity and completeness.
Removed detailed explanation of the CutoutAccessoryView padding parameter for brevity and added new contact and social links at the end of the README.
Introduced shields.io badges to display Swift version, iOS compatibility, and license information in the README for improved project visibility.
Updated the default exclusionWidth fallback to use 30% of the view width if unavailable. Modified padding logic to apply content padding only when a top cutout is present, and simplified the condition for rendering the cutout space.
Updated the `.auto` mode to use new default padding values for cutout, content, and vertical padding. Also set the font of leading and trailing content overlays to `.footnote` for improved appearance. Updated README to reflect the simplified description of `.auto` mode.
Increased the default exclusion width fallback from 30% to 40% of the view width and reduced the fallback frame height from 40 to 30 when there is no top cutout. These changes refine the layout for better visual alignment.
Introduces a workflow to build and test the Swift package on iOS using Swift 6.0 and Xcode on macOS runners. The workflow runs on push and pull requests to main, supports both debug and release configurations, and dynamically selects an available iOS simulator.
@Aeastr Aeastr self-assigned this Jul 30, 2025
@Aeastr Aeastr added the enhancement New feature or request label Jul 30, 2025
@Aeastr Aeastr merged commit 5952fd9 into main Jul 30, 2025
2 checks passed
@Aeastr Aeastr deleted the revamp branch July 30, 2025 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants