mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Bumping MACOSX_DEPLOYMENT_TARGET to 11.0 (#6911)
* Bumping MACOSX_DEPLOYMENT_TARGET to 11.0 * removing obsolete code and resources * Add a build action for Transmission.xcodeproj * removing obsolete code
This commit is contained in:
@@ -6,38 +6,7 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
// Compatibility declarations to build `@available(macOS 11.0, *)` code with older Xcode 11.3.1 (the last 32-bit OS compatible Xcode)
|
||||
#ifndef __MAC_11_0
|
||||
|
||||
typedef NS_ENUM(NSInteger, NSImageSymbolScale) {
|
||||
NSImageSymbolScaleLarge = 3,
|
||||
} API_AVAILABLE(macos(11.0));
|
||||
|
||||
@interface NSImage ()
|
||||
+ (nullable instancetype)imageWithSystemSymbolName:(NSString*)symbolName
|
||||
accessibilityDescription:(nullable NSString*)description API_AVAILABLE(macos(11.0));
|
||||
@end
|
||||
|
||||
typedef NS_ENUM(NSInteger, NSWindowToolbarStyle) {
|
||||
NSWindowToolbarStylePreference = 2,
|
||||
NSWindowToolbarStyleUnified = 3,
|
||||
} API_AVAILABLE(macos(11.0));
|
||||
|
||||
@interface NSWindow ()
|
||||
@property NSWindowToolbarStyle toolbarStyle API_AVAILABLE(macos(11.0));
|
||||
@end
|
||||
|
||||
typedef NS_ENUM(NSInteger, NSTableViewStyle) {
|
||||
NSTableViewStyleFullWidth = 1,
|
||||
} API_AVAILABLE(macos(11.0));
|
||||
|
||||
@interface NSTableView ()
|
||||
@property NSTableViewStyle style API_AVAILABLE(macos(11.0));
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
||||
// Compatibility declarations to build `@available(macOS 13.0, *)` code with older Xcode 11.3.1 (the last 32-bit OS compatible Xcode)
|
||||
// Compatibility declarations to build `@available(macOS 13.0, *)` code with older Xcode 12.5.1 (the last macOS 11.0 compatible Xcode)
|
||||
#ifndef __MAC_13_0
|
||||
|
||||
typedef NS_ENUM(NSInteger, NSColorWellStyle) {
|
||||
|
||||
Reference in New Issue
Block a user