最終更新:2012-12-17 (月) 04:32:26 (2907d)  

Cocoa Application
Top / Cocoa Application

生成されるファイル

  • AppDelegate.h
    #import <Cocoa/Cocoa.h>
    
    @interface AppDelegate : NSObject <NSApplicationDelegate>
    
    @property (assign) IBOutlet NSWindow *window;
    
    @end
     
  • AppDelegate.m
    #import "AppDelegate.h"
    
    @implementation AppDelegate
    
    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
    {
        // Insert code here to initialize your application
    }
    
    @end
  • MainMenu.xib?

Supporting Files

  • %ProjectName?%-Info.plist
  • InfoPlist?.strings
  • main.m
    #import <Cocoa/Cocoa.h>
    
    int main(int argc, char *argv[])
    {
        return NSApplicationMain(argc, (const char **)argv);
    }
  • %ProjectName?%-Prefix.pch
  • Credits.rtf

関連