Fix preferences on macOS 10.15
This commit is contained in:
@@ -6,6 +6,8 @@ and this project does adhere to [Semantic Versioning](https://semver.org/spec/v2
|
|||||||
|
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Preferences could not be opened on Catalina
|
||||||
|
|
||||||
## [1.0.1] - 2019-10-04
|
## [1.0.1] - 2019-10-04
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -702,6 +702,7 @@
|
|||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
|
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
ENABLE_NS_ASSERTIONS = NO;
|
ENABLE_NS_ASSERTIONS = NO;
|
||||||
|
|||||||
@@ -80,5 +80,10 @@
|
|||||||
return [NSString stringWithFormat:@"http://i.ytimg.com/vi/%@/hqdefault.jpg", videoid];
|
return [NSString stringWithFormat:@"http://i.ytimg.com/vi/%@/hqdefault.jpg", videoid];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @return @c http://i.ytimg.com/vi/<videoid>/maxresdefault.jpg
|
||||||
|
+ (NSString*)videoImage4k:(NSString*)videoid {
|
||||||
|
return [NSString stringWithFormat:@"http://i.ytimg.com/vi/%@/maxresdefault.jpg", videoid];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>14405</string>
|
<string>14438</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.news</string>
|
<string>public.app-category.news</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|||||||
@@ -24,20 +24,20 @@
|
|||||||
@class ModalFeedEdit;
|
@class ModalFeedEdit;
|
||||||
|
|
||||||
@interface ModalFeedEditView : NSView
|
@interface ModalFeedEditView : NSView
|
||||||
@property (weak) IBOutlet NSTextField *url;
|
@property (strong) IBOutlet NSTextField *url;
|
||||||
@property (weak) IBOutlet NSProgressIndicator *spinnerURL;
|
@property (strong) IBOutlet NSProgressIndicator *spinnerURL;
|
||||||
@property (weak) IBOutlet NSImageView *favicon;
|
@property (strong) IBOutlet NSImageView *favicon;
|
||||||
|
|
||||||
@property (weak) IBOutlet NSTextField *name;
|
@property (strong) IBOutlet NSTextField *name;
|
||||||
@property (weak) IBOutlet NSProgressIndicator *spinnerName;
|
@property (strong) IBOutlet NSProgressIndicator *spinnerName;
|
||||||
|
|
||||||
@property (weak) IBOutlet NSTextField *refreshNum;
|
@property (strong) IBOutlet NSTextField *refreshNum;
|
||||||
@property (weak) IBOutlet NSPopUpButton *refreshUnit;
|
@property (strong) IBOutlet NSPopUpButton *refreshUnit;
|
||||||
|
|
||||||
@property (weak) IBOutlet NSButton *warningButton;
|
@property (strong) IBOutlet NSButton *warningButton;
|
||||||
@property NSPopover *warningPopover;
|
@property NSPopover *warningPopover;
|
||||||
@property (weak) IBOutlet NSTextField *warningText;
|
@property (strong) IBOutlet NSTextField *warningText;
|
||||||
@property (weak) IBOutlet NSButton *warningReload;
|
@property (strong) IBOutlet NSButton *warningReload;
|
||||||
|
|
||||||
- (instancetype)initWithController:(ModalFeedEdit*)controller NS_DESIGNATED_INITIALIZER;
|
- (instancetype)initWithController:(ModalFeedEdit*)controller NS_DESIGNATED_INITIALIZER;
|
||||||
- (instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
|
- (instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
@class SettingsFeeds;
|
@class SettingsFeeds;
|
||||||
|
|
||||||
@interface SettingsFeedsView : NSView
|
@interface SettingsFeedsView : NSView
|
||||||
@property (weak) IBOutlet NSOutlineView *outline;
|
@property (strong) IBOutlet NSOutlineView *outline;
|
||||||
@property (weak) IBOutlet NSTextField *status;
|
@property (strong) IBOutlet NSTextField *status;
|
||||||
@property (weak) IBOutlet NSProgressIndicator *spinner;
|
@property (strong) IBOutlet NSProgressIndicator *spinner;
|
||||||
|
|
||||||
- (instancetype)initWithController:(SettingsFeeds*)delegate NS_DESIGNATED_INITIALIZER;
|
- (instancetype)initWithController:(SettingsFeeds*)delegate NS_DESIGNATED_INITIALIZER;
|
||||||
- (instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
|
- (instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
@class SettingsGeneral;
|
@class SettingsGeneral;
|
||||||
|
|
||||||
@interface SettingsGeneralView : NSView
|
@interface SettingsGeneralView : NSView
|
||||||
@property (weak) IBOutlet NSPopUpButton* popupHttpApplication;
|
@property (strong) IBOutlet NSPopUpButton* popupHttpApplication;
|
||||||
@property (weak) IBOutlet NSTextField *defaultReader;
|
@property (strong) IBOutlet NSTextField *defaultReader;
|
||||||
|
|
||||||
- (instancetype)initWithController:(SettingsGeneral*)controller NS_DESIGNATED_INITIALIZER;
|
- (instancetype)initWithController:(SettingsGeneral*)controller NS_DESIGNATED_INITIALIZER;
|
||||||
- (instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
|
- (instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
|
||||||
|
|||||||
Reference in New Issue
Block a user