Graduately/macos/Graduately/Platform.swift
pepaskopec-blip f55cf859cc Rename the Xcode workspace and sources so the app is Graduately.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-27 13:16:22 +02:00

38 lines
774 B
Swift

#if os(macOS)
import AppKit
import SwiftUI
extension NSColor {
static var tertiarySystemFill: NSColor {
NSColor.quaternaryLabelColor.withAlphaComponent(0.16)
}
static var secondarySystemGroupedBackground: NSColor {
.controlBackgroundColor
}
static var separator: NSColor { .separatorColor }
}
enum TextInputAutocapitalization {
case never
}
enum UIKeyboardType {
case decimalPad
}
enum MacNavBarTitleMode {
case large
case inline
}
extension View {
func textInputAutocapitalization(_ style: TextInputAutocapitalization) -> some View { self }
func keyboardType(_ type: UIKeyboardType) -> some View { self }
func navigationBarTitleDisplayMode(_ mode: MacNavBarTitleMode) -> some View { self }
}
#endif