nspopover Questions

3

Solved

I'm trying to show a detachable NSPopover by clicking on a button but I'm stuck. I followed tuts how to show NSPopover but they all around Menubar apps. My AppDelegate looks like this final class A...
Quarantine asked 6/8, 2021 at 23:12

4

Solved

I'm using the doubleClickAction of a NSTableView to display a NSPopover. Something like this: NSInteger selectedRow = [dataTableView clickedRow]; NSInteger selectedColumn = [dataTableView clickedC...
Flavopurpurin asked 16/2, 2013 at 12:6

3

Solved

I have an app that sits in the menu bar, and when you click on the button it presents an NSPopover. That all works fine, but I want an NSSearchField to become the first responder, so a user can th...
Firelock asked 15/6, 2016 at 23:28

2

Solved

I'm opening a NSPopover with the action of an icon in the status bar. myPopover.show(relativeTo: button.bounds, of: button, preferredEdge: NSRectEdge.minY) This works fine with the exception tha...
Machmeter asked 3/2, 2018 at 5:21

2

Solved

Is there a way to force the NSPopover to start in the detached state? I only see isDetached which is a read-only property for the state of the popover and an NSPopoverDelegate method detachableWind...
Menashem asked 25/6, 2018 at 21:0

2

I am working on an NSPopover application. I am using raywenderlich tutorial as a starting place. The issue I am having is that when the popover opens and the system status bar is closed (such as ...
Armor asked 19/9, 2017 at 12:8

4

Solved

I'm having a NSTokenField and I'm providing a custom autocompletion inside the popover. Unfortunately as soon as the popover is shown it forces the NSTokenField to resign first responder. Is there ...
Marentic asked 14/1, 2014 at 10:2

3

Solved

The object of this app is to ensure the user has entered a certain text in an NSTextField. If that text is not in the field, they should not be allowed to leave the field. Given a macOS app with a...
Fatherhood asked 7/2, 2019 at 1:42

3

Solved

I am making a MenuBar app for which I am using NSPopOver. The problem is that NSPopover uses NSViewController as a contentViewController, whose size gets fixed. My requirement is to make the size o...
Viburnum asked 4/8, 2015 at 10:45

0

I have a NSPopover that is draggable but I want to make it detach by clicking on a button. Like Bear Notes App.
Wroughtup asked 15/10, 2018 at 11:58

8

I have an application, which open popover with NSTextField. The text field is not editable. Behavior for text field is set to Editable. I still can paste and copy text to this field but i can't edi...
Brookner asked 27/8, 2011 at 11:36

7

Solved

Is there any way to color NSPopover? Ive seen apps like facetab etc that have cool colors and resizeable popovers, how is this done? Ay guides, hints? Thanks.
Infinity asked 6/10, 2011 at 21:45

4

Solved

I want to know how to close NSPopover programmatically, not by touching outside, because I want to assign it to an action (such as KeyDown Enter Key or other shortcut) because I open my NSPopover...
Esthete asked 5/8, 2014 at 23:23

4

Solved

I have an app with a popover that appears on a status bar item. The thing is, when you click on the icon while you're in a full screen app, then move the mouse away from the menu bar to click on so...
Ectoparasite asked 21/1, 2016 at 0:40

1

Solved

I have a macOS NSPopover based tray app which shows a popover with login fields (username and password). Problem is that user is unable to copy-paste his email or password into text fields. The po...
Depilate asked 3/4, 2018 at 19:22

1

Solved

When I open an NSPopover I am getting the following error: WARNING: <NSPopover: 0x618000120780> needed 3 or more *consecutive* layout passes to prepare to be shown. Verify that nothing in y...
Judon asked 25/7, 2016 at 22:41

3

Is there any way to get an NSNumberFormatter (or presumably any other NSFormatter) to work in an NSPopover? The NSTextField's value in the popover is bound to an NSViewController's representedObje...
Unesco asked 5/3, 2014 at 23:29

2

I'm playing around with an idea and basically I want a NSStatusItem with a NSPopoverController. I read about all the problem people had but I just want to try it. Is there a clean way to do it by n...
Tuckerbag asked 29/4, 2014 at 2:36

0

I currently have an NSPopover subclass which sets it content view controller to a custom NSViewController meant to represent a tab view: self.popover.contentViewController = tabViewController; s...
Ringo asked 16/10, 2015 at 19:23

1

I have an NSPopover in a Cocoa application, and since Lion - it renders as semi-transparent, so that whatever text fields, tables, etc. that it overlays - these now show through underneath it and i...
Clownery asked 14/8, 2012 at 23:14

3

Solved

I have an NSPopover who's content in an NSView. I create the popover and add the view like this: NSPopover *thePopover = [[NSPopover alloc] init]; [thePopover setContentViewController:myViewContr...
Alphonso asked 22/1, 2013 at 1:1

1

Solved

Disclaimer: This question is an extension to this question I am trying to populate a Table in NSPopover.(As seen in the image) Problem: I am not able to make transparent background to N...
Apiarist asked 7/4, 2015 at 13:55

2

Solved

I'm using NSPopover, and when I change the system dock color to dark (Yosemite new feature) some elements in my view invert their color. For example some labels changes from black to grey, or text...
Alva asked 1/10, 2014 at 18:30

1

I’m trying to replicate the behaviour of the search field in iTunes, for looking up stock symbols and names. Specifically, as you start typing in the search field a popover appears with the filtere...
Cinderella asked 22/12, 2013 at 14:49

0

I'm implementing an NSPopover and having it appear in the status bar by setting it as a custom view. I've set its behavior to Transient, and also added a global event monitor so that when any other...
Finis asked 24/2, 2014 at 21:7

© 2022 - 2024 — McMap. All rights reserved.