Skip to content

Conversation

@NullIsOne
Copy link

What changed?

  • Replaced type of size CGSize -> CGFloat, because it is circle.
  • Disabled swizzle completelly if it is disabled.
  • Added logs (temporary)

Linked issues

#54

Motivation

Inspired by todos.

Notes

First of all struct Swizzled was in wrong scope. It tried to swizzle any time when UIWindow.layer was touched.
Also I've added unswizzle as mirrored operation triggered only correct Swizzled.once == true to completely disable it. It's important in production.

Logs are temporary.

@NullIsOne NullIsOne force-pushed the feature/production-safety branch from c841460 to 63d20d1 Compare September 5, 2024 08:39
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.

1 participant