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
Abstract: | |
Hooks existing preferences/about/quit functionality from an existing Java app into handlers for the Mac OS X application menu. | |
Tailored to provide compatibility with the Java 9 EA releases so that the app may be built on other platforms. Note that there | |
is no compatibility with Java 8, though all that is required is to change java.awt.desktop -> com.apple.eawt in all handler methods | |
This work was inspired by an OSX compatibility layer provided by Apple that used a different API. This is an otherwise original | |
contribution and is a reimplementation using newer interface methods. | |
Usage: |
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
#import "CCMKeychainHelper.h" | |
@implementation CCMKeychainHelper | |
+ (BOOL)setPassword:(NSString *)password forURLString:(NSString *)aString error:(NSError **)errorPtr | |
{ | |
return [self setPassword:password forURL:[NSURL URLWithString:aString] error:errorPtr]; | |
} | |
+ (BOOL)setPassword:(NSString *)password forURL:(NSURL *)aURL error:(NSError **)errorPtr |