forked from youknowone/VisualJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppDelegate.m
More file actions
42 lines (33 loc) · 1.03 KB
/
AppDelegate.m
File metadata and controls
42 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// AppDelegate.m
// VisualJSON
//
// Created by youknowone on 12. 6. 25..
// Copyright (c) 2012 youknowone.org All rights reserved.
//
#import "AppDelegate.h"
@implementation AppDelegate
- (void)showPreference:(id)sender {
[self.preferenceWindowController showWindow:sender];
}
- (void)openWebsite:(id)sender {
NSURL *URL = @"http://youknowone.github.com/VisualJSON".URL;
[[NSWorkspace sharedWorkspace] openURL:URL];
}
- (void)openIssue:(id)sender {
NSURL *URL = @"https://github.com/youknowone/VisualJSON/issues".URL;
[[NSWorkspace sharedWorkspace] openURL:URL];
}
- (void)openHelp:(id)sender {
NSURL *URL = @"https://github.com/youknowone/VisualJSON/wiki".URL;
[[NSWorkspace sharedWorkspace] openURL:URL];
}
- (void)openIRC:(id)sender {
NSURL *URL = @"irc://irc.freenode.org/#youknowone".URL;
[[NSWorkspace sharedWorkspace] openURL:URL];
}
- (void)openTip:(id)sender {
NSURL *URL = @"http://youknowone.github.com/VisualJSON#tipme".URL;
[[NSWorkspace sharedWorkspace] openURL:URL];
}
@end