appkit
Tracing/finding function calls and arguments made by an AppKit class method
Suppose I\'m calling class method + (NSStatusBar *)systemStatusBar: NSStatusBar *sB; sB=[NSStatusBar systemStatusBar];[详细]
2023-01-07 15:17 分类:问答NSArray objectAtIndex is not working. Please help
NSArray* address = [NSArray arrayWithArray:[detailItem addressArray]]; NSLog(@\"address = %@\", address);[详细]
2023-01-04 06:51 分类:问答11415 compile errors FTW?
This is something I\'ve really never seen but, I downloaded the source code of the sine wave example at http://www.audiosynth.com/sinewavedemo.html .[详细]
2023-01-02 23:57 分类:问答Purpose of CALayer?
I\'m slightly used as to what the purpose of CALayer\'s existence is. Why n开发者_Python百科ot just put the properties in a UIView?[详细]
2023-01-02 15:36 分类:问答Prevent selecting all tokens in NSTokenField
Is there any way to preve开发者_开发知识库nt the NSTokenField to select everything when pressing the ENTER key or when making to the first responder maybe using the TAB key?An NSTokenField is a subcla[详细]
2023-01-02 10:54 分类:问答Is it possible to get an NSView to pass rightMouseDown: to the next responder without subclassing?
I have a view which contains a few subviews: mainView subViewA subViewB SubViewC mainView is an NSView constructed from a nib and is controlled with an NSViewController subclass. The subviews are s[详细]
2023-01-01 21:12 分类:问答Creating a NSView from a CGPath
I have a CGPath and I want to draw it once to a NSView. Seems relatively simple but I haven\'t found a way in AppKit (non ip开发者_如何转开发hone).Inside -drawRect:, You use CGContextAddPath to add it[详细]
2022-12-29 21:49 分类:问答EXC_BAD_INSTRUCTION (SIGILL) at random during use of app. Bug in AppKit?
I\'m currently testing a new version of an app of mine on OSX 10.5 An user reported some weird crashes during use of the application, sadly not reproducible by me. At first sight it seems to happen ra[详细]
2022-12-23 19:12 分类:问答Keeping window of another application active while still receiving mouse events from another app's window?
Is there a way to have my app\'s window receive keyboard and/or mouse events (i.e. user clicking on window\'s buttons) while still retaining focus to another, unrelated app?[详细]
2022-12-23 18:53 分类:问答NSTextField and hidden property
I have an NSTextField that I hide when the user presses a button. I hide the text field using [textField setHidden:YES]; The problem is that is the user is typing in the text field (i.e. the text fiel[详细]
2022-12-22 18:25 分类:问答