-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
1 parent
cef4695
commit 67797eb
Showing
39 changed files
with
340 additions
and
46 deletions.
There are no files selected for viewing
Binary file modified
BIN
+6.08 KB
(290%)
Other/Products/Debug/WeChatPlugin.framework/Resources/TKDownloadWindowController.nib
Binary file not shown.
Binary file modified
BIN
+1016 Bytes
(110%)
Other/Products/Debug/WeChatPlugin.framework/Resources/en.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
-16 Bytes
(100%)
...ducts/Debug/WeChatPlugin.framework/Resources/en.lproj/TKRemoteControlWindowController.nib
Binary file not shown.
Binary file modified
BIN
+822 Bytes
(110%)
Other/Products/Debug/WeChatPlugin.framework/Resources/zh-Hans.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
-28 Bytes
(100%)
.../Debug/WeChatPlugin.framework/Resources/zh-Hans.lproj/TKRemoteControlWindowController.nib
Binary file not shown.
Binary file modified
BIN
+6.08 KB
(290%)
...Products/Debug/WeChatPlugin.framework/Versions/A/Resources/TKDownloadWindowController.nib
Binary file not shown.
Binary file modified
BIN
+1016 Bytes
(110%)
...r/Products/Debug/WeChatPlugin.framework/Versions/A/Resources/en.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
-16 Bytes
(100%)
.../WeChatPlugin.framework/Versions/A/Resources/en.lproj/TKRemoteControlWindowController.nib
Binary file not shown.
Binary file modified
BIN
+822 Bytes
(110%)
...ducts/Debug/WeChatPlugin.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
-28 Bytes
(100%)
...atPlugin.framework/Versions/A/Resources/zh-Hans.lproj/TKRemoteControlWindowController.nib
Binary file not shown.
Binary file modified
BIN
+21.4 KB
(100%)
Other/Products/Debug/WeChatPlugin.framework/Versions/A/WeChatPlugin
Binary file not shown.
Binary file modified
BIN
+6.08 KB
(290%)
...ts/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKDownloadWindowController.nib
Binary file not shown.
Binary file modified
BIN
+1016 Bytes
(110%)
...ucts/Debug/WeChatPlugin.framework/Versions/Current/Resources/en.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
-16 Bytes
(100%)
...tPlugin.framework/Versions/Current/Resources/en.lproj/TKRemoteControlWindowController.nib
Binary file not shown.
Binary file modified
BIN
+822 Bytes
(110%)
...Debug/WeChatPlugin.framework/Versions/Current/Resources/zh-Hans.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
-28 Bytes
(100%)
...in.framework/Versions/Current/Resources/zh-Hans.lproj/TKRemoteControlWindowController.nib
Binary file not shown.
Binary file modified
BIN
+21.4 KB
(100%)
Other/Products/Debug/WeChatPlugin.framework/Versions/Current/WeChatPlugin
Binary file not shown.
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
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
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
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// NSString+Action.h | ||
// WeChatPlugin | ||
// | ||
// Created by TK on 2018/5/1. | ||
// Copyright © 2018年 tk. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface NSString (Action) | ||
|
||
- (CGFloat)widthWithFont:(NSFont *)font; | ||
- (NSRect)rectWithFont:(NSFont *)font; | ||
|
||
@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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// NSString+Action.m | ||
// WeChatPlugin | ||
// | ||
// Created by TK on 2018/5/1. | ||
// Copyright © 2018年 tk. All rights reserved. | ||
// | ||
|
||
#import "NSString+Action.h" | ||
|
||
@implementation NSString (Action) | ||
|
||
- (CGFloat)widthWithFont:(NSFont *)font { | ||
return [self rectWithFont:font].size.width; | ||
} | ||
|
||
- (NSRect)rectWithFont:(NSFont *)font { | ||
return [self boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName: font}]; | ||
} | ||
|
||
@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
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
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
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
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
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
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
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
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 | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,6 @@ | |
|
||
@interface TKDownloadWindowController : NSWindowController | ||
|
||
+ (instancetype)downloadWindowController; | ||
|
||
@end |
Oops, something went wrong.