Skip to content

Commit

Permalink
Adds RadarKit, replacing old feedback view
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Nov 23, 2024
1 parent 9f02fc3 commit 94a01c5
Show file tree
Hide file tree
Showing 127 changed files with 7,193 additions and 5,057 deletions.
6 changes: 6 additions & 0 deletions DarockBili.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@
8CF148962CC40A4C00C13711 /* BiliAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CF148922CC403BF00C13711 /* BiliAPI.swift */; };
8CF148972CC40AAB00C13711 /* ResponseModels.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CF148942CC4040E00C13711 /* ResponseModels.swift */; };
8CF148982CC40AAB00C13711 /* ResponseModels.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CF148942CC4040E00C13711 /* ResponseModels.swift */; };
8CFB60072CF264F100003718 /* RadarKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8CFB60062CF264F100003718 /* RadarKit.xcframework */; };
8CFB60082CF264F200003718 /* RadarKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8CFB60062CF264F100003718 /* RadarKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
B2B8137F2CC3D0ED00C69D17 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B2B8137E2CC3D0ED00C69D17 /* WidgetKit.framework */; };
B2B813812CC3D0ED00C69D17 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B2B813802CC3D0ED00C69D17 /* SwiftUI.framework */; };
B2B813842CC3D0ED00C69D17 /* MeowWidgetBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2B813832CC3D0ED00C69D17 /* MeowWidgetBundle.swift */; };
Expand Down Expand Up @@ -282,6 +284,7 @@
files = (
8C2026812CBBA33300D7C5F9 /* RadarKitCore.xcframework in Embed Frameworks */,
8C0FDC522CE91E0800D741A0 /* NotifKit.xcframework in Embed Frameworks */,
8CFB60082CF264F200003718 /* RadarKit.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -419,6 +422,7 @@
8CD9463A2B64CD0F005D00D0 /* Bangumi_Detail_Season.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = Bangumi_Detail_Season.json; sourceTree = "<group>"; };
8CF148922CC403BF00C13711 /* BiliAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BiliAPI.swift; sourceTree = "<group>"; };
8CF148942CC4040E00C13711 /* ResponseModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResponseModels.swift; sourceTree = "<group>"; };
8CFB60062CF264F100003718 /* RadarKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RadarKit.xcframework; path = DarockFrameworks/RadarKit.xcframework; sourceTree = "<group>"; };
8CFB6B652C650FED007C7BAA /* Watch Debug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Watch Debug.entitlements"; sourceTree = "<group>"; };
8CFB6B662C650FFE007C7BAA /* Watch Release.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Watch Release.entitlements"; sourceTree = "<group>"; };
B2B8137D2CC3D0ED00C69D17 /* MeowWidgetExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = MeowWidgetExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -485,6 +489,7 @@
8CA7CBED2B77AC8A008E587F /* ZipArchive in Frameworks */,
8CA7CBF72B77AC8A008E587F /* SDWebImagePDFCoder in Frameworks */,
8C0FDC512CE91E0800D741A0 /* NotifKit.xcframework in Frameworks */,
8CFB60072CF264F100003718 /* RadarKit.xcframework in Frameworks */,
8C03B6DE2C280BAA000770B4 /* Cepheus in Frameworks */,
8CA7CBF52B77AC8A008E587F /* SDWebImageSVGCoder in Frameworks */,
8CA7CBE92B77AC8A008E587F /* SwiftDate in Frameworks */,
Expand Down Expand Up @@ -878,6 +883,7 @@
B4468A902B4FC8B7002CCEB2 /* Frameworks */ = {
isa = PBXGroup;
children = (
8CFB60062CF264F100003718 /* RadarKit.xcframework */,
8C0FDC502CE91E0700D741A0 /* NotifKit.xcframework */,
8C20267C2CBBA32E00D7C5F9 /* RadarKitCore.xcframework */,
8CC3D5662B7CDCE1005636DC /* Intents.framework */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
notificationPayloadFile = "Examples/SDWebImage Watch Demo Extension/PushNotificationPayload.apns">
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
Expand Down
49 changes: 49 additions & 0 deletions DarockFrameworks/RadarKit.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>RadarKit.framework/RadarKit</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>watchos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>RadarKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>RadarKit.framework/RadarKit</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>watchos-arm64_arm64_32</string>
<key>LibraryPath</key>
<string>RadarKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64_32</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// RadarKit.h
// RadarKit
//
// Created by memz233 on 11/23/24.
//

#import <Foundation/Foundation.h>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
// swift-module-flags: -target arm64-apple-watchos9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name RadarKit
import CommonCrypto
import Foundation
import OSLog
@_exported import RadarKit
@_exported import RadarKitCore
import Swift
@_exported import SwiftUI
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@_Concurrency.MainActor @preconcurrency public struct RKFeedbackView : SwiftUICore.View {
@_Concurrency.MainActor @preconcurrency public init(projName: Swift.String, gatherAppdiagnose: Swift.Bool = true, showNews: Swift.Bool = true, showUnderstandStatus: Swift.Bool = true)
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
get
}
public typealias Body = @_opaqueReturnTypeOf("$s8RadarKit14RKFeedbackViewV4bodyQrvp", 0) __
}
extension RadarKit.RKFeedbackView {
@_Concurrency.MainActor @preconcurrency public func radarFAQView<T>(_ view: T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarTitleInputSample(_ key: SwiftUICore.LocalizedStringKey) -> RadarKit.RKFeedbackView
@_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func radarTitleInputSample(_ key: Swift.String) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarAttachmentSelector<T>(@SwiftUICore.ViewBuilder _ view: @escaping (@escaping (Swift.String, Swift.String) -> Swift.Void) -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarAdditionalData(_ data: [Swift.String : Swift.String]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarTipper(_ tipper: @escaping (Swift.String, Swift.String) -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarOnNewFeedbackAppear(_ action: @escaping () -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarMessageHiddenKeys(_ keys: [Swift.String]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarMessageMarkdownRender<T>(@SwiftUICore.ViewBuilder _ render: @escaping (Swift.String) -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarIssuePlaces<T>(@SwiftUICore.ViewBuilder _ places: @escaping () -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarConstantTags(_ tags: [RadarKit.RKFeedbackTag]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarAppdiagnoseDataProcessor(_ processor: @escaping (inout [Swift.String : Any]) -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarSuggsetResolver(_ resolver: any RadarKit.RKSuggestResolver.Type) -> RadarKit.RKFeedbackView
}
public struct RKFeedbackTag : Swift.Equatable {
public let name: Swift.String
public let color: SwiftUICore.Color
public init(name: Swift.String, color: SwiftUICore.Color)
@_spi(_internal) public init?(_fromCombined string: Swift.String)
public static func == (lhs: RadarKit.RKFeedbackTag, rhs: RadarKit.RKFeedbackTag) -> Swift.Bool
}
extension Swift.Array where Element == RadarKit.RKFeedbackTag {
@_spi(_internal) public init(_fromCombined string: Swift.String)
}
extension RadarKitCore.RKCFileStatus {
public var localizedName: SwiftUICore.LocalizedStringKey {
get
}
public var representingSymbol: Swift.String {
get
}
public var representingColor: SwiftUICore.Color {
get
}
public var representingLabel: some SwiftUICore.View {
get
}
}
public protocol RKSuggestResolver {
static func suggestView(for place: Swift.String) -> SwiftUICore.AnyView
}
extension RadarKit.RKFeedbackView : Swift.Sendable {}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
// swift-module-flags: -target arm64-apple-watchos9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name RadarKit
import CommonCrypto
import Foundation
import OSLog
@_exported import RadarKit
@_exported import RadarKitCore
import Swift
@_exported import SwiftUI
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@_Concurrency.MainActor @preconcurrency public struct RKFeedbackView : SwiftUICore.View {
@_Concurrency.MainActor @preconcurrency public init(projName: Swift.String, gatherAppdiagnose: Swift.Bool = true, showNews: Swift.Bool = true, showUnderstandStatus: Swift.Bool = true)
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
get
}
public typealias Body = @_opaqueReturnTypeOf("$s8RadarKit14RKFeedbackViewV4bodyQrvp", 0) __
}
extension RadarKit.RKFeedbackView {
@_Concurrency.MainActor @preconcurrency public func radarFAQView<T>(_ view: T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarTitleInputSample(_ key: SwiftUICore.LocalizedStringKey) -> RadarKit.RKFeedbackView
@_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func radarTitleInputSample(_ key: Swift.String) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarAttachmentSelector<T>(@SwiftUICore.ViewBuilder _ view: @escaping (@escaping (Swift.String, Swift.String) -> Swift.Void) -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarAdditionalData(_ data: [Swift.String : Swift.String]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarTipper(_ tipper: @escaping (Swift.String, Swift.String) -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarOnNewFeedbackAppear(_ action: @escaping () -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarMessageHiddenKeys(_ keys: [Swift.String]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarMessageMarkdownRender<T>(@SwiftUICore.ViewBuilder _ render: @escaping (Swift.String) -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarIssuePlaces<T>(@SwiftUICore.ViewBuilder _ places: @escaping () -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarConstantTags(_ tags: [RadarKit.RKFeedbackTag]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarAppdiagnoseDataProcessor(_ processor: @escaping (inout [Swift.String : Any]) -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarSuggsetResolver(_ resolver: any RadarKit.RKSuggestResolver.Type) -> RadarKit.RKFeedbackView
}
public struct RKFeedbackTag : Swift.Equatable {
public let name: Swift.String
public let color: SwiftUICore.Color
public init(name: Swift.String, color: SwiftUICore.Color)
public static func == (lhs: RadarKit.RKFeedbackTag, rhs: RadarKit.RKFeedbackTag) -> Swift.Bool
}
extension RadarKitCore.RKCFileStatus {
public var localizedName: SwiftUICore.LocalizedStringKey {
get
}
public var representingSymbol: Swift.String {
get
}
public var representingColor: SwiftUICore.Color {
get
}
public var representingLabel: some SwiftUICore.View {
get
}
}
public protocol RKSuggestResolver {
static func suggestView(for place: Swift.String) -> SwiftUICore.AnyView
}
extension RadarKit.RKFeedbackView : Swift.Sendable {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
// swift-module-flags: -target arm64_32-apple-watchos9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name RadarKit
import CommonCrypto
import Foundation
import OSLog
@_exported import RadarKit
@_exported import RadarKitCore
import Swift
@_exported import SwiftUI
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@_Concurrency.MainActor @preconcurrency public struct RKFeedbackView : SwiftUICore.View {
@_Concurrency.MainActor @preconcurrency public init(projName: Swift.String, gatherAppdiagnose: Swift.Bool = true, showNews: Swift.Bool = true, showUnderstandStatus: Swift.Bool = true)
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
get
}
public typealias Body = @_opaqueReturnTypeOf("$s8RadarKit14RKFeedbackViewV4bodyQrvp", 0) __
}
extension RadarKit.RKFeedbackView {
@_Concurrency.MainActor @preconcurrency public func radarFAQView<T>(_ view: T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarTitleInputSample(_ key: SwiftUICore.LocalizedStringKey) -> RadarKit.RKFeedbackView
@_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func radarTitleInputSample(_ key: Swift.String) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarAttachmentSelector<T>(@SwiftUICore.ViewBuilder _ view: @escaping (@escaping (Swift.String, Swift.String) -> Swift.Void) -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarAdditionalData(_ data: [Swift.String : Swift.String]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarTipper(_ tipper: @escaping (Swift.String, Swift.String) -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarOnNewFeedbackAppear(_ action: @escaping () -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarMessageHiddenKeys(_ keys: [Swift.String]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarMessageMarkdownRender<T>(@SwiftUICore.ViewBuilder _ render: @escaping (Swift.String) -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarIssuePlaces<T>(@SwiftUICore.ViewBuilder _ places: @escaping () -> T) -> RadarKit.RKFeedbackView where T : SwiftUICore.View
@_Concurrency.MainActor @preconcurrency public func radarConstantTags(_ tags: [RadarKit.RKFeedbackTag]) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarAppdiagnoseDataProcessor(_ processor: @escaping (inout [Swift.String : Any]) -> Swift.Void) -> RadarKit.RKFeedbackView
@_Concurrency.MainActor @preconcurrency public func radarSuggsetResolver(_ resolver: any RadarKit.RKSuggestResolver.Type) -> RadarKit.RKFeedbackView
}
public struct RKFeedbackTag : Swift.Equatable {
public let name: Swift.String
public let color: SwiftUICore.Color
public init(name: Swift.String, color: SwiftUICore.Color)
@_spi(_internal) public init?(_fromCombined string: Swift.String)
public static func == (lhs: RadarKit.RKFeedbackTag, rhs: RadarKit.RKFeedbackTag) -> Swift.Bool
}
extension Swift.Array where Element == RadarKit.RKFeedbackTag {
@_spi(_internal) public init(_fromCombined string: Swift.String)
}
extension RadarKitCore.RKCFileStatus {
public var localizedName: SwiftUICore.LocalizedStringKey {
get
}
public var representingSymbol: Swift.String {
get
}
public var representingColor: SwiftUICore.Color {
get
}
public var representingLabel: some SwiftUICore.View {
get
}
}
public protocol RKSuggestResolver {
static func suggestView(for place: Swift.String) -> SwiftUICore.AnyView
}
extension RadarKit.RKFeedbackView : Swift.Sendable {}
Binary file not shown.
Loading

0 comments on commit 94a01c5

Please sign in to comment.