When an NSTextView is a subview of an NSView that is layer-backed (-wantsLayer == YES), it does not render the squiggly red underlines for misspelled words. All it takes to reproduce this is to make a
A simple 10.6 Cocoa app I wrote that basically draws a regular window with some buttons and text has been spewing hundreds of console log messages开发者_运维技巧:
I\'m not sure what I\'m doing wrong.I have a NSTextView and am registered as the delegate for its textStorage attribute.When I receive -textStorageDidProcessEditing:notification: I\'m trying to apply
Can \"Full Keyboard Access\" (System Prefs -> Keyboard -> (Radio) All C开发者_高级运维ontrols) be controlled with some API? It causes major issues when this thing is on in my app (like buttons not wor
I am making a little application with three NSButtons with an image set. These buttons have开发者_开发百科 no border nor background. However, when I click a button it turns into a gray rectangle.
I extr开发者_开发技巧act nodes from an XML document by calling -nodesForXPath:error:. Now i wonder if it guarantees, that the nodes are returned in the same order as they appear from top to bottom in
I register for notification NSPopUpButtonWillPopUpNotification in order to change the pop up menu before it is shown. The new pop up menu consist of running Application list with respected icons. When
A simple question here for many of you. I have an indeterminate NSProgressIndicator which I 开发者_JAVA技巧start and stop many times in my code. Does it reset when you call restart it, or do you have
Just wondering if there\'s a way to keep track of what website the user is browsing to via Cocoa or Webkit?
I have the following code in a stand-alone Cocoa test app: - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {