From cc92fb8a9fdc5758cd8be5df5f524d09c3321da5 Mon Sep 17 00:00:00 2001 From: Markus Emrich Date: Thu, 31 Aug 2023 22:07:51 +0200 Subject: [PATCH] fix docc references --- .../JDStatusBarNotification.md | 16 ++--- .../NotificationPresenter.md | 64 +++++++++---------- .../StatusBarNotificationStyle.md | 10 +-- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/JDStatusBarNotification.md b/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/JDStatusBarNotification.md index 0915fdd7..6c8d6294 100755 --- a/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/JDStatusBarNotification.md +++ b/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/JDStatusBarNotification.md @@ -14,14 +14,14 @@ Highly customizable & feature rich notifications displayed below the status bar. ### Notification Presenter -- ``JDStatusBarNotificationPresenter`` -- ``JDStatusBarNotificationPresenterCompletionBlock`` +- ``NotificationPresenter`` +- ``NotificationPresenterCompletion`` ### Notification Style -- ``JDStatusBarNotificationStyle`` -- ``JDStatusBarNotificationTextStyle`` -- ``JDStatusBarNotificationBackgroundStyle`` -- ``JDStatusBarNotificationPillStyle`` -- ``JDStatusBarNotificationProgressBarStyle`` -- ``JDStatusBarNotificationLeftViewStyle`` +- ``StatusBarNotificationStyle`` +- ``StatusBarNotificationTextStyle`` +- ``StatusBarNotificationBackgroundStyle`` +- ``StatusBarNotificationPillStyle`` +- ``StatusBarNotificationProgressBarStyle`` +- ``StatusBarNotificationLeftViewStyle`` diff --git a/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/NotificationPresenter.md b/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/NotificationPresenter.md index ab39e0e2..e42bf502 100644 --- a/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/NotificationPresenter.md +++ b/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/NotificationPresenter.md @@ -4,59 +4,59 @@ ### Retrieve the presenter -- ``sharedPresenter`` +- ``shared()`` ### Present a notification -- ``presentWithText:`` -- ``presentWithText:completion:`` -- ``presentWithTitle:subtitle:completion:`` -- ``presentWithText:dismissAfterDelay:`` +- ``present(text:)`` +- ``present(text:completion:)`` +- ``present(title:subtitle:completion:)`` +- ``present(text:dismissAfterDelay:)`` ### Present a notification (using a custom style) -- ``presentWithText:customStyle:`` -- ``presentWithText:customStyle:completion:`` -- ``presentWithTitle:subtitle:customStyle:completion:`` -- ``presentWithText:dismissAfterDelay:customStyle:`` +- ``present(text:customStyle:)`` +- ``present(text:customStyle:completion:)`` +- ``present(title:subtitle:customStyle:completion:)`` +- ``present(text:dismissAfterDelay:customStyle:)`` ### Present a notification (using an included style) -- ``JDStatusBarNotificationIncludedStyle`` -- ``presentWithText:includedStyle:`` -- ``presentWithText:includedStyle:completion:`` -- ``presentWithTitle:subtitle:includedStyle:completion:`` -- ``presentWithText:dismissAfterDelay:includedStyle:`` +- ``IncludedStatusBarNotificationStyle`` +- ``present(text:includedStyle:)`` +- ``present(text:includedStyle:completion:)`` +- ``present(title:subtitle:includedStyle:completion:)`` +- ``present(text:dismissAfterDelay:includedStyle:)`` ### Present a notification (using a custom view) -- ``presentWithCustomView:styleName:completion:`` +- ``present(customView:style:completion:)`` ### Dismiss a notification -- ``dismiss`` -- ``dismissWithCompletion:`` -- ``dismissAnimated:`` -- ``dismissAfterDelay:`` -- ``dismissAfterDelay:completion:`` +- ``dismiss()`` +- ``dismiss(completion:)`` +- ``dismiss(animated:)`` +- ``dismiss(afterDelay:)`` +- ``dismiss(afterDelay:completion:)`` ### Customize the style (Appearance & Behavior) -- ``updateDefaultStyle:`` -- ``addStyleNamed:prepare:`` -- ``addStyleNamed:basedOnStyle:prepare:`` -- ``JDStatusBarNotificationPresenterPrepareStyleBlock`` +- ``updateDefaultStyle(_:)`` +- ``addStyle(styleName:prepare:)`` +- ``addStyle(styleName:basedOnIncludedStyle:prepare:)`` +- ``NotificationPresenterPrepareStyleClosure`` ### Display supplementary views -- ``displayProgressBarWithPercentage:`` -- ``animateProgressBarToPercentage:animationDuration:completion:`` -- ``displayActivityIndicator:`` -- ``displayLeftView:`` +- ``displayProgressBar(percentage:)`` +- ``animateProgressBar(toPercentage:animationDuration:completion:)`` +- ``displayActivityIndicator(_:)`` +- ``displayLeftView(_:)`` ### Additional Presenter APIs -- ``updateText:`` -- ``updateSubtitle:`` -- ``isVisible`` -- ``setWindowScene:`` +- ``updateText(_:)`` +- ``updateSubtitle(_:)`` +- ``isVisible()`` +- ``setWindowScene(_:)`` diff --git a/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/StatusBarNotificationStyle.md b/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/StatusBarNotificationStyle.md index 3d2d4f78..b73ffd44 100644 --- a/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/StatusBarNotificationStyle.md +++ b/ExampleProject/JDStatusBarNotification/JDStatusBarNotification.docc/StatusBarNotificationStyle.md @@ -26,8 +26,8 @@ ### Style Enumerations -- ``JDStatusBarNotificationAnimationType`` -- ``JDStatusBarNotificationBackgroundType`` -- ``JDStatusBarNotificationSystemBarStyle`` -- ``JDStatusBarNotificationLeftViewAlignment`` -- ``JDStatusBarNotificationProgressBarPosition`` +- ``StatusBarNotificationAnimationType`` +- ``StatusBarNotificationBackgroundType`` +- ``StatusBarNotificationSystemBarStyle`` +- ``StatusBarNotificationLeftViewAlignment`` +- ``StatusBarNotificationProgressBarPosition``