Remake XCode project with iOS (iPhone / iPad) support

This commit is contained in:
Lncvrt committed 2025-06-12 14:58:20 -07:00
1 parent 5a5234cff8
commit 6b40bf00d9
37 files changed
+167 -147

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
//
// VisualEffectBlur.swift
// BerryLeaderboards
//
// Created by Lncvrt on 6/9/25.
//
import SwiftUI
#if os(macOS)
struct VisualEffectBlur: NSViewRepresentable {
func makeNSView(context: Context) -> NSVisualEffectView {
let view = NSVisualEffectView()
view.blendingMode = .behindWindow
view.material = .underWindowBackground
view.state = .active
return view
}
func updateNSView(_ nsView: NSVisualEffectView, context: Context) {}
}
#endif