From d1455c5e0f0dbd88792f7a34e028220d0578de57 Mon Sep 17 00:00:00 2001 From: Quan Tran Date: Sat, 10 Aug 2024 10:08:51 -0700 Subject: [PATCH 1/5] Update everything --- .../xcshareddata/xcschemes/ToastUI.xcscheme | 2 +- CHANGELOG.md | 31 +- Package.swift | 8 +- Sources/ToastUI/DefaultToastViewStyle.swift | 41 +- Sources/ToastUI/Introspection.swift | 74 --- .../ToastUI/ToastPresentationAnimator.swift | 112 ----- Sources/ToastUI/ToastUI.docc/About.md | 154 ++++--- .../ToastUI/ToastUI.docc/GettingStarted.md | 170 ++++--- Sources/ToastUI/ToastUI.docc/Info.plist | 2 +- Sources/ToastUI/ToastUI.docc/ToastUI.md | 23 +- Sources/ToastUI/ToastUI.docc/ToastUISample.md | 15 +- Sources/ToastUI/ToastUI.swift | 26 +- Sources/ToastUI/ToastView.swift | 23 +- Sources/ToastUI/ToastViewBridge.swift | 61 +++ Sources/ToastUI/ToastViewController.swift | 240 ++++++++++ .../ToastUI/ToastViewHostingController.swift | 23 +- Sources/ToastUI/ToastViewModifier.swift | 425 ------------------ Sources/ToastUI/ToastViewStyle.swift | 10 +- .../ToastUISample.xcodeproj/project.pbxproj | 27 +- .../xcschemes/ToastUISample-iOS.xcscheme | 2 +- .../xcschemes/ToastUISample-macOS.xcscheme | 2 +- .../xcschemes/ToastUISample-tvOS.xcscheme | 2 +- .../xcschemes/ToastUITests.xcscheme | 55 +++ .../ToastUISample/AdvancedExamples.swift | 12 +- ToastUISample/ToastUISample/Auxiliaries.swift | 14 +- .../ToastUISample/BasicExamples.swift | 8 +- toastui | 13 +- 27 files changed, 706 insertions(+), 869 deletions(-) delete mode 100644 Sources/ToastUI/Introspection.swift delete mode 100644 Sources/ToastUI/ToastPresentationAnimator.swift create mode 100644 Sources/ToastUI/ToastViewBridge.swift create mode 100644 Sources/ToastUI/ToastViewController.swift delete mode 100644 Sources/ToastUI/ToastViewModifier.swift create mode 100644 ToastUISample/ToastUISample.xcodeproj/xcshareddata/xcschemes/ToastUITests.xcscheme diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/ToastUI.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/ToastUI.xcscheme index 78e3973..1bedd2e 100644 --- a/.swiftpm/xcode/xcshareddata/xcschemes/ToastUI.xcscheme +++ b/.swiftpm/xcode/xcshareddata/xcschemes/ToastUI.xcscheme @@ -1,6 +1,6 @@ AnyView /// Creates a ``AnyToastViewStyle``. - init