Files
rive-flutter/example/macos/Runner/MainFlutterWindow.swift
bodymovin b3898a9d55 Working on option C for update cycle
https://2dimensions.slack.com/archives/C078KG6KAJY/p1729359775985179

Diffs=
aa20d8aad4 Working on option C for update cycle (#8409)
1d5a580041 Layout Fixes (#8468)
d60ea4cc71 Use imageAsset size for layout (#8462)
f5e5406185 Fix inconsistent layout overflow behavior (#8463)
ce39f8be9f Artboard object validation (#8464)
bdb9eb01db search for ios sysroot only when necessary (#8437)
91d092f4fc runtime: add support for gradients in vector n-slicer (#8447)
5a4418dba6 Add an experimental "clockwiseAtomic" rendering mode (#8442)
78adb5f60b Ensure LayoutComponent doesnt try to access bg path if layout not compiled in (#8453)
4c83df9b7a Updating to latest harfbuzz for coretext issue (#8443)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
2024-11-05 17:40:11 +00:00

16 lines
388 B
Swift

import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGeneratedPlugins(registry: flutterViewController)
super.awakeFromNib()
}
}