Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ccea0c2
Showing
16 changed files
with
3,928 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
build | |||
*.xcodeproj/liyanage.pbxuser | |||
*.xcodeproj/liyanage.perspectivev3 | |||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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.