This commit is contained in:
Михаил Капелько committed 2026-10-23 16:00:37 +03:00
1 parent fb5a9b77c8
commit c4364ba526
37 files changed
+669

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
class BlueComponent {
let ctrl = DialectController(BlueContext())
static private(set) weak var singleton: BlueComponent?
init() {
Self.singleton = self
//blueRegisterEffects(ctrl)
blueRegisterShoulds(ctrl)
}
func setup() {
blueSet(F.didSetup, true)
}
}
+9
View File
@@ -0,0 +1,9 @@
import Combine
final class BlueVM: ObservableObject {
static private(set) weak var shared: BlueVM?
init() {
Self.shared = self
}
}
+1
View File
@@ -0,0 +1 @@
../../mac/view/BlueView.swift
+24
View File
@@ -0,0 +1,24 @@
import SwiftUI
struct BlueView: View {
@ObservedObject var vm: BlueVM
init(_ vm: BlueVM) {
self.vm = vm
}
var body: some View {
VStack(spacing: 16) {
ZStack {
Text("Check graphics")
.font(.largeTitle)
.foregroundStyle(.white)
.offset(x: 1, y: 1)
Text("Check graphics")
.font(.largeTitle)
.foregroundStyle(.black)
}
}
.padding(40)
}
}