Skip to content

3.1.0

Latest

Choose a tag to compare

@hotngui hotngui released this 29 Oct 15:38
cf6e147

What's changed

New

  • Color customization. ShapelyParentalGateStaticConfiguration has six new optional parameters: backgroundColor, titleColor, descriptionColor, countdownColor, targetFillColor, and targetOutlineColor. Each one takes a SwiftUI Color and defaults to nil, which keeps the original look. See "Matching your app's colors" in the README.

Fixes

  • The countdown no longer overlaps the target box. It's now aligned to the trailing edge instead of centered.

Example app

  • A new "Show Customized Gate" button shows the gate in a dark theme.
  • The example app now extracts its strings with the Swift compiler, so Xcode no longer marks its button titles as stale in the string catalog.

Testing

  • Added tests for the color defaults and overrides, including the target box colors read from the real SpriteKit scene. The suite is now 24 tests in 6 suites, clean under Thread Sanitizer.

Compatibility

  • This release only adds API, so existing code compiles unchanged. Requirements are unchanged: iOS 26+, Swift 6.2+, Xcode 26+.
  • from: "3.0.0" picks up 3.1.0 the next time you update packages.

Full changelog: 3.0.0...3.1.0