Top "Appkit" questions

The Application Kit is a collection of classes provided by OpenStep operating systems such as OPENSTEP, GNUstep, and Mac OS X.

How to get height for NSAttributedString at a fixed width

I want to do some drawing of NSAttributedStrings in fixed-width boxes, but am having trouble calculating the right height they'll …

cocoa nstextview appkit nsattributedstring
Import Error: No module named AppKit

I use Mac OS X Lion and Python 2.7. I am new to python. Can anyone tell me how to import …

python appkit
How to handle with a default URL scheme

I want to build URI (or URL scheme) support in my app. I do a LSSetDefaultHandlerForURLScheme() in my + (void)initialize …

macos cocoa url-scheme appkit
How to fade out a NSView with animation?

This is as simple as can be so I can't for the life of me find what's wrong, I looked …

objective-c cocoa fade appkit nsviewanimation
How to get notified when NSWindow closes

how can I take notice when an NSWindow should or will get closed? I'd like to have something like the …

cocoa nswindow appkit nswindowcontroller
Symbol not found: _OBJC_IVAR_$_NSScroller._action in High Sierra

An application which worked on previous versions of MacOS fails on High Sierra with the following message: dyld: Symbol not …

macos appkit macos-high-sierra
Allow click and dragging a view to drag the window itself?

I'm using a textured window that has a tab bar along the top of it, just below the title bar. …

objective-c macos cocoa nswindow appkit
Borderless NSButton turns gray when clicked

I am making a little application with three NSButtons with an image set. These buttons have no border nor background. …

cocoa user-interface interface-builder appkit nsbutton
Set Window Resizable

In IB this can be done easily by checking the 'Resize' checkbox on or off. My problem is I want …

cocoa nswindow appkit
Get Certificates in Keychain

I've looked over the Security framework documentation but I can't seem to be able to find a way to get …

cocoa security macos keychain appkit