Top "Nsapplication" questions

NSApplication is the central class in Apple's AppKit framework.

How to use WebView on xcode 4.5.1

I'm new to programming and I need to embed a website in my application (which is blank; I only want …

xcode cocoa webview nsapplication
How to programmatically make cocoa application active

I've got a background process that makes a transparent window appear when a hotkey is pressed: [window makeKeyAndOrderFront:nil]; [[content …

objective-c cocoa macos nsapplication
How to know if a NSWindow is fullscreen in Mac OS X Lion?

I guess I should check if [NSApplication presentationOptions] contains NSFullScreenModeApplicationPresentationOptions, but how do I achieve that? EDIT: using [NSApplication presentationOptions] …

cocoa fullscreen nswindow osx-lion nsapplication
How to check Mac OS X version at runtime

I am using below code to check OS X version at runtime. if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_10) { /* On a 10.10.x …

objective-c macos cocoa nsapplication osx-elcapitan
Cocoa: int main function

I'm curious, what role does the int main function play in a Cocoa program? Virtually all of the sample code …

objective-c cocoa nsapplication
How to connect a menu item to a custom action defined in the NSApplication delegate across nib files?

In my Cocoa app I have two NIB/XIB files that I need to connect: MainMenu.xib: contains a custom …

cocoa interface-builder xib nsmenuitem nsapplication