Top "Nsviewcontroller" questions

An Objective-C object that manages a view, typically loaded from a nib file.

how do I get WKWebView to work in swift and for an macOS App

before this get's shot down for being a duplicate, it isn't. Pretty much every question on WKWebView here is about …

swift xcode macos wkwebview nsviewcontroller
NSViewController and multiple subviews from a Nib

I'm having a difficult time wrapping my head around loading views with Interface Builder and NSViewController. My goal is to …

cocoa interface-builder nib nsviewcontroller
Handle close event of the window in Swift

How to handle close event of the window using swift, for example, to ask "Are you sure you want to …

macos swift nswindowcontroller nsviewcontroller
NSWindowController and NSViewController

Probably a pretty simple question, but I can't get my head around it. I would like to create some sort …

objective-c cocoa nswindow nswindowcontroller nsviewcontroller
Swift + NSViewController background color (Mac App)

I am trying to change the background color of my View. The View Controller class is NSViewController type. How this …

swift colors background nsviewcontroller
How to add NSViewController to a responder chain?

I'm having hard time understanding and finding info about how to make NSViewController accept key and mouse events. I read …

objective-c macos cocoa nsviewcontroller nsresponder
Accessing parent view when adding subview

I have a ViewController that has 2 NSViews in it of different sizes. I'm wanting to add the view of a …

ios nsview nsviewcontroller
Non-resizable window swift

I have a NSViewController named Hardness, and I need not to let user resize it. Of course, I can just …

macos swift nswindow window-resize nsviewcontroller