render ctx

This commit is contained in:
Михаил Капелько committed 2026-10-19 06:56:04 +03:00
1 parent fbea0673c1
commit fbb02855ee
10 files changed
+167 -15

No files matched your search

+22 -1
View File
@@ -4,10 +4,31 @@ output:
game/ver-mac/src/dialect.swift:
type: swift
RenderContext:
type: context
fields:
didLaunch: Bool
didSetup: Bool
isReadyToRender: Bool
pixelHeight: Int
pixelWidth: Int
RenderComponent:
type: component
oneliners:
- isReadyToRender: print("ИГР isRTR: '\(c.isReadyToRender)'")
shoulds:
didLaunch:
1. Only once during the first setup:
if:
c.recentField == F.didSetup &&
c.didLaunch == false
then:
c.didLaunch = true
RootComponent:
type: component
oneliners:
- countText: print(c.countText)
- countText: RootVM.shared!.countText = c.countText
shoulds:
count: