an apple class that defines objects that manage and coordinate the windows an application displays on the screen

-1
votes
0answers
25 views

Animating NSWindow Frame in Swift

I'm trying to animate the position of an NSWindow using NSAnimationContext but nothing seems to be working correctly. Here is the code I'm trying:NSAnimationContext.runAnimationGroup({ (context) in...
1
vote
1answer
28 views

Cocoa: Setting Mac window full screen the view doesn't change size

I'm setting up window to be able to be full screen:class WindowController: NSWindowController {override func windowDidLoad() {super.windowDidLoad()window?.titleVisibility=....
1
vote
1answer
87 views

How to animate closing NSWindow to NSStatusItem?

When you minimize an NSWindow you get a nice animation to the Dock. How to achieve a similar animation for "minimizing" to an NSStatusItem in the menu bar?I have it set up where the NSStatusItem ...
0
votes
0answers
24 views

macOS: open NSWindow instance above fullscreen app (active space)

after several years of iOS development I decided to start Mac development. Test subject is a simple single window pasteboard manager tool. When hitting a certain hotkey on the keyboard, my NSWindow ...
0
votes
1answer
17 views

NSheet controller doesn't get run when the sheet is displayed.

I have, in the Objective-C environment, a custom controller "MyWindowController" as File's Owner of the related XIB, to be used as a modal sheet over my main window.Invoking as follows per Apple ...
0
votes
1answer
34 views

macOS: rendering to another process' window

I have a Qt application that needs to be used from a VST plugin. However embedding a Qt application into a plugin seems like an incredibly complex task (because of the QCoreApplication event loop, ...
0
votes
0answers
43 views

How do I reset NSSplitView views

This is a little hard to explain, but I will try my best.This is how I setup my NSSplitView inside my mainWindow.[self.splitView.subviews[0] addSubview:view0];[self.splitView.subviews[1] ...
0
votes
1answer
48 views

Drawing correct CALayer colors honoring NSAppearance

I am looking into theming my app by setting window.appearance.In my app, I draw some stuff inside layers. I also use Core Plot, which renders its charts in layers.For the default aqua appearance, I ...
0
votes
0answers
25 views

Saving and restoring the position of an NSWindow

I am trying to find the best way of saving and restoring the size/position of an NSViewController presented using a storyboard segue.I currently have this working correctly in a single display ...
0
votes
1answer
27 views

Using a custom class for the window in a storyboard project

I created a storyboard project using Xcode (9.2). I then created a custom subclass of NSWindow and used the storyboard editor to set that as the class for my window.class CustomWindow: NSWindow {...
0
votes
0answers
13 views

UI Testing NSWindow?

I am trying to write a simple UI test in X-Code 9 for a MacOS application. All I'm trying to check is that the correct window has opened.I feel like I must be missing something very simple. I ...
1
vote
1answer
45 views

Where is my closed NSWindow?

I have an Application delegate that holds the reference to a NSWindow and the program (small test program so far) is generally working with Main Menu and views in the window.However I discovered ...
2
votes
1answer
42 views

How to tell if NSWindow is being used to browse document versions (right side of version browser UI)

The OS X document versions browser (get to it from File > Revert to > Browse All Versions) shows the current version on the left side and and stack of older versions on the right side.The window ...
0
votes
0answers
19 views

Closing NSWindow on cable disconnect

I am having an issue closing an NSWindow when the second screen is disconnected from my Mac.I am listening for NSApplicationDidChangeScreenParametersNotification and checking the number of screens ...
1
vote
0answers
41 views

NSWindow fixed position while switching between Spaces (Desktops)

Is it possible to fix position of NSWindow while switching between spaces?It is possible to use window?.collectionBehavior=[.canJoinAllSpaces] to share window in all spaces, but I want same effect ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,