Skip to content

Commit

Permalink
first checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
liyanage committed Mar 6, 2009
0 parents commit ccea0c2
Show file tree
Hide file tree
Showing 16 changed files with 3,928 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
build
*.xcodeproj/liyanage.pbxuser
*.xcodeproj/liyanage.perspectivev3


17 changes: 17 additions & 0 deletions AppDelegate.h
@@ -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
21 changes: 21 additions & 0 deletions AppDelegate.m
@@ -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 added English.lproj/InfoPlist.strings
Binary file not shown.
3,147 changes: 3,147 additions & 0 deletions English.lproj/MainMenu.xib

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions Info.plist
@@ -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>
24 changes: 24 additions & 0 deletions Tester-Info.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>

0 comments on commit ccea0c2

Please sign in to comment.