appkit
How can I handle shortcuts when LSUIElement is set to YES?
When LSUIElement is set to NO most of s开发者_如何学运维hortcuts are handled by application\'s main menu. But when LSUIElement is set to YES, there is no main menu and then no common shortcuts are for[详细]
2023-02-15 04:34 分类:问答Programmatically resizing NSSplitView
I used to use and love RBSplitView, however I failed at reimplementing it programmatically as a certain version of xcode does not support IB plugins anymore.[详细]
2023-02-14 16:40 分类:问答NSTableView: How do you update a displayed tooltip?
For my NSTableView, I have defined -tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: and this does return the string I want to display and the NSTableView does display that string as a[详细]
2023-02-14 04:06 分类:问答Subviews disappearing on completion of awakeFromNib
I have a view with a NSBox subview (with CA enabled for shadow) and I\'m trying to add my NSView subclass to the box dynamically during awakeFromNib.[详细]
2023-02-13 20:20 分类:问答Extracting bitmap data from an NSImage in python
I\'m constructing wx.MemoryDC using the data from the NSImage, but the resulting code is very sluggish. It seems to me that TIFFRepresentation -> ImageFromStream step is the one that slows things down[详细]
2023-02-12 14:13 分类:问答UIKit's [NSString sizeWithFont:constrainedToSize:] in AppKit
Is there any equivalent method in AppKit (for Cocoa on Mac OS X) that does the same thing as UIKit\'s [NSString sizeWithFont:constrainedToSize:]?[详细]
2023-02-11 07:21 分类:问答Changing alpha of window background, not the whole window
so i have a quick question i have the method below which sets the alpha value of a window depending on the value from a slider, however the cont开发者_开发百科ent of the window also becomes translucen[详细]
2023-02-08 23:01 分类:问答Best way to learn to master the AppKit framework
I\'ve currently been learning Objective-C and Cocoa for some time but I feel that I need to know more about the AppKit framework. I\'m often in doubt about which components I should use for specific u[详细]
2023-02-03 06:32 分类:问答custom view minimum size
Is there a way to enforce minimum size for a Custom View (NSView)? I know with window one can just set the mini开发者_如何学Cmum size, but there are no such setting for custom view.[详细]
2023-01-31 06:26 分类:问答Custom windowtitle + toolbar (ala. Mac App Store and Reeder for Mac)
I\'m trying to figure out how to create the \"new popular\" combined window title and toolbar as seen in Reeder for Mac and Mac App Store (http://www.apple.com/mac/app-store/). Tried googling but this[详细]
2023-01-29 23:29 分类:问答