File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
SwiftPluginExample.xcodeproj Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class TPI_SwiftPluginExample: NSObject, THOPluginProtocol
64
64
65
65
/* Invoke the client on the main thread when sending. */
66
66
performBlock ( onMainThread: {
67
- client. sendPrivmsg ( formattedString, to: senderChannel)
67
+ client. sendPrivmsg ( formattedString, to: senderChannel! )
68
68
} )
69
69
}
70
70
}
@@ -88,7 +88,7 @@ class TPI_SwiftPluginExample: NSObject, THOPluginProtocol
88
88
let mainWindow = masterController ( ) . mainWindow
89
89
90
90
performBlock ( onMainThread: {
91
- client. sendPrivmsg ( formattedString, to: mainWindow? . selectedChannel)
91
+ client. sendPrivmsg ( formattedString, to: mainWindow. selectedChannel! )
92
92
} )
93
93
}
94
94
@@ -97,8 +97,8 @@ class TPI_SwiftPluginExample: NSObject, THOPluginProtocol
97
97
{
98
98
let dateFormatter = DateFormatter ( )
99
99
100
- dateFormatter. dateStyle = DateFormatter . Style . fullStyle
101
- dateFormatter. timeStyle = DateFormatter . Style . fullStyle
100
+ dateFormatter. dateStyle = . full
101
+ dateFormatter. timeStyle = . full
102
102
103
103
let formattedDate = dateFormatter. string ( from: Date ( ) )
104
104
Original file line number Diff line number Diff line change 9
9
/* Begin PBXBuildFile section */
10
10
4C38AD881946BB2C00B4A7AB /* SwiftPluginExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C38AD871946BB2C00B4A7AB /* SwiftPluginExample.swift */; };
11
11
4C51BE9412D0471600E79CEB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C51BE9312D0471600E79CEB /* Cocoa.framework */; };
12
- 8D576314048677EA00EA77CD /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */; };
13
12
/* End PBXBuildFile section */
14
13
15
14
/* Begin PBXFileReference section */
16
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
17
15
4C38AD861946BB2B00B4A7AB /* SwiftPluginExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SwiftPluginExample-Bridging-Header.h"; sourceTree = "<group>"; };
18
16
4C38AD871946BB2C00B4A7AB /* SwiftPluginExample.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SwiftPluginExample.swift; sourceTree = "<group>"; };
19
17
4C51BE9312D0471600E79CEB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
26
24
isa = PBXFrameworksBuildPhase;
27
25
buildActionMask = 2147483647;
28
26
files = (
29
- 8D576314048677EA00EA77CD /* CoreFoundation.framework in Frameworks */,
30
27
4C51BE9412D0471600E79CEB /* Cocoa.framework in Frameworks */,
31
28
);
32
29
runOnlyForDeploymentPostprocessing = 0;
49
46
isa = PBXGroup;
50
47
children = (
51
48
4C51BE9312D0471600E79CEB /* Cocoa.framework */,
52
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */,
53
49
);
54
50
name = Frameworks;
55
51
sourceTree = "<group>";
You can’t perform that action at this time.
0 commit comments