Skip to content

Conversation

@1998code
Copy link
Owner

This pull request introduces compatibility updates for iOS 26 and other platforms, refines the visual design of components, and enhances the GlassBackgroundModifier for better rendering effects. The changes ensure backward compatibility while leveraging new APIs where available.

Compatibility updates for iOS 26 and other platforms:

Visual design improvements:

  • Demo/Demo/Samples/_BlankTemplate.swift: Updated the _BlankTemplate view to use a ZStack layout with a gradient background (bg) for a more polished appearance. The text styling was also adjusted to include bold formatting.

@1998code 1998code requested a review from Copilot June 10, 2025 11:56
@1998code 1998code self-assigned this Jun 10, 2025
@1998code 1998code added the enhancement New feature or request label Jun 10, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces compatibility updates for iOS 26+ along with visual design refinements. Key changes include:

  • Enhancing GlassBackgroundModifier with conditional application of the new glassEffect API.
  • Updating the _BlankTemplate view to use a ZStack with a gradient background and bold text.
  • Adjusting the navigation button styling in Buttons.swift to selectively apply effects based on OS version.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Sources/SwiftGlass/GlassBackgroundModifier.swift Enhanced view modifier with conditional glassEffect and shadow for iOS 26+
Demo/Demo/Samples/_BlankTemplate.swift Updated layout to use ZStack with gradient background and bold text styling
Demo/Demo/Samples/Essential/Buttons.swift Added conditional branches for button styling to support updated navigation designs
Comments suppressed due to low confidence (1)

Demo/Demo/Samples/_BlankTemplate.swift:15

  • [nitpick] Verify that the inclusion of the Apple logo character in the greeting text is intentional and aligns with the project's branding guidelines.
Text("Hello, Developer!")

@1998code
Copy link
Owner Author

Skip workflow as not available

@1998code 1998code merged commit 5e61be8 into main Jun 10, 2025
0 of 4 checks passed
@1998code 1998code deleted the 1.1 branch June 10, 2025 12:17
@benguild
Copy link

hi! out of curiosity, why does this require Swift 6? https://github.com/1998code/SwiftGlass/releases/tag/1.9.9

@1998code
Copy link
Owner Author

@benguild Hi, this issue has been resolved in the latest version :)

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.

3 participants