From 64d24c088a554bdc9fdce1435a564778ce2fd880 Mon Sep 17 00:00:00 2001 From: MarcSteven <137871653@qq.com> Date: Fri, 3 Nov 2023 15:39:17 +0800 Subject: [PATCH] add MD5 hash to convert a string --- ...CollectionViewFlowLayoutCustomizable.swift | 2 +- .../Sources/Anchor/Anchor+Attribute.swift | 2 +- MemoryChainKit/Sources/Anchor/Anchor.swift | 2 +- .../Sources/Anchor/SafeAreaGuideOption.swift | 2 +- .../Sources/Anchor/UIView+Anchor.swift | 2 +- MemoryChainKit/Sources/AnimationRunloop.swift | 2 +- .../Sources/Animator/FadeAnimator.swift | 2 +- .../Sources/Animator/TransitionContext.swift | 2 +- .../Sources/BaseView/BaseViewController.swift | 2 +- .../BaseView/MCScrollViewController.swift | 2 +- .../Sources/BaseView/MCToolBar.swift | 2 +- .../Sources/Constants/AppConstants.swift | 2 +- .../Sources/Converter/Currency/Currency.swift | 2 +- .../Currency/CurrencyConverter.swift | 2 +- .../Sources/Converter/StringConverter.swift | 2 +- .../Sources/Coordinator/Coordinator.swift | 2 +- .../Coordinator/NavigationCoordinator.swift | 2 +- .../Sources/Coordinator/NavigationType.swift | 2 +- .../Sources/Coordinator/Navigator.swift | 2 +- .../Coordinator/PresentationCoordinator.swift | 2 +- .../DataSource/MCTableViewDataSource.swift | 2 +- .../Sources/Debugging/Console.swift | 2 +- .../Sources/Debugging/FatalReason.swift | 4 +- .../Sources/Environment/Environment.swift | 2 +- MemoryChainKit/Sources/EventBus/Event.swift | 2 +- .../Sources/EventBus/EventBus.swift | 2 +- .../Sources/EventBus/EventHandler.swift | 2 +- MemoryChainKit/Sources/EventBus/Logger.swift | 2 +- .../AVAssertExportSessionExtension.swift | 2 +- .../AVFoundation/AVAssetExtension.swift | 2 +- .../AVAudioOutputDeviceManager.swift | 2 +- .../AVAudioSessionExtension.swift | 2 +- ...AudioSessionPortDescriptionExtension.swift | 2 +- .../AVCaptureDeviceExtension.swift | 2 +- .../CoreGraphics/CGContextExtension.swift | 2 +- .../Foudantion/AppDelegateExtension.swift | 2 +- .../Foudantion/Array+binarySearch.swift | 2 +- .../Extensions/Foudantion/BoolExtension.swift | 2 +- .../Foudantion/BundleExtension.swift | 2 +- .../Extensions/Foudantion/CALayer+Color.swift | 2 +- .../CAMediaTimingFunction+Properties.swift | 2 +- .../Foudantion/CAtranscationExtension.swift | 2 +- .../Foudantion/CGColorExtension.swift | 2 +- .../Foudantion/CGFloatExtension.swift | 2 +- .../Extensions/Foudantion/CGRect+Layout.swift | 2 +- .../Foudantion/CGSizeExtension.swift | 2 +- .../CharacterSet+URLQueryParameters.swift | 2 +- .../Foudantion/ClosedRangeExtension.swift | 2 +- .../Foudantion/CollectionExtension.swift | 2 +- .../Extensions/Foudantion/DataExtension.swift | 57 +++++++++++++++++++ .../Foudantion/DispatchQueueExtension.swift | 2 +- .../Foudantion/EncodableExtension.swift | 2 +- .../Foudantion/IndexPathExtension.swift | 2 +- .../Foudantion/LocaleExtension.swift | 2 +- .../Foudantion/MSOperationSafeGuard.swift | 2 +- .../NSAttributedStringExtension.swift | 2 +- .../Foudantion/NSDateExtension.swift | 2 +- .../Foudantion/NSObjectExtension.swift | 2 +- .../NSRegularExpressionExtension.swift | 2 +- .../NotificationCenterExtension.swift | 2 +- .../Foudantion/OptionalExtension.swift | 2 +- .../Foudantion/ProcessInfoExtension.swift | 2 +- .../Foudantion/String+hasText.swift | 2 +- .../Foudantion/StringExtension.swift | 45 +++++++++++++++ .../Foudantion/TimeInterval+HasPassed.swift | 2 +- .../Foudantion/TimeIntervalExtension.swift | 2 +- .../Foudantion/TimeZone+Identifier.swift | 2 +- .../Foudantion/UIEdgeInsetsExtension.swift | 2 +- .../Extensions/Foudantion/URLExtension.swift | 2 +- .../Foudantion/UserDefaultsExtension.swift | 2 +- .../Extensions/UIKit/CALayerExtension.swift | 2 +- .../UIKit/NSLayoutAnchorExtension.swift | 2 +- .../Extensions/UIKit/PublisherExtension.swift | 2 +- .../UIKit/UIApplicationExtension.swift | 2 +- .../UIKit/UIBarButtonItemExtension.swift | 2 +- .../Extensions/UIKit/UIControl+Closure.swift | 2 +- .../Extensions/UIKit/UIFont+Loader.swift | 2 +- .../UIKit/UIGestureRecognizer+Closure.swift | 2 +- .../UIKit/UINavigationBar+Style.swift | 2 +- .../UINavigationControllerExtension.swift | 2 +- .../Extensions/UIKit/UIPressExtension.swift | 2 +- .../UIKit/UIRectCornerExtension.swift | 2 +- .../UIKit/UIRefreshControlExtension.swift | 2 +- .../UIKit/UIResponderExtension.swift | 2 +- .../UIKit/UISegmentedControlExtension.swift | 2 +- .../UIKit/UITabBarControllerExtension.swift | 2 +- .../Extensions/UIKit/UITabBarExtension.swift | 2 +- .../UIKit/UITextViewExtension.swift | 2 +- .../UIKit/UIViewController+ObjcWakeable.swift | 2 +- .../Extensions/UIKit/UIViewExtension.swift | 2 +- .../UIKit/UIVisualEffectExtension.swift | 2 +- .../Extensions/UIKit/UIWindowExtension.swift | 2 +- .../UIKit/WKWebsiteDataStoreExtension.swift | 2 +- .../WebKit/WKWebViewExtension.swift | 2 +- MemoryChainKit/Sources/Helper/Crypto.swift | 2 +- .../Sources/Helper/GlobalFunc.swift | 2 +- MemoryChainKit/Sources/Helper/Handler.swift | 2 +- .../Sources/Helper/Identifier.swift | 2 +- MemoryChainKit/Sources/Helper/JSONUtils.swift | 2 +- .../Helper/KeyValueObservationInfo.swift | 2 +- .../Sources/Helper/LocalAtomic.swift | 2 +- .../LocationService/LocationService.swift | 2 +- .../Sources/Helper/MCUIHelper.swift | 2 +- .../Sources/Helper/QueueDispatcher.swift | 2 +- .../Sources/Helper/SwizzleManager.swift | 2 +- .../Sources/Helper/UserDefault.swift | 2 +- .../Sources/Helper/ValidRules.swift | 2 +- MemoryChainKit/Sources/JSON/Decoding.swift | 2 +- MemoryChainKit/Sources/JSON/JSON.swift | 2 +- .../JSON/JSONDeserializableError.swift | 2 +- .../EqualSpaceCollectionViewFlowLayout.swift | 2 +- .../LeftAlignCollectionViewFlowLayout.swift | 2 +- .../Localization/LocalizationManager.swift | 2 +- .../Networking/Error/MemoryChainError.swift | 2 +- .../Networking/Error/NetworkError.swift | 2 +- .../Networking/HTTPConfiguration.swift | 2 +- .../Sources/Networking/HTTPMethod.swift | 2 +- .../Sources/Networking/MultipartForm.swift | 2 +- .../Networking/ParameterEncoding.swift | 2 +- .../Sources/Networking/Request.swift | 2 +- .../Networking/Responses/Response.swift | 2 +- .../Sources/Networking/Result.swift | 2 +- MemoryChainKit/Sources/Networking/Route.swift | 2 +- .../Sources/Networking/SessionManager.swift | 2 +- .../Sources/Protocols/Colorable.swift | 2 +- .../Sources/Protocols/Configurable.swift | 2 +- .../Sources/Protocols/DimmableLayout.swift | 2 +- .../Protocols/EquatableByPointer.swift | 2 +- .../ExtensibleAsslckatedObject.swift | 2 +- .../Sources/Protocols/Flashing.swift | 2 +- .../Protocols/ImageTitleDisplayable.swift | 2 +- .../InitializableByEmptyConstructor.swift | 2 +- .../Sources/Protocols/ObjcWakeable.swift | 2 +- .../Sources/Protocols/ObstructableView.swift | 2 +- .../Protocols/PresentationContext.swift | 2 +- .../Sources/Protocols/PropertyStoring.swift | 2 +- MemoryChainKit/Sources/Protocols/Pulse.swift | 2 +- .../Protocols/SceneCoordinatorType.swift | 2 +- .../Protocols/SceneTransitionType.swift | 2 +- .../Sources/Protocols/TargetScene.swift | 2 +- .../Sources/Protocols/Updatable.swift | 2 +- .../Sources/Protocols/ViewMaskable.swift | 2 +- MemoryChainKit/Sources/Protocols/ZoomIn.swift | 2 +- .../Sources/Protocols/ZoomOut.swift | 2 +- .../Sources/Queue/ExecutableQueue.swift | 2 +- .../Sources/Queue/ExecutableQueueMode.swift | 2 +- MemoryChainKit/Sources/Queue/Queue.swift | 2 +- .../Sources/Queue/QueueQuality.swift | 2 +- MemoryChainKit/Sources/Queue/QueueType.swift | 2 +- .../Sources/Reachability/Reachability.swift | 2 +- MemoryChainKit/Sources/Store/Cache/Box.swift | 2 +- .../Sources/Store/Cache/Cacheable.swift | 2 +- .../Store/ImageCache/LocalImageCache.swift | 2 +- .../Sources/Store/UserDefaultStore.swift | 2 +- .../UI Component/Analytics/Analytics.swift | 2 +- .../Analytics/AnalyticsEvent.swift | 2 +- .../Analytics/AnalyticsProvider.swift | 2 +- .../Analytics/LogAnalyticsProvider.swift | 2 +- .../Sources/UI Component/CellOptions.swift | 2 +- .../MarkDown/MarkdownKit+MushParser.swift | 2 +- .../UI Component/MulticastDelegate.swift | 2 +- .../StylableNavigationController.swift | 2 +- .../UI Component/TabBar/CardTabBar.swift | 2 +- .../TabBar/CardTabBarController.swift | 2 +- .../UI Component/TabBar/IndicatorView.swift | 2 +- .../UI Component/TabBar/MCTabBarButton.swift | 2 +- .../UITableView/UITableView+Reusable.swift | 2 +- .../UITableView/UITableViewCellBuilder.swift | 2 +- .../Sources/UI Component/Weak.swift | 2 +- .../Utils/BindableTapGestureRecognizer.swift | 2 +- .../Sources/Utils/CallbackQueue.swift | 2 +- .../Sources/Validator/Validator.swift | 2 +- MemoryChainKit/SupportFiles/MemoryChainKit.h | 2 +- MemoryChainKitTests/MemoryChainKitTests.swift | 2 +- 174 files changed, 275 insertions(+), 173 deletions(-) diff --git a/MemoryChainKit/Sources/Adapter/MCCollectionViewFlowLayoutCustomizable.swift b/MemoryChainKit/Sources/Adapter/MCCollectionViewFlowLayoutCustomizable.swift index 0ebe836..67a1a2a 100644 --- a/MemoryChainKit/Sources/Adapter/MCCollectionViewFlowLayoutCustomizable.swift +++ b/MemoryChainKit/Sources/Adapter/MCCollectionViewFlowLayoutCustomizable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Anchor/Anchor+Attribute.swift b/MemoryChainKit/Sources/Anchor/Anchor+Attribute.swift index c17a9a4..76c0d7b 100644 --- a/MemoryChainKit/Sources/Anchor/Anchor+Attribute.swift +++ b/MemoryChainKit/Sources/Anchor/Anchor+Attribute.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Anchor/Anchor.swift b/MemoryChainKit/Sources/Anchor/Anchor.swift index 021505b..e7d2d5a 100644 --- a/MemoryChainKit/Sources/Anchor/Anchor.swift +++ b/MemoryChainKit/Sources/Anchor/Anchor.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Anchor/SafeAreaGuideOption.swift b/MemoryChainKit/Sources/Anchor/SafeAreaGuideOption.swift index d1ec264..7ec07d5 100644 --- a/MemoryChainKit/Sources/Anchor/SafeAreaGuideOption.swift +++ b/MemoryChainKit/Sources/Anchor/SafeAreaGuideOption.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Anchor/UIView+Anchor.swift b/MemoryChainKit/Sources/Anchor/UIView+Anchor.swift index a30e236..2e7e77d 100644 --- a/MemoryChainKit/Sources/Anchor/UIView+Anchor.swift +++ b/MemoryChainKit/Sources/Anchor/UIView+Anchor.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/AnimationRunloop.swift b/MemoryChainKit/Sources/AnimationRunloop.swift index daeb617..3ff6ac2 100644 --- a/MemoryChainKit/Sources/AnimationRunloop.swift +++ b/MemoryChainKit/Sources/AnimationRunloop.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Animator/FadeAnimator.swift b/MemoryChainKit/Sources/Animator/FadeAnimator.swift index eafe0b0..4598916 100644 --- a/MemoryChainKit/Sources/Animator/FadeAnimator.swift +++ b/MemoryChainKit/Sources/Animator/FadeAnimator.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Animator/TransitionContext.swift b/MemoryChainKit/Sources/Animator/TransitionContext.swift index 0c52764..3409bc9 100644 --- a/MemoryChainKit/Sources/Animator/TransitionContext.swift +++ b/MemoryChainKit/Sources/Animator/TransitionContext.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/BaseView/BaseViewController.swift b/MemoryChainKit/Sources/BaseView/BaseViewController.swift index 2f2186b..753bddd 100644 --- a/MemoryChainKit/Sources/BaseView/BaseViewController.swift +++ b/MemoryChainKit/Sources/BaseView/BaseViewController.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/BaseView/MCScrollViewController.swift b/MemoryChainKit/Sources/BaseView/MCScrollViewController.swift index c6b6810..63fbdd7 100644 --- a/MemoryChainKit/Sources/BaseView/MCScrollViewController.swift +++ b/MemoryChainKit/Sources/BaseView/MCScrollViewController.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/26. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/BaseView/MCToolBar.swift b/MemoryChainKit/Sources/BaseView/MCToolBar.swift index e1d4973..e424613 100644 --- a/MemoryChainKit/Sources/BaseView/MCToolBar.swift +++ b/MemoryChainKit/Sources/BaseView/MCToolBar.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/26. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Constants/AppConstants.swift b/MemoryChainKit/Sources/Constants/AppConstants.swift index d2f484e..92fdba2 100644 --- a/MemoryChainKit/Sources/Constants/AppConstants.swift +++ b/MemoryChainKit/Sources/Constants/AppConstants.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Converter/Currency/Currency.swift b/MemoryChainKit/Sources/Converter/Currency/Currency.swift index 75a8540..2d82ef9 100644 --- a/MemoryChainKit/Sources/Converter/Currency/Currency.swift +++ b/MemoryChainKit/Sources/Converter/Currency/Currency.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/11/27. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Converter/Currency/CurrencyConverter.swift b/MemoryChainKit/Sources/Converter/Currency/CurrencyConverter.swift index 72b68d2..60bed25 100644 --- a/MemoryChainKit/Sources/Converter/Currency/CurrencyConverter.swift +++ b/MemoryChainKit/Sources/Converter/Currency/CurrencyConverter.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/11/27. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Converter/StringConverter.swift b/MemoryChainKit/Sources/Converter/StringConverter.swift index 24a3b62..eb65c24 100644 --- a/MemoryChainKit/Sources/Converter/StringConverter.swift +++ b/MemoryChainKit/Sources/Converter/StringConverter.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Coordinator/Coordinator.swift b/MemoryChainKit/Sources/Coordinator/Coordinator.swift index 5b69982..cb2238d 100644 --- a/MemoryChainKit/Sources/Coordinator/Coordinator.swift +++ b/MemoryChainKit/Sources/Coordinator/Coordinator.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Coordinator/NavigationCoordinator.swift b/MemoryChainKit/Sources/Coordinator/NavigationCoordinator.swift index b6d1440..bb5a7d5 100644 --- a/MemoryChainKit/Sources/Coordinator/NavigationCoordinator.swift +++ b/MemoryChainKit/Sources/Coordinator/NavigationCoordinator.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Coordinator/NavigationType.swift b/MemoryChainKit/Sources/Coordinator/NavigationType.swift index 936e6a2..45cf729 100644 --- a/MemoryChainKit/Sources/Coordinator/NavigationType.swift +++ b/MemoryChainKit/Sources/Coordinator/NavigationType.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Coordinator/Navigator.swift b/MemoryChainKit/Sources/Coordinator/Navigator.swift index 5942d03..c76a1e7 100644 --- a/MemoryChainKit/Sources/Coordinator/Navigator.swift +++ b/MemoryChainKit/Sources/Coordinator/Navigator.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Coordinator/PresentationCoordinator.swift b/MemoryChainKit/Sources/Coordinator/PresentationCoordinator.swift index be029da..e385e25 100644 --- a/MemoryChainKit/Sources/Coordinator/PresentationCoordinator.swift +++ b/MemoryChainKit/Sources/Coordinator/PresentationCoordinator.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/DataSource/MCTableViewDataSource.swift b/MemoryChainKit/Sources/DataSource/MCTableViewDataSource.swift index a88f6af..6e3b23a 100644 --- a/MemoryChainKit/Sources/DataSource/MCTableViewDataSource.swift +++ b/MemoryChainKit/Sources/DataSource/MCTableViewDataSource.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Debugging/Console.swift b/MemoryChainKit/Sources/Debugging/Console.swift index 07ec453..7624271 100644 --- a/MemoryChainKit/Sources/Debugging/Console.swift +++ b/MemoryChainKit/Sources/Debugging/Console.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // final public class Console { diff --git a/MemoryChainKit/Sources/Debugging/FatalReason.swift b/MemoryChainKit/Sources/Debugging/FatalReason.swift index 7124a2b..06e2f57 100644 --- a/MemoryChainKit/Sources/Debugging/FatalReason.swift +++ b/MemoryChainKit/Sources/Debugging/FatalReason.swift @@ -3,12 +3,12 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation -// See: https://github.com/apple/swift-evolution/pull/861/files +// See: .com/apple/swift-evolution/pull/861/files /// Reasons why code should abort at runtime public struct FatalReason: CustomStringConvertible { diff --git a/MemoryChainKit/Sources/Environment/Environment.swift b/MemoryChainKit/Sources/Environment/Environment.swift index a2cf0d6..373d29f 100644 --- a/MemoryChainKit/Sources/Environment/Environment.swift +++ b/MemoryChainKit/Sources/Environment/Environment.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/EventBus/Event.swift b/MemoryChainKit/Sources/EventBus/Event.swift index 2f2e368..3affe53 100644 --- a/MemoryChainKit/Sources/EventBus/Event.swift +++ b/MemoryChainKit/Sources/EventBus/Event.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/EventBus/EventBus.swift b/MemoryChainKit/Sources/EventBus/EventBus.swift index 9ef7be6..f8f4431 100644 --- a/MemoryChainKit/Sources/EventBus/EventBus.swift +++ b/MemoryChainKit/Sources/EventBus/EventBus.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/EventBus/EventHandler.swift b/MemoryChainKit/Sources/EventBus/EventHandler.swift index ed28b6e..4244ad7 100644 --- a/MemoryChainKit/Sources/EventBus/EventHandler.swift +++ b/MemoryChainKit/Sources/EventBus/EventHandler.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/EventBus/Logger.swift b/MemoryChainKit/Sources/EventBus/Logger.swift index 9b4f07e..1f7f9ae 100644 --- a/MemoryChainKit/Sources/EventBus/Logger.swift +++ b/MemoryChainKit/Sources/EventBus/Logger.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssertExportSessionExtension.swift b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssertExportSessionExtension.swift index bce7da0..fbfa0f1 100644 --- a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssertExportSessionExtension.swift +++ b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssertExportSessionExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import AVFoundation diff --git a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssetExtension.swift b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssetExtension.swift index a84ceb2..f9010cf 100644 --- a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssetExtension.swift +++ b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAssetExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import AVFoundation diff --git a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioOutputDeviceManager.swift b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioOutputDeviceManager.swift index c28ca9c..938df70 100644 --- a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioOutputDeviceManager.swift +++ b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioOutputDeviceManager.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionExtension.swift b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionExtension.swift index 489752b..37f1538 100644 --- a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionExtension.swift +++ b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionPortDescriptionExtension.swift b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionPortDescriptionExtension.swift index a65f1ca..d7ecf7f 100644 --- a/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionPortDescriptionExtension.swift +++ b/MemoryChainKit/Sources/Extensions/AVFoundation/AVAudioSessionPortDescriptionExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/AVFoundation/AVCaptureDeviceExtension.swift b/MemoryChainKit/Sources/Extensions/AVFoundation/AVCaptureDeviceExtension.swift index 06b9980..a23f443 100644 --- a/MemoryChainKit/Sources/Extensions/AVFoundation/AVCaptureDeviceExtension.swift +++ b/MemoryChainKit/Sources/Extensions/AVFoundation/AVCaptureDeviceExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import AVFoundation diff --git a/MemoryChainKit/Sources/Extensions/CoreGraphics/CGContextExtension.swift b/MemoryChainKit/Sources/Extensions/CoreGraphics/CGContextExtension.swift index f6fe1d7..87fdbb1 100644 --- a/MemoryChainKit/Sources/Extensions/CoreGraphics/CGContextExtension.swift +++ b/MemoryChainKit/Sources/Extensions/CoreGraphics/CGContextExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/AppDelegateExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/AppDelegateExtension.swift index e7d5278..4bd4ecc 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/AppDelegateExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/AppDelegateExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/Array+binarySearch.swift b/MemoryChainKit/Sources/Extensions/Foudantion/Array+binarySearch.swift index 31afa04..20ba5e9 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/Array+binarySearch.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/Array+binarySearch.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/BoolExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/BoolExtension.swift index f3170e2..5718857 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/BoolExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/BoolExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/9. -// Copyright © 2020 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2020 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/BundleExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/BundleExtension.swift index f162192..7bb8fef 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/BundleExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/BundleExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/7. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CALayer+Color.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CALayer+Color.swift index 24216a7..c961b63 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CALayer+Color.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CALayer+Color.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CAMediaTimingFunction+Properties.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CAMediaTimingFunction+Properties.swift index db3c3e2..9cf68e3 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CAMediaTimingFunction+Properties.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CAMediaTimingFunction+Properties.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import QuartzCore diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CAtranscationExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CAtranscationExtension.swift index 4575c53..81d6448 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CAtranscationExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CAtranscationExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import QuartzCore diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CGColorExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CGColorExtension.swift index f3d3445..9d27433 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CGColorExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CGColorExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CGFloatExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CGFloatExtension.swift index 635cab0..c1d1d54 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CGFloatExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CGFloatExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CGRect+Layout.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CGRect+Layout.swift index 7e55543..92eb774 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CGRect+Layout.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CGRect+Layout.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CGSizeExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CGSizeExtension.swift index db17857..7e9726a 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CGSizeExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CGSizeExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CharacterSet+URLQueryParameters.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CharacterSet+URLQueryParameters.swift index b93bf58..3c6505b 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CharacterSet+URLQueryParameters.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CharacterSet+URLQueryParameters.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/ClosedRangeExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/ClosedRangeExtension.swift index b208768..623e947 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/ClosedRangeExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/ClosedRangeExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/23. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/CollectionExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/CollectionExtension.swift index d0f8fab..cc71d52 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/CollectionExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/CollectionExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/9. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/DataExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/DataExtension.swift index 804054d..2b52508 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/DataExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/DataExtension.swift @@ -7,6 +7,7 @@ // import Foundation +import CommonCrypto public extension Data { var rawBytes: [UInt8] { @@ -112,3 +113,59 @@ public extension Data { return "" } } +public extension Data { + + /// Hashing algorithm that prepends an RSA2048ASN1Header to the beginning of the data being hashed. + /// + /// - Parameters: + /// - type: The type of hash algorithm to use for the hashing operation. + /// - output: The type of output string desired. + /// - Returns: A hash string using the specified hashing algorithm, or nil. + func hashWithRSA2048Asn1Header(_ type: HashType, output: HashOutputType = .hex) -> String? { + + let rsa2048Asn1Header:[UInt8] = [ + 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, + 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00 + ] + + var headerData = Data(rsa2048Asn1Header) + headerData.append(self) + + return hashed(type, output: output) + } + + /// Hashing algorithm for hashing a Data instance. + /// + /// - Parameters: + /// - type: The type of hash to use. + /// - output: The type of hash output desired, defaults to .hex. + /// - Returns: The requested hash output or nil if failure. + func hashed(_ type: HashType, output: HashOutputType = .hex) -> String? { + + // setup data variable to hold hashed value + var digest = Data(count: Int(type.length)) + + _ = digest.withUnsafeMutableBytes{ digestBytes -> UInt8 in + self.withUnsafeBytes { messageBytes -> UInt8 in + if let mb = messageBytes.baseAddress, let db = digestBytes.bindMemory(to: UInt8.self).baseAddress { + let length = CC_LONG(self.count) + switch type { + case .md5: CC_MD5(mb, length, db) + case .sha1: CC_SHA1(mb, length, db) + case .sha224: CC_SHA224(mb, length, db) + case .sha256: CC_SHA256(mb, length, db) + case .sha384: CC_SHA384(mb, length, db) + case .sha512: CC_SHA512(mb, length, db) + } + } + return 0 + } + } + + // return the value based on the specified output type. + switch output { + case .hex: return digest.map { String(format: "%02hhx", $0) }.joined() + case .base64: return digest.base64EncodedString() + } + } +} diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/DispatchQueueExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/DispatchQueueExtension.swift index f8d02e6..9171fc6 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/DispatchQueueExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/DispatchQueueExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/12. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/EncodableExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/EncodableExtension.swift index 3d97fae..504299a 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/EncodableExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/EncodableExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/12/22. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/IndexPathExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/IndexPathExtension.swift index c5cf241..7bc8e55 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/IndexPathExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/IndexPathExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/LocaleExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/LocaleExtension.swift index 0a7edca..9cc3fe2 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/LocaleExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/LocaleExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/11/29. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/MSOperationSafeGuard.swift b/MemoryChainKit/Sources/Extensions/Foudantion/MSOperationSafeGuard.swift index 1df7305..b16a6ee 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/MSOperationSafeGuard.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/MSOperationSafeGuard.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/NSAttributedStringExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/NSAttributedStringExtension.swift index 36ab6b7..85aa38c 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/NSAttributedStringExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/NSAttributedStringExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/NSDateExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/NSDateExtension.swift index 442a64f..3b2d9c9 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/NSDateExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/NSDateExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/11/29. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/NSObjectExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/NSObjectExtension.swift index 258fec4..af11432 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/NSObjectExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/NSObjectExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/10. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/NSRegularExpressionExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/NSRegularExpressionExtension.swift index 30eb584..4292276 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/NSRegularExpressionExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/NSRegularExpressionExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/29. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/NotificationCenterExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/NotificationCenterExtension.swift index d5c35ae..71a0c1d 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/NotificationCenterExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/NotificationCenterExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/OptionalExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/OptionalExtension.swift index 7f3aee8..7ee6dce 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/OptionalExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/OptionalExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/14. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/ProcessInfoExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/ProcessInfoExtension.swift index 27c552b..2ee7a5d 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/ProcessInfoExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/ProcessInfoExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/String+hasText.swift b/MemoryChainKit/Sources/Extensions/Foudantion/String+hasText.swift index df01607..39ed629 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/String+hasText.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/String+hasText.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/12. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/StringExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/StringExtension.swift index 4287921..62ae0e4 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/StringExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/StringExtension.swift @@ -9,6 +9,7 @@ import Foundation import UIKit import CoreLocation +import CommonCrypto //MARK: - is Valid email public extension String { var asCoordinates: CLLocationCoordinate2D? { @@ -787,3 +788,47 @@ public extension String { } } +// Defines types of hash string outputs available +public enum HashOutputType { + // standard hex string output + case hex + // base 64 encoded string output + case base64 +} + +// Defines types of hash algorithms available +public enum HashType { + case md5 + case sha1 + case sha224 + case sha256 + case sha384 + case sha512 + + var length: Int32 { + switch self { + case .md5: return CC_MD5_DIGEST_LENGTH + case .sha1: return CC_SHA1_DIGEST_LENGTH + case .sha224: return CC_SHA224_DIGEST_LENGTH + case .sha256: return CC_SHA256_DIGEST_LENGTH + case .sha384: return CC_SHA384_DIGEST_LENGTH + case .sha512: return CC_SHA512_DIGEST_LENGTH + } + } +} + +public extension String { + + /// Hashing algorithm for hashing a string instance. + /// + /// - Parameters: + /// - type: The type of hash to use. + /// - output: The type of output desired, defaults to .hex. + /// - Returns: The requested hash output or nil if failure. + public func hashed(_ type: HashType, output: HashOutputType = .hex) -> String? { + + // convert string to utf8 encoded data + guard let message = data(using: .utf8) else { return nil } + return message.hashed(type, output: output) + } +} diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/TimeInterval+HasPassed.swift b/MemoryChainKit/Sources/Extensions/Foudantion/TimeInterval+HasPassed.swift index fecb678..1a98c3e 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/TimeInterval+HasPassed.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/TimeInterval+HasPassed.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/TimeIntervalExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/TimeIntervalExtension.swift index 2148621..7c77a81 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/TimeIntervalExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/TimeIntervalExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/10. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/TimeZone+Identifier.swift b/MemoryChainKit/Sources/Extensions/Foudantion/TimeZone+Identifier.swift index e408038..dc9590d 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/TimeZone+Identifier.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/TimeZone+Identifier.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/UIEdgeInsetsExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/UIEdgeInsetsExtension.swift index 635c05d..eb8a0f5 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/UIEdgeInsetsExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/UIEdgeInsetsExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/URLExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/URLExtension.swift index 77bd049..9d33742 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/URLExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/URLExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/9. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Extensions/Foudantion/UserDefaultsExtension.swift b/MemoryChainKit/Sources/Extensions/Foudantion/UserDefaultsExtension.swift index 21fec8d..ed449c5 100644 --- a/MemoryChainKit/Sources/Extensions/Foudantion/UserDefaultsExtension.swift +++ b/MemoryChainKit/Sources/Extensions/Foudantion/UserDefaultsExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/7. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/CALayerExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/CALayerExtension.swift index a990e9e..c3782bf 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/CALayerExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/CALayerExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/12. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/NSLayoutAnchorExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/NSLayoutAnchorExtension.swift index b3d7b4e..58cd50d 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/NSLayoutAnchorExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/NSLayoutAnchorExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/PublisherExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/PublisherExtension.swift index aa4feba..64f0507 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/PublisherExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/PublisherExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/12/22. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIApplicationExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIApplicationExtension.swift index a835c85..ecb63af 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIApplicationExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIApplicationExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/9. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIBarButtonItemExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIBarButtonItemExtension.swift index 7ff25b2..03050cb 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIBarButtonItemExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIBarButtonItemExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIControl+Closure.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIControl+Closure.swift index f2982f7..1a05107 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIControl+Closure.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIControl+Closure.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIFont+Loader.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIFont+Loader.swift index 927ceda..1beac77 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIFont+Loader.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIFont+Loader.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/9. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIGestureRecognizer+Closure.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIGestureRecognizer+Closure.swift index 3e8f472..94a5437 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIGestureRecognizer+Closure.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIGestureRecognizer+Closure.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UINavigationBar+Style.swift b/MemoryChainKit/Sources/Extensions/UIKit/UINavigationBar+Style.swift index d550398..b9e666e 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UINavigationBar+Style.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UINavigationBar+Style.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UINavigationControllerExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UINavigationControllerExtension.swift index 4e0c911..35aa136 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UINavigationControllerExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UINavigationControllerExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIPressExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIPressExtension.swift index 38dea85..fe48f75 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIPressExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIPressExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/12/22. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIRectCornerExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIRectCornerExtension.swift index 7aaae25..9677b8a 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIRectCornerExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIRectCornerExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIRefreshControlExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIRefreshControlExtension.swift index 7d29237..c836a6f 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIRefreshControlExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIRefreshControlExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/9. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIResponderExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIResponderExtension.swift index a1add11..e2f9cce 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIResponderExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIResponderExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/10. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UISegmentedControlExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UISegmentedControlExtension.swift index dcc23ee..fb7906c 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UISegmentedControlExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UISegmentedControlExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/9. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UITabBarControllerExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UITabBarControllerExtension.swift index 36e796b..4c41d77 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UITabBarControllerExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UITabBarControllerExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UITabBarExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UITabBarExtension.swift index 72dc23f..b00f8e2 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UITabBarExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UITabBarExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UITextViewExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UITextViewExtension.swift index d391084..7b61bae 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UITextViewExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UITextViewExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/12. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIViewController+ObjcWakeable.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIViewController+ObjcWakeable.swift index 317416d..b744888 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIViewController+ObjcWakeable.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIViewController+ObjcWakeable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/8. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIViewExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIViewExtension.swift index 7f80728..6bb2278 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIViewExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIViewExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIVisualEffectExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIVisualEffectExtension.swift index dc8f234..1f8f7df 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIVisualEffectExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIVisualEffectExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/9. -// Copyright © 2020 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2020 Marc Steven(https://.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/UIWindowExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/UIWindowExtension.swift index c964604..9e29c6f 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/UIWindowExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/UIWindowExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Extensions/UIKit/WKWebsiteDataStoreExtension.swift b/MemoryChainKit/Sources/Extensions/UIKit/WKWebsiteDataStoreExtension.swift index 22385d5..dfe5ef4 100644 --- a/MemoryChainKit/Sources/Extensions/UIKit/WKWebsiteDataStoreExtension.swift +++ b/MemoryChainKit/Sources/Extensions/UIKit/WKWebsiteDataStoreExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import WebKit diff --git a/MemoryChainKit/Sources/Extensions/WebKit/WKWebViewExtension.swift b/MemoryChainKit/Sources/Extensions/WebKit/WKWebViewExtension.swift index 71e6648..9c67e4d 100644 --- a/MemoryChainKit/Sources/Extensions/WebKit/WKWebViewExtension.swift +++ b/MemoryChainKit/Sources/Extensions/WebKit/WKWebViewExtension.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/29. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/Crypto.swift b/MemoryChainKit/Sources/Helper/Crypto.swift index f82f8d8..bbf6067 100644 --- a/MemoryChainKit/Sources/Helper/Crypto.swift +++ b/MemoryChainKit/Sources/Helper/Crypto.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/3. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Helper/GlobalFunc.swift b/MemoryChainKit/Sources/Helper/GlobalFunc.swift index 88bf7ba..351a49c 100644 --- a/MemoryChainKit/Sources/Helper/GlobalFunc.swift +++ b/MemoryChainKit/Sources/Helper/GlobalFunc.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/8. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/Handler.swift b/MemoryChainKit/Sources/Helper/Handler.swift index afea798..8ccdf3f 100644 --- a/MemoryChainKit/Sources/Helper/Handler.swift +++ b/MemoryChainKit/Sources/Helper/Handler.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/30. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/Identifier.swift b/MemoryChainKit/Sources/Helper/Identifier.swift index 6d025dd..42d508b 100644 --- a/MemoryChainKit/Sources/Helper/Identifier.swift +++ b/MemoryChainKit/Sources/Helper/Identifier.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/3. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/JSONUtils.swift b/MemoryChainKit/Sources/Helper/JSONUtils.swift index 2dc3df3..0c81521 100644 --- a/MemoryChainKit/Sources/Helper/JSONUtils.swift +++ b/MemoryChainKit/Sources/Helper/JSONUtils.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/KeyValueObservationInfo.swift b/MemoryChainKit/Sources/Helper/KeyValueObservationInfo.swift index 681afe9..bbf92b7 100644 --- a/MemoryChainKit/Sources/Helper/KeyValueObservationInfo.swift +++ b/MemoryChainKit/Sources/Helper/KeyValueObservationInfo.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/8. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/LocalAtomic.swift b/MemoryChainKit/Sources/Helper/LocalAtomic.swift index 5b67267..4842f19 100644 --- a/MemoryChainKit/Sources/Helper/LocalAtomic.swift +++ b/MemoryChainKit/Sources/Helper/LocalAtomic.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/8. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/LocationService/LocationService.swift b/MemoryChainKit/Sources/Helper/LocationService/LocationService.swift index 7b41cbc..e17cf46 100644 --- a/MemoryChainKit/Sources/Helper/LocationService/LocationService.swift +++ b/MemoryChainKit/Sources/Helper/LocationService/LocationService.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/8. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/MCUIHelper.swift b/MemoryChainKit/Sources/Helper/MCUIHelper.swift index c5a17ad..d66ba9f 100644 --- a/MemoryChainKit/Sources/Helper/MCUIHelper.swift +++ b/MemoryChainKit/Sources/Helper/MCUIHelper.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/12/23. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Helper/QueueDispatcher.swift b/MemoryChainKit/Sources/Helper/QueueDispatcher.swift index 502f7ce..2e2df02 100644 --- a/MemoryChainKit/Sources/Helper/QueueDispatcher.swift +++ b/MemoryChainKit/Sources/Helper/QueueDispatcher.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/SwizzleManager.swift b/MemoryChainKit/Sources/Helper/SwizzleManager.swift index 38d27a1..c6111ac 100644 --- a/MemoryChainKit/Sources/Helper/SwizzleManager.swift +++ b/MemoryChainKit/Sources/Helper/SwizzleManager.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/25. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Helper/UserDefault.swift b/MemoryChainKit/Sources/Helper/UserDefault.swift index bdb7428..0a890d6 100644 --- a/MemoryChainKit/Sources/Helper/UserDefault.swift +++ b/MemoryChainKit/Sources/Helper/UserDefault.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Helper/ValidRules.swift b/MemoryChainKit/Sources/Helper/ValidRules.swift index 416e6b3..5b39e86 100644 --- a/MemoryChainKit/Sources/Helper/ValidRules.swift +++ b/MemoryChainKit/Sources/Helper/ValidRules.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/5. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/JSON/Decoding.swift b/MemoryChainKit/Sources/JSON/Decoding.swift index 5d539b3..e63a05b 100644 --- a/MemoryChainKit/Sources/JSON/Decoding.swift +++ b/MemoryChainKit/Sources/JSON/Decoding.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/JSON/JSON.swift b/MemoryChainKit/Sources/JSON/JSON.swift index 543767f..ec08942 100644 --- a/MemoryChainKit/Sources/JSON/JSON.swift +++ b/MemoryChainKit/Sources/JSON/JSON.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/JSON/JSONDeserializableError.swift b/MemoryChainKit/Sources/JSON/JSONDeserializableError.swift index 29d930e..e273120 100644 --- a/MemoryChainKit/Sources/JSON/JSONDeserializableError.swift +++ b/MemoryChainKit/Sources/JSON/JSONDeserializableError.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Layout/EqualSpaceCollectionViewFlowLayout.swift b/MemoryChainKit/Sources/Layout/EqualSpaceCollectionViewFlowLayout.swift index 201b9ef..ea5a542 100644 --- a/MemoryChainKit/Sources/Layout/EqualSpaceCollectionViewFlowLayout.swift +++ b/MemoryChainKit/Sources/Layout/EqualSpaceCollectionViewFlowLayout.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/12. -// Copyright © 2020 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2020 Marc Steven(https://.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Layout/LeftAlignCollectionViewFlowLayout.swift b/MemoryChainKit/Sources/Layout/LeftAlignCollectionViewFlowLayout.swift index 33dae47..4a96963 100644 --- a/MemoryChainKit/Sources/Layout/LeftAlignCollectionViewFlowLayout.swift +++ b/MemoryChainKit/Sources/Layout/LeftAlignCollectionViewFlowLayout.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/12. -// Copyright © 2020 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2020 Marc Steven(https://.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Localization/LocalizationManager.swift b/MemoryChainKit/Sources/Localization/LocalizationManager.swift index 00f1055..35a7982 100644 --- a/MemoryChainKit/Sources/Localization/LocalizationManager.swift +++ b/MemoryChainKit/Sources/Localization/LocalizationManager.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/12. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Networking/Error/MemoryChainError.swift b/MemoryChainKit/Sources/Networking/Error/MemoryChainError.swift index 4c2c379..f908d1d 100644 --- a/MemoryChainKit/Sources/Networking/Error/MemoryChainError.swift +++ b/MemoryChainKit/Sources/Networking/Error/MemoryChainError.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/Error/NetworkError.swift b/MemoryChainKit/Sources/Networking/Error/NetworkError.swift index 8872493..ad9c9b1 100644 --- a/MemoryChainKit/Sources/Networking/Error/NetworkError.swift +++ b/MemoryChainKit/Sources/Networking/Error/NetworkError.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/HTTPConfiguration.swift b/MemoryChainKit/Sources/Networking/HTTPConfiguration.swift index 1642484..2b7c115 100644 --- a/MemoryChainKit/Sources/Networking/HTTPConfiguration.swift +++ b/MemoryChainKit/Sources/Networking/HTTPConfiguration.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/HTTPMethod.swift b/MemoryChainKit/Sources/Networking/HTTPMethod.swift index 1503420..30f9d7e 100644 --- a/MemoryChainKit/Sources/Networking/HTTPMethod.swift +++ b/MemoryChainKit/Sources/Networking/HTTPMethod.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/MultipartForm.swift b/MemoryChainKit/Sources/Networking/MultipartForm.swift index 8178490..8af3bc2 100644 --- a/MemoryChainKit/Sources/Networking/MultipartForm.swift +++ b/MemoryChainKit/Sources/Networking/MultipartForm.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/ParameterEncoding.swift b/MemoryChainKit/Sources/Networking/ParameterEncoding.swift index 7531e93..bcaee2a 100644 --- a/MemoryChainKit/Sources/Networking/ParameterEncoding.swift +++ b/MemoryChainKit/Sources/Networking/ParameterEncoding.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/Request.swift b/MemoryChainKit/Sources/Networking/Request.swift index e3d4fd1..cea7465 100644 --- a/MemoryChainKit/Sources/Networking/Request.swift +++ b/MemoryChainKit/Sources/Networking/Request.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/15. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/Responses/Response.swift b/MemoryChainKit/Sources/Networking/Responses/Response.swift index d766e63..45dd875 100644 --- a/MemoryChainKit/Sources/Networking/Responses/Response.swift +++ b/MemoryChainKit/Sources/Networking/Responses/Response.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/15. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/Result.swift b/MemoryChainKit/Sources/Networking/Result.swift index f6bcc3d..0f34a04 100644 --- a/MemoryChainKit/Sources/Networking/Result.swift +++ b/MemoryChainKit/Sources/Networking/Result.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/15. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/Route.swift b/MemoryChainKit/Sources/Networking/Route.swift index c238227..e8efbf5 100644 --- a/MemoryChainKit/Sources/Networking/Route.swift +++ b/MemoryChainKit/Sources/Networking/Route.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Networking/SessionManager.swift b/MemoryChainKit/Sources/Networking/SessionManager.swift index 561aabf..ef2b79c 100644 --- a/MemoryChainKit/Sources/Networking/SessionManager.swift +++ b/MemoryChainKit/Sources/Networking/SessionManager.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/Colorable.swift b/MemoryChainKit/Sources/Protocols/Colorable.swift index b60c5cc..5972655 100644 --- a/MemoryChainKit/Sources/Protocols/Colorable.swift +++ b/MemoryChainKit/Sources/Protocols/Colorable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/Configurable.swift b/MemoryChainKit/Sources/Protocols/Configurable.swift index 5a210f2..9689084 100644 --- a/MemoryChainKit/Sources/Protocols/Configurable.swift +++ b/MemoryChainKit/Sources/Protocols/Configurable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/3. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // public protocol Configurable { diff --git a/MemoryChainKit/Sources/Protocols/DimmableLayout.swift b/MemoryChainKit/Sources/Protocols/DimmableLayout.swift index a2b44a8..f6a49c1 100644 --- a/MemoryChainKit/Sources/Protocols/DimmableLayout.swift +++ b/MemoryChainKit/Sources/Protocols/DimmableLayout.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/28. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/EquatableByPointer.swift b/MemoryChainKit/Sources/Protocols/EquatableByPointer.swift index 52110e4..f144155 100644 --- a/MemoryChainKit/Sources/Protocols/EquatableByPointer.swift +++ b/MemoryChainKit/Sources/Protocols/EquatableByPointer.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/21. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/ExtensibleAsslckatedObject.swift b/MemoryChainKit/Sources/Protocols/ExtensibleAsslckatedObject.swift index e6096d4..f8fd84b 100644 --- a/MemoryChainKit/Sources/Protocols/ExtensibleAsslckatedObject.swift +++ b/MemoryChainKit/Sources/Protocols/ExtensibleAsslckatedObject.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/11. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/Flashing.swift b/MemoryChainKit/Sources/Protocols/Flashing.swift index c0e6401..bdcbe15 100644 --- a/MemoryChainKit/Sources/Protocols/Flashing.swift +++ b/MemoryChainKit/Sources/Protocols/Flashing.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/ImageTitleDisplayable.swift b/MemoryChainKit/Sources/Protocols/ImageTitleDisplayable.swift index d40e295..5b693a1 100644 --- a/MemoryChainKit/Sources/Protocols/ImageTitleDisplayable.swift +++ b/MemoryChainKit/Sources/Protocols/ImageTitleDisplayable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/3. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/InitializableByEmptyConstructor.swift b/MemoryChainKit/Sources/Protocols/InitializableByEmptyConstructor.swift index 77d11b5..a59de14 100644 --- a/MemoryChainKit/Sources/Protocols/InitializableByEmptyConstructor.swift +++ b/MemoryChainKit/Sources/Protocols/InitializableByEmptyConstructor.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/3. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Protocols/ObjcWakeable.swift b/MemoryChainKit/Sources/Protocols/ObjcWakeable.swift index 8366f38..5fb8524 100644 --- a/MemoryChainKit/Sources/Protocols/ObjcWakeable.swift +++ b/MemoryChainKit/Sources/Protocols/ObjcWakeable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/8. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import ObjectiveC diff --git a/MemoryChainKit/Sources/Protocols/ObstructableView.swift b/MemoryChainKit/Sources/Protocols/ObstructableView.swift index ae45d91..d6eab65 100644 --- a/MemoryChainKit/Sources/Protocols/ObstructableView.swift +++ b/MemoryChainKit/Sources/Protocols/ObstructableView.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/21. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/PresentationContext.swift b/MemoryChainKit/Sources/Protocols/PresentationContext.swift index cc3e063..89782ea 100644 --- a/MemoryChainKit/Sources/Protocols/PresentationContext.swift +++ b/MemoryChainKit/Sources/Protocols/PresentationContext.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/3. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/PropertyStoring.swift b/MemoryChainKit/Sources/Protocols/PropertyStoring.swift index 82039b2..763a785 100644 --- a/MemoryChainKit/Sources/Protocols/PropertyStoring.swift +++ b/MemoryChainKit/Sources/Protocols/PropertyStoring.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/22. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/Pulse.swift b/MemoryChainKit/Sources/Protocols/Pulse.swift index c1e89a2..7e87558 100644 --- a/MemoryChainKit/Sources/Protocols/Pulse.swift +++ b/MemoryChainKit/Sources/Protocols/Pulse.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/SceneCoordinatorType.swift b/MemoryChainKit/Sources/Protocols/SceneCoordinatorType.swift index 7fa5ca4..73dc60d 100644 --- a/MemoryChainKit/Sources/Protocols/SceneCoordinatorType.swift +++ b/MemoryChainKit/Sources/Protocols/SceneCoordinatorType.swift @@ -3,6 +3,6 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Protocols/SceneTransitionType.swift b/MemoryChainKit/Sources/Protocols/SceneTransitionType.swift index bf723bf..9186586 100644 --- a/MemoryChainKit/Sources/Protocols/SceneTransitionType.swift +++ b/MemoryChainKit/Sources/Protocols/SceneTransitionType.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/TargetScene.swift b/MemoryChainKit/Sources/Protocols/TargetScene.swift index bfe33df..837c492 100644 --- a/MemoryChainKit/Sources/Protocols/TargetScene.swift +++ b/MemoryChainKit/Sources/Protocols/TargetScene.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/10. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Protocols/Updatable.swift b/MemoryChainKit/Sources/Protocols/Updatable.swift index b677aaf..2fef792 100644 --- a/MemoryChainKit/Sources/Protocols/Updatable.swift +++ b/MemoryChainKit/Sources/Protocols/Updatable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/ViewMaskable.swift b/MemoryChainKit/Sources/Protocols/ViewMaskable.swift index ffeddc0..6c8d1f5 100644 --- a/MemoryChainKit/Sources/Protocols/ViewMaskable.swift +++ b/MemoryChainKit/Sources/Protocols/ViewMaskable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/6. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/ZoomIn.swift b/MemoryChainKit/Sources/Protocols/ZoomIn.swift index d3ea717..2db60d0 100644 --- a/MemoryChainKit/Sources/Protocols/ZoomIn.swift +++ b/MemoryChainKit/Sources/Protocols/ZoomIn.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Protocols/ZoomOut.swift b/MemoryChainKit/Sources/Protocols/ZoomOut.swift index 08fe095..569e3d9 100644 --- a/MemoryChainKit/Sources/Protocols/ZoomOut.swift +++ b/MemoryChainKit/Sources/Protocols/ZoomOut.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/13. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Queue/ExecutableQueue.swift b/MemoryChainKit/Sources/Queue/ExecutableQueue.swift index 06aa2dd..0c9dba9 100644 --- a/MemoryChainKit/Sources/Queue/ExecutableQueue.swift +++ b/MemoryChainKit/Sources/Queue/ExecutableQueue.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Queue/ExecutableQueueMode.swift b/MemoryChainKit/Sources/Queue/ExecutableQueueMode.swift index 8554b83..e3a359a 100644 --- a/MemoryChainKit/Sources/Queue/ExecutableQueueMode.swift +++ b/MemoryChainKit/Sources/Queue/ExecutableQueueMode.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Queue/Queue.swift b/MemoryChainKit/Sources/Queue/Queue.swift index a62033e..d5a5173 100644 --- a/MemoryChainKit/Sources/Queue/Queue.swift +++ b/MemoryChainKit/Sources/Queue/Queue.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Queue/QueueQuality.swift b/MemoryChainKit/Sources/Queue/QueueQuality.swift index 12eed38..ebe3abd 100644 --- a/MemoryChainKit/Sources/Queue/QueueQuality.swift +++ b/MemoryChainKit/Sources/Queue/QueueQuality.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Queue/QueueType.swift b/MemoryChainKit/Sources/Queue/QueueType.swift index 33a1642..8403c61 100644 --- a/MemoryChainKit/Sources/Queue/QueueType.swift +++ b/MemoryChainKit/Sources/Queue/QueueType.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/19. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Reachability/Reachability.swift b/MemoryChainKit/Sources/Reachability/Reachability.swift index a51453b..f24769d 100644 --- a/MemoryChainKit/Sources/Reachability/Reachability.swift +++ b/MemoryChainKit/Sources/Reachability/Reachability.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/16. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // #if os(watchOS) #else diff --git a/MemoryChainKit/Sources/Store/Cache/Box.swift b/MemoryChainKit/Sources/Store/Cache/Box.swift index 0f20fbe..8918b46 100644 --- a/MemoryChainKit/Sources/Store/Cache/Box.swift +++ b/MemoryChainKit/Sources/Store/Cache/Box.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Store/Cache/Cacheable.swift b/MemoryChainKit/Sources/Store/Cache/Cacheable.swift index 757becb..701bd92 100644 --- a/MemoryChainKit/Sources/Store/Cache/Cacheable.swift +++ b/MemoryChainKit/Sources/Store/Cache/Cacheable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/29. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Store/ImageCache/LocalImageCache.swift b/MemoryChainKit/Sources/Store/ImageCache/LocalImageCache.swift index 1267af2..cbdc874 100644 --- a/MemoryChainKit/Sources/Store/ImageCache/LocalImageCache.swift +++ b/MemoryChainKit/Sources/Store/ImageCache/LocalImageCache.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/17. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Store/UserDefaultStore.swift b/MemoryChainKit/Sources/Store/UserDefaultStore.swift index 51b6b39..6d198c6 100644 --- a/MemoryChainKit/Sources/Store/UserDefaultStore.swift +++ b/MemoryChainKit/Sources/Store/UserDefaultStore.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/18. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/Analytics/Analytics.swift b/MemoryChainKit/Sources/UI Component/Analytics/Analytics.swift index 3228e35..7ccb990 100644 --- a/MemoryChainKit/Sources/UI Component/Analytics/Analytics.swift +++ b/MemoryChainKit/Sources/UI Component/Analytics/Analytics.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsEvent.swift b/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsEvent.swift index 8c4f513..1b92272 100644 --- a/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsEvent.swift +++ b/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsEvent.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsProvider.swift b/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsProvider.swift index 365df42..361a2f3 100644 --- a/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsProvider.swift +++ b/MemoryChainKit/Sources/UI Component/Analytics/AnalyticsProvider.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/Analytics/LogAnalyticsProvider.swift b/MemoryChainKit/Sources/UI Component/Analytics/LogAnalyticsProvider.swift index c4f12f7..5853b17 100644 --- a/MemoryChainKit/Sources/UI Component/Analytics/LogAnalyticsProvider.swift +++ b/MemoryChainKit/Sources/UI Component/Analytics/LogAnalyticsProvider.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/CellOptions.swift b/MemoryChainKit/Sources/UI Component/CellOptions.swift index 6c3b29c..83e0bc2 100644 --- a/MemoryChainKit/Sources/UI Component/CellOptions.swift +++ b/MemoryChainKit/Sources/UI Component/CellOptions.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/24. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/MarkDown/MarkdownKit+MushParser.swift b/MemoryChainKit/Sources/UI Component/MarkDown/MarkdownKit+MushParser.swift index 09551d4..cb9421a 100644 --- a/MemoryChainKit/Sources/UI Component/MarkDown/MarkdownKit+MushParser.swift +++ b/MemoryChainKit/Sources/UI Component/MarkDown/MarkdownKit+MushParser.swift @@ -11,7 +11,7 @@ import Haring /// Custom tags to support extra features in Markdown: Text color, background color, and font. /// MarkdownKit provides support to add custom tags support. -/// https://github.com/ivanbruel/MarkdownKit#extensibility +/// .com/ivanbruel/MarkdownKit#extensibility /// /// The following test string ensures that Markdown parser is implemented correctly with our custom tags. /// diff --git a/MemoryChainKit/Sources/UI Component/MulticastDelegate.swift b/MemoryChainKit/Sources/UI Component/MulticastDelegate.swift index 864daa5..d3c6f07 100644 --- a/MemoryChainKit/Sources/UI Component/MulticastDelegate.swift +++ b/MemoryChainKit/Sources/UI Component/MulticastDelegate.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/20. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/UI Component/NavigationViewController/StylableNavigationController.swift b/MemoryChainKit/Sources/UI Component/NavigationViewController/StylableNavigationController.swift index 0733bb2..d37b3ba 100644 --- a/MemoryChainKit/Sources/UI Component/NavigationViewController/StylableNavigationController.swift +++ b/MemoryChainKit/Sources/UI Component/NavigationViewController/StylableNavigationController.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/TabBar/CardTabBar.swift b/MemoryChainKit/Sources/UI Component/TabBar/CardTabBar.swift index b5eab70..5cfb7b1 100644 --- a/MemoryChainKit/Sources/UI Component/TabBar/CardTabBar.swift +++ b/MemoryChainKit/Sources/UI Component/TabBar/CardTabBar.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/7/28. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/TabBar/CardTabBarController.swift b/MemoryChainKit/Sources/UI Component/TabBar/CardTabBarController.swift index 00dac59..8ef3153 100644 --- a/MemoryChainKit/Sources/UI Component/TabBar/CardTabBarController.swift +++ b/MemoryChainKit/Sources/UI Component/TabBar/CardTabBarController.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/7/29. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/TabBar/IndicatorView.swift b/MemoryChainKit/Sources/UI Component/TabBar/IndicatorView.swift index 058cf76..e04d527 100644 --- a/MemoryChainKit/Sources/UI Component/TabBar/IndicatorView.swift +++ b/MemoryChainKit/Sources/UI Component/TabBar/IndicatorView.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/7/28. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/TabBar/MCTabBarButton.swift b/MemoryChainKit/Sources/UI Component/TabBar/MCTabBarButton.swift index 6dbdfbc..b34dd06 100644 --- a/MemoryChainKit/Sources/UI Component/TabBar/MCTabBarButton.swift +++ b/MemoryChainKit/Sources/UI Component/TabBar/MCTabBarButton.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/10/28. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/UITableView/UITableView+Reusable.swift b/MemoryChainKit/Sources/UI Component/UITableView/UITableView+Reusable.swift index 9ffb7e3..a65be7d 100644 --- a/MemoryChainKit/Sources/UI Component/UITableView/UITableView+Reusable.swift +++ b/MemoryChainKit/Sources/UI Component/UITableView/UITableView+Reusable.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/UITableView/UITableViewCellBuilder.swift b/MemoryChainKit/Sources/UI Component/UITableView/UITableViewCellBuilder.swift index 74d1a1e..5d3ade2 100644 --- a/MemoryChainKit/Sources/UI Component/UITableView/UITableViewCellBuilder.swift +++ b/MemoryChainKit/Sources/UI Component/UITableView/UITableViewCellBuilder.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/4/14. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/UI Component/Weak.swift b/MemoryChainKit/Sources/UI Component/Weak.swift index fe54872..07673d9 100644 --- a/MemoryChainKit/Sources/UI Component/Weak.swift +++ b/MemoryChainKit/Sources/UI Component/Weak.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/3/20. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // diff --git a/MemoryChainKit/Sources/Utils/BindableTapGestureRecognizer.swift b/MemoryChainKit/Sources/Utils/BindableTapGestureRecognizer.swift index 796b287..6c81406 100644 --- a/MemoryChainKit/Sources/Utils/BindableTapGestureRecognizer.swift +++ b/MemoryChainKit/Sources/Utils/BindableTapGestureRecognizer.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by MarcSteven on 2021/11/29. -// Copyright © 2021 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2021 Marc Steven(https://.com/MarcSteven). All rights reserved. // import UIKit diff --git a/MemoryChainKit/Sources/Utils/CallbackQueue.swift b/MemoryChainKit/Sources/Utils/CallbackQueue.swift index 359b068..ba78ac9 100644 --- a/MemoryChainKit/Sources/Utils/CallbackQueue.swift +++ b/MemoryChainKit/Sources/Utils/CallbackQueue.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2023/11/2. -// Copyright © 2023 Marc Steven(https://marcsteven.top). All rights reserved. +// Copyright © 2023 Marc Steven(https://.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/Sources/Validator/Validator.swift b/MemoryChainKit/Sources/Validator/Validator.swift index 730d445..6a72ce3 100644 --- a/MemoryChainKit/Sources/Validator/Validator.swift +++ b/MemoryChainKit/Sources/Validator/Validator.swift @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Steven on 2020/11/7. -// Copyright © 2020 Marc Steven(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Steven(.com/MarcSteven). All rights reserved. // import Foundation diff --git a/MemoryChainKit/SupportFiles/MemoryChainKit.h b/MemoryChainKit/SupportFiles/MemoryChainKit.h index 657b828..1fdef97 100644 --- a/MemoryChainKit/SupportFiles/MemoryChainKit.h +++ b/MemoryChainKit/SupportFiles/MemoryChainKit.h @@ -3,7 +3,7 @@ // MemoryChainKit // // Created by Marc Zhao on 2020/3/8. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // #import diff --git a/MemoryChainKitTests/MemoryChainKitTests.swift b/MemoryChainKitTests/MemoryChainKitTests.swift index 0d4b795..53fd6ff 100644 --- a/MemoryChainKitTests/MemoryChainKitTests.swift +++ b/MemoryChainKitTests/MemoryChainKitTests.swift @@ -3,7 +3,7 @@ // MemoryChainKitTests // // Created by Marc Zhao on 2020/3/8. -// Copyright © 2020 Marc Zhao(https://github.com/MarcSteven). All rights reserved. +// Copyright © 2020 Marc Zhao(.com/MarcSteven). All rights reserved. // import XCTest