Skip to content

Conversation

@Aeastr
Copy link
Owner

@Aeastr Aeastr commented Jul 31, 2025

I fucked up some of the rewrite so fixing it asap

Aeastr added 5 commits July 31, 2025 02:17
Refines the `.auto` padding mode in CutoutAccessoryView to use an inverse relationship between cutout width and padding, ensuring better spacing across device types. Updates the README to clarify the new padding logic. Adds an override for modelID iPhone17,5 device in NotchMyProblem.swift. Includes a new preview for iOS 26 in CutoutAccessoryView.swift.
Extracted top padding logic into a separate variable for clarity and added section comments to improve code readability. No functional changes were made to the layout behavior ! ! !
Adjusted the fallback exclusion width for non-cutout devices from 160 to 180 for improved layout. Updated the description text for adaptive padding behavior. Removed the Photos Example preview code for iOS 26.
@Aeastr
Copy link
Owner Author

Aeastr commented Jul 31, 2025

huzzah, should probably add better examples tho

Aeastr added 9 commits July 31, 2025 02:49
Revised README for clarity and improved section organization. Updated several asset images and removed unused Post.png and Post2x.jpeg files.
Rewrote the 'Overrides' section in the README for clarity, replaced HTML with Markdown image syntax, and updated the notchError.png asset. Also removed redundant sections to streamline documentation.
Replaces Capsule-based leading and trailing content in CutoutAccessoryView examples with Button views using a new notchMyProblem_Example_Button view modifier. Adds the modifier to style buttons consistently and support highlighted states, improving code clarity and reusability.
Changed the comment in the View extension to indicate support for iOS 13 instead of iOS 14. Added a note about improving examples in the future.
@Aeastr Aeastr merged commit ee8193d into main Jul 31, 2025
2 checks passed
@Aeastr
Copy link
Owner Author

Aeastr commented Jul 31, 2025

@Aeastr Aeastr deleted the fixes branch July 31, 2025 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants