Skip to content

People have dreamed of running macOS on iPad for more than a decade. Today, that dream comes true. With Virtual Mac, iPad finally breaks free from iPadOS, enabling pro apps like Xcode, Terminal, Final Cut Pro, Logic Pro, and Pixelmator Pro to run directly on device. Requires iPad Pro (M1, M2) or iPad Air (M1) running iPadOS 14 up to 16.3.1.

Shell
2.5 KB
Raw Blame
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

FOUNDATION_EXPORT NSString * const VZSettingsDidChangeNotification;
FOUNDATION_EXPORT NSString * const VZLibraryLayoutKey;
FOUNDATION_EXPORT NSString * const VZAutoBootVMPathKey;
FOUNDATION_EXPORT NSString * const VZAutoBootVMIdentifierKey;
FOUNDATION_EXPORT NSString * const VZKeyboardShortcutCaptureKey;
FOUNDATION_EXPORT NSString * const VZSystemGestureSuppressionKey;
FOUNDATION_EXPORT NSString * const VZMultitaskingGestureSuppressionKey;
FOUNDATION_EXPORT NSString * const VZHomeIndicatorSuppressionKey;
FOUNDATION_EXPORT NSString * const VZShowStatusLabelKey;
FOUNDATION_EXPORT NSString * const VZAutoDeleteRestoreImageKey;
FOUNDATION_EXPORT NSString * const VZHUDVisibilityKey;
FOUNDATION_EXPORT NSString * const VZHUDCornerKey;
FOUNDATION_EXPORT NSString * const VZExternalDisplayEnabledKey;
FOUNDATION_EXPORT NSString * const VZDisplayScalingKey;
FOUNDATION_EXPORT NSString * const VZTouchDoubleTapAccommodationKey;
FOUNDATION_EXPORT NSString * const VZTouchTwoFingerScrollingKey;
FOUNDATION_EXPORT NSString * const VZTouchTwoFingerRightClickKey;
FOUNDATION_EXPORT NSString * const VZTouchLongPressRightClickKey;
FOUNDATION_EXPORT NSString * const VZShowCursorWhenUsingTouchKey;
FOUNDATION_EXPORT NSString * const VZKeyboardCrashWorkaroundKey;
FOUNDATION_EXPORT NSString * const VZExternalDisplayScrollFixKey;
FOUNDATION_EXPORT NSString * const VZScrollingSpeedKey;
FOUNDATION_EXPORT NSString * const VZHUDOpacityKey;
FOUNDATION_EXPORT NSString * const VZDebugLoggingKey;
FOUNDATION_EXPORT NSString * const VZDebugLoggingModeOff;
FOUNDATION_EXPORT NSString * const VZDebugLoggingModeNextBoot;
FOUNDATION_EXPORT NSString * const VZDebugLoggingModeAlways;

BOOL VZConsumeDebugLoggingForBoot(void);
void VZEnableDebugLoggingForNextBoot(void);

// RootHide relocates jailbreak applications below a randomized .jbroot
// directory. Keep this probe independent of its SDK so the same executable
// remains valid on Taurine and official Dopamine.
FOUNDATION_EXPORT NSString * _Nullable VZRootHideJailbreakRootPath(void);
FOUNDATION_EXPORT BOOL VZIsRootHideEnvironment(void);

@interface VZAppSettings : NSObject
+ (instancetype)sharedSettings;
- (BOOL)boolForKey:(NSString *)key;
- (nullable NSString *)stringForKey:(NSString *)key;
- (void)setBool:(BOOL)value forKey:(NSString *)key;
- (void)setString:(nullable NSString *)value forKey:(NSString *)key;
- (void)resetToDefaults;
- (NSDictionary *)dictionaryRepresentation;
@end

NS_ASSUME_NONNULL_END