Skip to content

Releases: ryanlintott/LookingGlassUI

v0.4.2

08 Oct 19:24
Compare
Choose a tag to compare
  • Moved example app from another git repo to /Example inside this package.
  • Updated .gitignore

Full Changelog: 0.4.1...0.4.2

v0.4.1

26 Sep 19:18
Compare
Choose a tag to compare

Minor fixes to Swift 6 support and updates to documentation.
Full Changelog: 0.4.0...0.4.1

0.4.0

02 Aug 19:14
Compare
Choose a tag to compare

Updates:

  • Changed to swift tools version 5.9
  • Added support for swift 6 with strict concurrency
  • DeviceRotationEffectViewModifier no longer public as it shouldn't need to be with .deviceRotationEffect() available
  • ShimmerViewModifier inits changed so you can specify either a background Color or the BlendMode. Specifying both wouldn't make sense as you would be blending the combined color and background with the source view instead of just blending the shimmer color.
  • MotionManager init no longer public. Instead a .shared singleton is used to ensure the CMMotionManager property is only created once per app. The .motionManger() modifier should really be used to manage everything and should only be used once per app.
  • MotionManager no longer stops motion updates on deinit as it can't access the CoreMotion Manager off the main thread. It is instead done with stopMotionUpdates run in onDisappear inside the MotionManagerViewModifier.
  • Motion updates will stop when the app goes into the background and start again when the app comes back. This should reset the world axis each time making it easier for effects to be visible when coming back to an app.
  • Updated README

Bugfixes:

  • parallax() view modifier fixed so that maxOffset clamps correctly
  • All shimmer effects no longer affect VoiceOver accessibility frames. Previously shimmer effects might block access to elements.
  • ShimmerViewModifier blend mode was changed from .normal to .sourceAtop when using a background color as the source view shouldn't be blended at all when doing so would affect performance.

Full Changelog: 0.3.1...0.4.0

v0.3.1

19 Sep 20:07
3257e1b
Compare
Choose a tag to compare
  • Removed FirebladeMath dependency.
  • Added Quat (replacing Quat4f from FirebladeMath). It uses simd_quatd to store quaternion values and do quaternion math.
  • Quat init by angle uses SwiftUI Angle instead of Double storing radians.
  • Added typealias Vec3 for SIMD3 (replacing Vec3f from FirebladeMath)
  • Vec3 axis static types renamed from axisX to xAxis and so on.
  • Added normalized to Vec3
  • Made DeviceRotationEffectType conform to String, RawRepresentable, CaseIterable, Hashable, Equatable, and Identifiable by self.
  • Added QuaternionDataView to easily display quaternion data for debugging.
  • Added a few basic tests for Quat
  • Removed accessibilityHidden on ShimmerView. It will only show accessibility elements if one of the underlying elements is accessible.
  • Changed several properties in MotionManager to public in case others want to use them for custom effects.
  • Added documentation to MotionManager properties
  • Changed parallaxView so that the offset is zero if motion manager is no sending updates.

v0.2.0

23 Mar 21:09
Compare
Choose a tag to compare

Added .parallax() view modifier

v0.1.10

25 Jan 19:54
b6fd957
Compare
Choose a tag to compare

Updates:

  • Updated the readme, license and gitignore

Bugfixes:

  • Fixed an issue where ShimmerView and .shimmer would block touches and interfere with VoiceOver selection.

v0.1.7

05 Aug 01:08
Compare
Choose a tag to compare

Initial release. Although currently in use in one of my production apps it may not work perfectly in your use case.