Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp #27

Merged
merged 13 commits into from
Mar 20, 2024
Merged

Revamp #27

merged 13 commits into from
Mar 20, 2024

Conversation

joogps
Copy link
Owner

@joogps joogps commented Mar 20, 2024

This pull request fixes many long date issues with the SlideOverCard package, including:

✨ Now, the .slideOverCard(:_) modifier uses the SOCManager by default for presentation, meaning it can now present a card over the entire view hierarchy from any child view. To keep this package streamlined, the SOCManager class and the SlideOverCard view have been made private as they're no longer needed. Deprecated structs and initializers have also been removed.

🛠️ The presentation behavior in the SOCManager has also been improved substantially — now you can present cards over sheets, tab views and much more. Also, all animation issues were fixed.

👆Now, cards can be dismissed by an outside tap. To disable this behavior, just include .disableTapToDismiss in your SOCOptions.

📱 The default corner radius of the cards is now automatically calculated by the device's bezels' corner radius and the outerPadding parameter.

📁 The project's file structure has been revamped, and the README has been adjusted and streamlined.

🎆 There's also a new, shinier icon!


This pull request resolves #6, resolves #10, resolves #13, resolves #17, resolves #18, resolves #19 and resolves #23.

@joogps joogps merged commit 2569a9d into main Mar 20, 2024
@joogps joogps deleted the revamp branch March 20, 2024 20:32
@Mcrich23
Copy link

🥳

@joogps
Copy link
Owner Author

joogps commented Mar 20, 2024

🥳

better late than never haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants