Top "Appkit" questions

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

NSTextField placeholder text doesn't show unless editing

I set the placeholder text of my NSTextField in Interface Builder, but the placeholder text doesn't show until I click …

objective-c cocoa macos nstextfield appkit
Handling keyboard events in AppKit with Swift

I have a custom NSView subclass that needs to handle some keyboard events. In Objective-C, I might handle it like …

swift appkit
Vertically aligning text in an NSTextField using Swift

I have been reading through the various options on how to set the vertical alignment on an NSTextField. I want …

swift cocoa appkit
Resizing NSWindow to match view controller size in storyboard

I am working on Xcode 6.1.1 on OSX 10.10. I am trying out storyboards for Mac apps. I have a NSTabViewController using …

macos cocoa storyboard appkit
Automatically wrap NSTextField using Auto Layout

How does one go about having auto-layout automatically wrap an NSTextField to multiple lines as the width of the NSTextField …

cocoa autolayout appkit
How do you use the dark vibrancy on an NSWindow?

What is the correct way to use the Vibrant Dark (NSAppearanceNameVibrantDark) or Vibrant Light (NSAppearanceNameVibrantLight) modes with an NSWindow? I'm …

objective-c cocoa nswindow appkit osx-yosemite
Python 3 No Module Named AppKit

I am trying to run an audio file in python from playsound import playsound def main(): playsound('audio.mp3') …

python-3.x appkit playsound