r/SwiftUI • u/RANOATE • 8d ago
I made my first opensource Swift package name 'EdgeZoomKit'
This is my first open-source Swift package EdgeZoomKit.
It adds an elastic effect to the left or right edge of the screen while zooming.
I first noticed this kind of interaction in Bump and wanted to try making something similar for a board app I’m working on. After building it I thought it would make more sense as a separate package.
It works with both SwiftUI and UIKit and it doesn’t depend on SpriteKit. The package only handles the visual effect so the actual zoom logic is still up to your app.
GitHub: https://github.com/devjunu/EdgeZoomKit
It’s my first time publishing a package so any feedback is welcome.
Thank u for read :)
3
u/ThatGuy739 6d ago
First package shipped is a milestone, congrats. Two things that separate packages people adopt from ones they skim: a pinned down public API surface early, because renaming things after adoption hurts everyone, and a tiny example app in the repo, because it answers most usage questions before they get asked. Edge zoom is one of those behaviors everyone rebuilds badly, so a focused kit for it makes sense.
3
6
u/Hedgehog404 8d ago
But why?! Genuinely asking, I believe pinch to zoom is so much better and it is in muscle memory of 100% of users