Skip to main content
100%

Basic Window Loading a URL

✓ Published0🌍 Public
KKevinGutowski
Last edited Dec 24, 2019
Created on Dec 24, 2019

This example demonstrates a Sketch plugin that opens a floating panel and loads a remote SVG image from the Sketch website into a web view. The plugin uses AppKit’s `NSPanel` to create a borderless, floating window with hidden minimize and zoom buttons. It initializes a `WKWebView` from the WebKit framework, configures it with developer extras enabled, and loads the specified URL via `NSURLRequest`. The panel is centered and kept on top using `NSFloatingWindowLevel`.

AI-generated description

Similar vizzes