Add StoreKit 2

This commit is contained in:
Leon Böttger committed 2025-12-02 19:34:38 +01:00
1 parent 488f898d7b
commit f5e3c88daf
43 files changed
+2389 -5303

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
import Foundation
import UniformTypeIdentifiers
import SwiftUI
import LUI
#if os(macOS)
import Cocoa
#endif
+3
View File
@@ -8,6 +8,7 @@
import Cocoa
import Foundation
import SwiftUI
import LUI
class ShareViewController: NSViewController, OutboundAppDelegate {
@@ -49,6 +50,8 @@ class ShareViewController: NSViewController, OutboundAppDelegate {
override func loadView() {
super.loadView()
LUIInit(configuration: configuration)
loadAttachments(with: extensionContext, loadedItems: { result in
log("Loaded attachments: \(result)")