Permalink
Browse files

first checkin

  • Loading branch information...
0 parents commit ccea0c2072bb4fe9abc6c1d8a82a7534827cc451 @liyanage committed Mar 6, 2009
BIN .DS_Store
Binary file not shown.
@@ -0,0 +1,5 @@
+build
+*.xcodeproj/liyanage.pbxuser
+*.xcodeproj/liyanage.perspectivev3
+
+
@@ -0,0 +1,17 @@
+//
+// AppDelegate.h
+// WebPluginWebViewTester
+//
+// Created by Marc Liyanage on 05.03.09.
+// Copyright 2009 Marc Liyanage <http://www.entropy.ch>. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import <WebKit/WebKit.h>
+
+@interface AppDelegate : NSObject {
+
+ IBOutlet WebView *webView;
+}
+
+@end
@@ -0,0 +1,21 @@
+//
+// AppDelegate.m
+// WebPluginWebViewTester
+//
+// Created by Marc Liyanage on 05.03.09.
+// Copyright 2009 Marc Liyanage <http://www.entropy.ch>. All rights reserved.
+//
+
+#import "AppDelegate.h"
+
+
+@implementation AppDelegate
+
+- (void)awakeFromNib {
+
+ NSURL *testUrl = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"test" ofType:@"html"]];
+ [[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:testUrl]];
+
+}
+
+@end
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>WBPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>NSPrincipalClass</key>
+ <string>WebPluginWithWebViewTesterView</string>
+ <key>WebPluginName</key>
+ <string>Name of my plug-in</string>
+ <key>WebPluginDescription</key>
+ <string>Brief description of my plug-in</string>
+ <key>WebPluginMIMETypes</key>
+ <dict>
+ <key>application/x-foobarbaz</key>
+ <dict>
+ <key>WebPluginExtensions</key>
+ <array>
+ <string>foobarbaz</string>
+ </array>
+ <key>WebPluginTypeDescription</key>
+ <string>Name of content type</string>
+ </dict>
+ </dict>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit ccea0c2

Please sign in to comment.