appkit
How to use NSCursor to display custom cursor
I am trying to use custom cursor in my game using nscursor.I use following code //While initializing openglview[详细]
2023-04-09 20:29 分类:问答How can I word wrap long strings in Annotations in AppKit's mapview?
I am working with the mapview in AppKit. I have a map with pins which, when tapped, bring up an annotation with text in them.When the strings are too long, they cut off with elipses.[详细]
2023-04-08 19:20 分类:问答Why isn't applicationShouldOpenUntitledFile being called?
I added a applicationShouldOpenUntitledFile method t开发者_StackOverflow社区o my application delegate, returning NO as Apple\'s documentation specifies. However, I\'m still getting a new document on s[详细]
2023-04-07 15:10 分类:问答Autocomplete window appearing in wrong place for NSTokenField
I have a layer-backed NSTokenField that is in a NSSplitView. The split is initially collapsed, with the token field hidden. When I reveal the token field, it works properly, except that the autocomple[详细]
2023-04-06 03:12 分类:问答How to change NSScroller length
Is there any api to change the scroller length,I would like to do the same without subclassi开发者_如何学Gong NSScroller.NSScroller (as a subclass of NSView) has a setFrame: method that takes an NSRec[详细]
2023-04-02 11:20 分类:问答How to make action to close NSPopover?
Hi 开发者_运维问答I implemented an NSPopover in one of my apps, but the popover will not close. I\'m guessing that it should close once I click something else, but its not. I know that there\'s a clos[详细]
2023-04-02 11:11 分类:问答Binding problem with a NSValue that contains NSPoint
I have this managedObject subclass, position rappresent a NSPoint. In a XIB I want two NSTextField like this[详细]
2023-03-27 15:32 分类:问答NSNumberFormatter doesn't allow typing decimal numbers
I am totally bewildered using NSNumberFormatter.This should be totally simple but I can\'t get it to work.[详细]
2023-03-12 10:35 分类:问答Locking the Aspect Ratio of an NSDocument's window
I have a document based application and I am trying to lock the aspect ratio of the document\'s window. The content of the document is a custom view which I can easily set an aspect ratio. However, wh[详细]
2023-03-10 07:21 分类:问答NSProgressBar startAnimation called FROM a ManiMenu action
First question in StackOverflow and also Cocoa newbye and in addition I am using XCode 4 (so be kind please!)[详细]
2023-03-08 13:27 分类:问答