diff --git a/.github/workflows/corematerial_example.yml b/.github/workflows/corematerial_example.yml new file mode 100644 index 0000000..6dc42db --- /dev/null +++ b/.github/workflows/corematerial_example.yml @@ -0,0 +1,61 @@ +name: CoreMaterialExample + +on: + push: + branches: [main] + paths: + - 'CoreMaterial/**' + - 'Example/CoreMaterialExample/**' + - 'Example/Resources/**' + - 'Example/Project.swift' + - 'Example/Tuist.swift' + - 'Example/Tuist/**' + - 'Example/mise.toml' + - 'Package.swift' + - '.github/actions/build-example/**' + - '.github/workflows/corematerial_example.yml' + pull_request: + branches: [main] + paths: + - 'CoreMaterial/**' + - 'Example/CoreMaterialExample/**' + - 'Example/Resources/**' + - 'Example/Project.swift' + - 'Example/Tuist.swift' + - 'Example/Tuist/**' + - 'Example/mise.toml' + - 'Package.swift' + - '.github/actions/build-example/**' + - '.github/workflows/corematerial_example.yml' + +jobs: + build: + name: Build CoreMaterialExample (${{ matrix.platform }}) + strategy: + fail-fast: false + matrix: + include: + - platform: iOS + destination: "generic/platform=iOS" + runs-on: '["macos-15", "xcode-26.6"]' + - platform: iOS Simulator + destination: "generic/platform=iOS Simulator" + runs-on: '["macos-15", "xcode-26.6"]' + - platform: macOS + destination: "platform=macOS" + runs-on: '["macos-15", "xcode-26.6"]' + - platform: visionOS + destination: "generic/platform=visionOS" + runs-on: '["macos-15", "xcode-26.6", "visionos-simulator-2.5"]' + - platform: visionOS Simulator + destination: "generic/platform=visionOS Simulator" + runs-on: '["macos-15", "xcode-26.6", "visionos-simulator-2.5"]' + # visionOS builds need a visionOS Simulator runtime that matches the SDK. + runs-on: ${{ fromJSON(matrix.runs-on) }} + steps: + - uses: actions/checkout@v4 + - uses: ./.github/actions/build-example + with: + scheme: CoreMaterialExample + destination: ${{ matrix.destination }} + xcode-version: "26.6" diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/Info.plist b/CoreMaterial/2024/CoreMaterial.xcframework/Info.plist new file mode 100644 index 0000000..f1a402d --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/Info.plist @@ -0,0 +1,83 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + macos-arm64e-arm64-x86_64 + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64e + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + ios-arm64-arm64e + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + arm64e + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64-x86_64-simulator + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + xros-arm64-x86_64-simulator + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + xros + SupportedPlatformVariant + simulator + + + LibraryIdentifier + xros-arm64-arm64e + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + arm64e + + SupportedPlatform + xros + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/CoreMaterial.tbd b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/CoreMaterial.tbd new file mode 100644 index 0000000..51a0274 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/CoreMaterial.tbd @@ -0,0 +1,299 @@ +{ + "main_library": { + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTCoreMaterialDefaultPlatformConfiguration._overrideRecipeBundleURL", + "MTCoreMaterialVisualStyling._composedFilter", + "MTCoreMaterialVisualStyling._compositingFilter", + "MTCoreMaterialVisualStyling._filterProperties", + "MTCoreMaterialVisualStyling._filterType", + "MTCoreMaterialVisualStyling._tintAlpha", + "MTCoreMaterialVisualStyling._tintColor", + "MTCoreMaterialVisualStyling._tintColorDescription", + "MTCoreMaterialVisualStyling._tintColorName", + "MTCoreMaterialVisualStyling._tintColorUIStyle", + "MTCoreMaterialVisualStyling._userInfo", + "MTCoreMaterialVisualStyling._visualStyleName", + "MTCoreMaterialVisualStyling._visualStyleSet", + "MTCoreMaterialVisualStylingProvider._observers", + "MTCoreMaterialVisualStylingProvider._visualStyleSet", + "MTMaterialLayer._allowsInPlaceFiltering", + "MTMaterialLayer._backdropScaleAdjustment", + "MTMaterialLayer._blurEnabled", + "MTMaterialLayer._contentReplacedWithSnapshot", + "MTMaterialLayer._debugIdentifier", + "MTMaterialLayer._defaultBackdropScaleAdjustment", + "MTMaterialLayer._materialLayerDelegateFlags", + "MTMaterialLayer._needsConfiguring", + "MTMaterialLayer._pendingChange", + "MTMaterialLayer._previousSettingsInterpolator", + "MTMaterialLayer._prunePromises", + "MTMaterialLayer._reduceMotionEnabled", + "MTMaterialLayer._reduceTransparencyEnabled", + "MTMaterialLayer._settingsInterpolator", + "MTMaterialLayer._shouldCrossfade", + "MTMaterialLayer._visualStyleCategoriesToProviders", + "MTMaterialLayer._zoomEnabled", + "MTMaterialSettingsInterpolator._blurRadiusTransformer", + "MTMaterialSettingsInterpolator._finalSettings", + "MTMaterialSettingsInterpolator._initialSettings", + "MTMaterialSettingsInterpolator._overlay", + "MTMaterialSettingsInterpolator._previousWeighting", + "MTMaterialSettingsInterpolator._weighting", + "MTPrunePromise._materialLayer", + "MTPrunePromise._promiseFulfilled", + "MTPrunePromise._timeStamp", + "MTRGBColor._alpha", + "MTRGBColor._blue", + "MTRGBColor._green", + "MTRGBColor._red", + "MTRecipeMaterialSettings._baseMaterialSettings", + "MTRecipeMaterialSettings._materialSettingsVersion", + "MTRecipeMaterialSettings._recipeName", + "MTRecipeMaterialSettings._styles", + "MTStylingProvidingSolidColorLayer._cmStylingProviders", + "MTTintingFilteringMaterialSettings._averageColorEnabled", + "MTTintingFilteringMaterialSettings._backdropScale", + "MTTintingFilteringMaterialSettings._blurAtEnd", + "MTTintingFilteringMaterialSettings._blurInputQuality", + "MTTintingFilteringMaterialSettings._blurRadius", + "MTTintingFilteringMaterialSettings._brightness", + "MTTintingFilteringMaterialSettings._colorMatrix", + "MTTintingFilteringMaterialSettings._curvesValues", + "MTTintingFilteringMaterialSettings._luminanceAmount", + "MTTintingFilteringMaterialSettings._luminanceValues", + "MTTintingFilteringMaterialSettings._saturation", + "MTTintingFilteringMaterialSettings._userInfo", + "MTTintingFilteringMaterialSettings._variableBlurInputMask", + "MTTintingFilteringMaterialSettings._variableBlurInputMaskName", + "MTTintingFilteringMaterialSettings._zoom", + "MTTintingMaterialSettings._tintAlpha", + "MTTintingMaterialSettings._tintColor", + "MTTintingMaterialSettings._tintColorDescription", + "MTTintingMaterialSettings._tintColorName", + "MTTintingMaterialSettings._tintColorUIStyle", + "MTVisualStyleSet._styleNamesToVisualStylings", + "MTVisualStyleSet._visualStyleSetName", + "MTVisualStyleSet._visualStyleSetVersion", + "MTVisualStyleSet._visualStylesToStyleNames", + "MTWhiteColor._alpha", + "MTWhiteColor._white" + ] + } + } + ], + "flags": [ + { + "attributes": [ + "flat_namespace" + ] + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "target": "armv7-ios" + }, + { + "target": "armv7s-ios" + }, + { + "target": "arm64-ios" + }, + { + "min_deployment": "14.0.0", + "target": "arm64e-ios" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Headers/CoreMaterial.h b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Headers/CoreMaterial.h new file mode 100644 index 0000000..665c44d --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Headers/CoreMaterial.h @@ -0,0 +1,52 @@ +// +// CoreMaterial.h +// CoreMaterial +// +// Audited for 1.0 +// Status: WIP + +#pragma once + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *MTCoreMaterialRecipe NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeDark; + +typedef NSString *MTCoreMaterialVisualStyleCategory NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryFill; +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryStroke; + +typedef NSString *MTCoreMaterialVisualStyle NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStylePrimary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSecondary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleTertiary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleQuaternary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSeparator; + +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsIncludeOptimizationsKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsReduceTransparencyKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsBundleKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key; + +FOUNDATION_EXPORT NSDictionary *_Nullable MTVisualStylingCreateDictionaryRepresentation( + MTCoreMaterialRecipe recipe, + MTCoreMaterialVisualStyleCategory category, + MTCoreMaterialVisualStyle style, + NSDictionary *options +); + +NS_ASSUME_NONNULL_END diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Info.plist b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Info.plist new file mode 100644 index 0000000..d696133 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + CoreMaterial + CFBundleIdentifier + com.apple.CoreMaterial + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Modules/module.modulemap b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Modules/module.modulemap new file mode 100644 index 0000000..698d4b3 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-arm64e/CoreMaterial.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module CoreMaterial { + umbrella "." + export * + module * { export * } +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/CoreMaterial.tbd b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/CoreMaterial.tbd new file mode 100644 index 0000000..bdc0244 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/CoreMaterial.tbd @@ -0,0 +1,218 @@ +{ + "main_library": { + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + }, + "text": { + "global": [ + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "min_deployment": "18.5", + "target": "x86_64-ios-simulator" + }, + { + "min_deployment": "18.5", + "target": "arm64-ios-simulator" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Headers/CoreMaterial.h b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Headers/CoreMaterial.h new file mode 100644 index 0000000..665c44d --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Headers/CoreMaterial.h @@ -0,0 +1,52 @@ +// +// CoreMaterial.h +// CoreMaterial +// +// Audited for 1.0 +// Status: WIP + +#pragma once + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *MTCoreMaterialRecipe NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeDark; + +typedef NSString *MTCoreMaterialVisualStyleCategory NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryFill; +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryStroke; + +typedef NSString *MTCoreMaterialVisualStyle NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStylePrimary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSecondary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleTertiary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleQuaternary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSeparator; + +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsIncludeOptimizationsKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsReduceTransparencyKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsBundleKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key; + +FOUNDATION_EXPORT NSDictionary *_Nullable MTVisualStylingCreateDictionaryRepresentation( + MTCoreMaterialRecipe recipe, + MTCoreMaterialVisualStyleCategory category, + MTCoreMaterialVisualStyle style, + NSDictionary *options +); + +NS_ASSUME_NONNULL_END diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Info.plist b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Info.plist new file mode 100644 index 0000000..d696133 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + CoreMaterial + CFBundleIdentifier + com.apple.CoreMaterial + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Modules/module.modulemap b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Modules/module.modulemap new file mode 100644 index 0000000..698d4b3 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/ios-arm64-x86_64-simulator/CoreMaterial.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module CoreMaterial { + umbrella "." + export * + module * { export * } +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/CoreMaterial.tbd b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/CoreMaterial.tbd new file mode 120000 index 0000000..cc35857 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/CoreMaterial.tbd @@ -0,0 +1 @@ +Versions/Current/CoreMaterial.tbd \ No newline at end of file diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Headers b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Modules b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Resources b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/CoreMaterial.tbd b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/CoreMaterial.tbd new file mode 100644 index 0000000..0edb3e3 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/CoreMaterial.tbd @@ -0,0 +1,231 @@ +{ + "main_library": { + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTVisualStylingLayer", + "MTVisualStylingLayerHelper", + "MTVisualStylingTextLayer", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/Versions/A/CoreMaterial" + } + ], + "target_info": [ + { + "target": "x86_64-macos" + }, + { + "target": "x86_64-maccatalyst" + }, + { + "min_deployment": "11.0.0", + "target": "arm64-macos" + }, + { + "min_deployment": "14.0.0", + "target": "arm64-maccatalyst" + }, + { + "min_deployment": "11.0.0", + "target": "arm64e-macos" + }, + { + "min_deployment": "14.0.0", + "target": "arm64e-maccatalyst" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Headers/CoreMaterial.h b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Headers/CoreMaterial.h new file mode 100644 index 0000000..665c44d --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Headers/CoreMaterial.h @@ -0,0 +1,52 @@ +// +// CoreMaterial.h +// CoreMaterial +// +// Audited for 1.0 +// Status: WIP + +#pragma once + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *MTCoreMaterialRecipe NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeDark; + +typedef NSString *MTCoreMaterialVisualStyleCategory NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryFill; +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryStroke; + +typedef NSString *MTCoreMaterialVisualStyle NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStylePrimary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSecondary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleTertiary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleQuaternary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSeparator; + +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsIncludeOptimizationsKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsReduceTransparencyKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsBundleKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key; + +FOUNDATION_EXPORT NSDictionary *_Nullable MTVisualStylingCreateDictionaryRepresentation( + MTCoreMaterialRecipe recipe, + MTCoreMaterialVisualStyleCategory category, + MTCoreMaterialVisualStyle style, + NSDictionary *options +); + +NS_ASSUME_NONNULL_END diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Modules/module.modulemap b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..698d4b3 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module CoreMaterial { + umbrella "." + export * + module * { export * } +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Resources/Info.plist b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..d696133 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + CoreMaterial + CFBundleIdentifier + com.apple.CoreMaterial + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/Current b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/macos-arm64e-arm64-x86_64/CoreMaterial.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/CoreMaterial.tbd b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/CoreMaterial.tbd new file mode 100644 index 0000000..3d418df --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/CoreMaterial.tbd @@ -0,0 +1,218 @@ +{ + "main_library": { + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + }, + "text": { + "global": [ + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "min_deployment": "2.5", + "target": "arm64e-xros" + }, + { + "min_deployment": "2.5", + "target": "arm64-xros" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Headers/CoreMaterial.h b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Headers/CoreMaterial.h new file mode 100644 index 0000000..665c44d --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Headers/CoreMaterial.h @@ -0,0 +1,52 @@ +// +// CoreMaterial.h +// CoreMaterial +// +// Audited for 1.0 +// Status: WIP + +#pragma once + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *MTCoreMaterialRecipe NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeDark; + +typedef NSString *MTCoreMaterialVisualStyleCategory NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryFill; +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryStroke; + +typedef NSString *MTCoreMaterialVisualStyle NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStylePrimary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSecondary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleTertiary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleQuaternary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSeparator; + +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsIncludeOptimizationsKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsReduceTransparencyKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsBundleKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key; + +FOUNDATION_EXPORT NSDictionary *_Nullable MTVisualStylingCreateDictionaryRepresentation( + MTCoreMaterialRecipe recipe, + MTCoreMaterialVisualStyleCategory category, + MTCoreMaterialVisualStyle style, + NSDictionary *options +); + +NS_ASSUME_NONNULL_END diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Info.plist b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Info.plist new file mode 100644 index 0000000..d696133 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + CoreMaterial + CFBundleIdentifier + com.apple.CoreMaterial + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Modules/module.modulemap b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Modules/module.modulemap new file mode 100644 index 0000000..698d4b3 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-arm64e/CoreMaterial.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module CoreMaterial { + umbrella "." + export * + module * { export * } +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/CoreMaterial.tbd b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/CoreMaterial.tbd new file mode 100644 index 0000000..d5e4a1b --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/CoreMaterial.tbd @@ -0,0 +1,218 @@ +{ + "main_library": { + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + }, + "text": { + "global": [ + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "min_deployment": "2.5", + "target": "x86_64-xros-simulator" + }, + { + "min_deployment": "2.5", + "target": "arm64-xros-simulator" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Headers/CoreMaterial.h b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Headers/CoreMaterial.h new file mode 100644 index 0000000..665c44d --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Headers/CoreMaterial.h @@ -0,0 +1,52 @@ +// +// CoreMaterial.h +// CoreMaterial +// +// Audited for 1.0 +// Status: WIP + +#pragma once + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *MTCoreMaterialRecipe NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeDark; + +typedef NSString *MTCoreMaterialVisualStyleCategory NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryFill; +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryStroke; + +typedef NSString *MTCoreMaterialVisualStyle NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStylePrimary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSecondary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleTertiary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleQuaternary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSeparator; + +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsIncludeOptimizationsKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsReduceTransparencyKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsBundleKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key; + +FOUNDATION_EXPORT NSDictionary *_Nullable MTVisualStylingCreateDictionaryRepresentation( + MTCoreMaterialRecipe recipe, + MTCoreMaterialVisualStyleCategory category, + MTCoreMaterialVisualStyle style, + NSDictionary *options +); + +NS_ASSUME_NONNULL_END diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Info.plist b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Info.plist new file mode 100644 index 0000000..d696133 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + CoreMaterial + CFBundleIdentifier + com.apple.CoreMaterial + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Modules/module.modulemap b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Modules/module.modulemap new file mode 100644 index 0000000..698d4b3 --- /dev/null +++ b/CoreMaterial/2024/CoreMaterial.xcframework/xros-arm64-x86_64-simulator/CoreMaterial.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module CoreMaterial { + umbrella "." + export * + module * { export * } +} diff --git a/CoreMaterial/2024/Info.plist b/CoreMaterial/2024/Info.plist new file mode 100644 index 0000000..f1a402d --- /dev/null +++ b/CoreMaterial/2024/Info.plist @@ -0,0 +1,83 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + macos-arm64e-arm64-x86_64 + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64e + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + ios-arm64-arm64e + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + arm64e + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64-x86_64-simulator + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + xros-arm64-x86_64-simulator + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + xros + SupportedPlatformVariant + simulator + + + LibraryIdentifier + xros-arm64-arm64e + LibraryPath + CoreMaterial.framework + SupportedArchitectures + + arm64 + arm64e + + SupportedPlatform + xros + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/CoreMaterial/2024/Sources/Headers/CoreMaterial.h b/CoreMaterial/2024/Sources/Headers/CoreMaterial.h new file mode 100644 index 0000000..665c44d --- /dev/null +++ b/CoreMaterial/2024/Sources/Headers/CoreMaterial.h @@ -0,0 +1,52 @@ +// +// CoreMaterial.h +// CoreMaterial +// +// Audited for 1.0 +// Status: WIP + +#pragma once + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *MTCoreMaterialRecipe NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentUltraThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThinDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformContentThickDark; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeLight; +FOUNDATION_EXPORT MTCoreMaterialRecipe const MTCoreMaterialRecipePlatformChromeDark; + +typedef NSString *MTCoreMaterialVisualStyleCategory NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryFill; +FOUNDATION_EXPORT MTCoreMaterialVisualStyleCategory const MTCoreMaterialVisualStyleCategoryStroke; + +typedef NSString *MTCoreMaterialVisualStyle NS_TYPED_EXTENSIBLE_ENUM; + +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStylePrimary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSecondary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleTertiary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleQuaternary; +FOUNDATION_EXPORT MTCoreMaterialVisualStyle const MTCoreMaterialVisualStyleSeparator; + +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsIncludeOptimizationsKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsReduceTransparencyKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsBundleKey; +FOUNDATION_EXPORT NSString *const kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key; + +FOUNDATION_EXPORT NSDictionary *_Nullable MTVisualStylingCreateDictionaryRepresentation( + MTCoreMaterialRecipe recipe, + MTCoreMaterialVisualStyleCategory category, + MTCoreMaterialVisualStyle style, + NSDictionary *options +); + +NS_ASSUME_NONNULL_END diff --git a/CoreMaterial/2024/Sources/Info.plist b/CoreMaterial/2024/Sources/Info.plist new file mode 100644 index 0000000..d696133 --- /dev/null +++ b/CoreMaterial/2024/Sources/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + CoreMaterial + CFBundleIdentifier + com.apple.CoreMaterial + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CoreMaterial/2024/Sources/Modules/module.modulemap b/CoreMaterial/2024/Sources/Modules/module.modulemap new file mode 100644 index 0000000..698d4b3 --- /dev/null +++ b/CoreMaterial/2024/Sources/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module CoreMaterial { + umbrella "." + export * + module * { export * } +} diff --git a/CoreMaterial/2024/tbds/ios-arm64-arm64e/CoreMaterial.tbd b/CoreMaterial/2024/tbds/ios-arm64-arm64e/CoreMaterial.tbd new file mode 100644 index 0000000..51a0274 --- /dev/null +++ b/CoreMaterial/2024/tbds/ios-arm64-arm64e/CoreMaterial.tbd @@ -0,0 +1,299 @@ +{ + "main_library": { + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTCoreMaterialDefaultPlatformConfiguration._overrideRecipeBundleURL", + "MTCoreMaterialVisualStyling._composedFilter", + "MTCoreMaterialVisualStyling._compositingFilter", + "MTCoreMaterialVisualStyling._filterProperties", + "MTCoreMaterialVisualStyling._filterType", + "MTCoreMaterialVisualStyling._tintAlpha", + "MTCoreMaterialVisualStyling._tintColor", + "MTCoreMaterialVisualStyling._tintColorDescription", + "MTCoreMaterialVisualStyling._tintColorName", + "MTCoreMaterialVisualStyling._tintColorUIStyle", + "MTCoreMaterialVisualStyling._userInfo", + "MTCoreMaterialVisualStyling._visualStyleName", + "MTCoreMaterialVisualStyling._visualStyleSet", + "MTCoreMaterialVisualStylingProvider._observers", + "MTCoreMaterialVisualStylingProvider._visualStyleSet", + "MTMaterialLayer._allowsInPlaceFiltering", + "MTMaterialLayer._backdropScaleAdjustment", + "MTMaterialLayer._blurEnabled", + "MTMaterialLayer._contentReplacedWithSnapshot", + "MTMaterialLayer._debugIdentifier", + "MTMaterialLayer._defaultBackdropScaleAdjustment", + "MTMaterialLayer._materialLayerDelegateFlags", + "MTMaterialLayer._needsConfiguring", + "MTMaterialLayer._pendingChange", + "MTMaterialLayer._previousSettingsInterpolator", + "MTMaterialLayer._prunePromises", + "MTMaterialLayer._reduceMotionEnabled", + "MTMaterialLayer._reduceTransparencyEnabled", + "MTMaterialLayer._settingsInterpolator", + "MTMaterialLayer._shouldCrossfade", + "MTMaterialLayer._visualStyleCategoriesToProviders", + "MTMaterialLayer._zoomEnabled", + "MTMaterialSettingsInterpolator._blurRadiusTransformer", + "MTMaterialSettingsInterpolator._finalSettings", + "MTMaterialSettingsInterpolator._initialSettings", + "MTMaterialSettingsInterpolator._overlay", + "MTMaterialSettingsInterpolator._previousWeighting", + "MTMaterialSettingsInterpolator._weighting", + "MTPrunePromise._materialLayer", + "MTPrunePromise._promiseFulfilled", + "MTPrunePromise._timeStamp", + "MTRGBColor._alpha", + "MTRGBColor._blue", + "MTRGBColor._green", + "MTRGBColor._red", + "MTRecipeMaterialSettings._baseMaterialSettings", + "MTRecipeMaterialSettings._materialSettingsVersion", + "MTRecipeMaterialSettings._recipeName", + "MTRecipeMaterialSettings._styles", + "MTStylingProvidingSolidColorLayer._cmStylingProviders", + "MTTintingFilteringMaterialSettings._averageColorEnabled", + "MTTintingFilteringMaterialSettings._backdropScale", + "MTTintingFilteringMaterialSettings._blurAtEnd", + "MTTintingFilteringMaterialSettings._blurInputQuality", + "MTTintingFilteringMaterialSettings._blurRadius", + "MTTintingFilteringMaterialSettings._brightness", + "MTTintingFilteringMaterialSettings._colorMatrix", + "MTTintingFilteringMaterialSettings._curvesValues", + "MTTintingFilteringMaterialSettings._luminanceAmount", + "MTTintingFilteringMaterialSettings._luminanceValues", + "MTTintingFilteringMaterialSettings._saturation", + "MTTintingFilteringMaterialSettings._userInfo", + "MTTintingFilteringMaterialSettings._variableBlurInputMask", + "MTTintingFilteringMaterialSettings._variableBlurInputMaskName", + "MTTintingFilteringMaterialSettings._zoom", + "MTTintingMaterialSettings._tintAlpha", + "MTTintingMaterialSettings._tintColor", + "MTTintingMaterialSettings._tintColorDescription", + "MTTintingMaterialSettings._tintColorName", + "MTTintingMaterialSettings._tintColorUIStyle", + "MTVisualStyleSet._styleNamesToVisualStylings", + "MTVisualStyleSet._visualStyleSetName", + "MTVisualStyleSet._visualStyleSetVersion", + "MTVisualStyleSet._visualStylesToStyleNames", + "MTWhiteColor._alpha", + "MTWhiteColor._white" + ] + } + } + ], + "flags": [ + { + "attributes": [ + "flat_namespace" + ] + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "target": "armv7-ios" + }, + { + "target": "armv7s-ios" + }, + { + "target": "arm64-ios" + }, + { + "min_deployment": "14.0.0", + "target": "arm64e-ios" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/tbds/ios-arm64-x86_64-simulator/CoreMaterial.tbd b/CoreMaterial/2024/tbds/ios-arm64-x86_64-simulator/CoreMaterial.tbd new file mode 100644 index 0000000..7ecd3bf --- /dev/null +++ b/CoreMaterial/2024/tbds/ios-arm64-x86_64-simulator/CoreMaterial.tbd @@ -0,0 +1,240 @@ +{ + "main_library": { + "allowable_clients": [ + { + "clients": [ + "AssetViewer", + "CoreMaterialTester", + "MaterialKit", + "Materials", + "MaterialsPlugIn", + "MicaKit", + "PointerUIServices", + "SpringBoard", + "SpringBoard-Tests", + "SpringBoardHome", + "SwiftUI", + "SwiftUICore", + "UIKitCore", + "UIKitester", + "VisionKitCore", + "_SwiftUICore" + ] + } + ], + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + }, + "text": { + "global": [ + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "min_deployment": "18.5", + "target": "x86_64-ios-simulator" + }, + { + "min_deployment": "18.5", + "target": "arm64-ios-simulator" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/tbds/macos-arm64e-arm64-x86_64/CoreMaterial.tbd b/CoreMaterial/2024/tbds/macos-arm64e-arm64-x86_64/CoreMaterial.tbd new file mode 100644 index 0000000..f164876 --- /dev/null +++ b/CoreMaterial/2024/tbds/macos-arm64e-arm64-x86_64/CoreMaterial.tbd @@ -0,0 +1,253 @@ +{ + "main_library": { + "allowable_clients": [ + { + "clients": [ + "AssetViewer", + "CoreMaterialTester", + "MaterialKit", + "Materials", + "MaterialsPlugIn", + "MicaKit", + "PointerUIServices", + "SpringBoard", + "SpringBoard-Tests", + "SpringBoardHome", + "SwiftUI", + "SwiftUICore", + "UIKitCore", + "UIKitester", + "VisionKitCore", + "_SwiftUICore" + ] + } + ], + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTVisualStylingLayer", + "MTVisualStylingLayerHelper", + "MTVisualStylingTextLayer", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/Versions/A/CoreMaterial" + } + ], + "target_info": [ + { + "target": "x86_64-macos" + }, + { + "target": "x86_64-maccatalyst" + }, + { + "min_deployment": "11.0.0", + "target": "arm64-macos" + }, + { + "min_deployment": "14.0.0", + "target": "arm64-maccatalyst" + }, + { + "min_deployment": "11.0.0", + "target": "arm64e-macos" + }, + { + "min_deployment": "14.0.0", + "target": "arm64e-maccatalyst" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/tbds/xros-arm64-arm64e/CoreMaterial.tbd b/CoreMaterial/2024/tbds/xros-arm64-arm64e/CoreMaterial.tbd new file mode 100644 index 0000000..8f0332b --- /dev/null +++ b/CoreMaterial/2024/tbds/xros-arm64-arm64e/CoreMaterial.tbd @@ -0,0 +1,242 @@ +{ + "main_library": { + "allowable_clients": [ + { + "clients": [ + "AssetViewer", + "CoreMaterialTester", + "MaterialKit", + "Materials", + "MaterialsPlugIn", + "MicaKit", + "PointerUIServices", + "SpringBoard", + "SpringBoard-Tests", + "SpringBoardHome", + "StopwatchSupport", + "SwiftUI", + "SwiftUICore", + "UIKitCore", + "UIKitester", + "VisionKitCore", + "WorldClockSupport", + "_SwiftUICore" + ] + } + ], + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + }, + "text": { + "global": [ + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "min_deployment": "2.5", + "target": "arm64e-xros" + }, + { + "min_deployment": "2.5", + "target": "arm64-xros" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/2024/tbds/xros-arm64-x86_64-simulator/CoreMaterial.tbd b/CoreMaterial/2024/tbds/xros-arm64-x86_64-simulator/CoreMaterial.tbd new file mode 100644 index 0000000..b6662f9 --- /dev/null +++ b/CoreMaterial/2024/tbds/xros-arm64-x86_64-simulator/CoreMaterial.tbd @@ -0,0 +1,242 @@ +{ + "main_library": { + "allowable_clients": [ + { + "clients": [ + "AssetViewer", + "CoreMaterialTester", + "MaterialKit", + "Materials", + "MaterialsPlugIn", + "MicaKit", + "PointerUIServices", + "SpringBoard", + "SpringBoard-Tests", + "SpringBoardHome", + "StopwatchSupport", + "SwiftUI", + "SwiftUICore", + "UIKitCore", + "UIKitester", + "VisionKitCore", + "WorldClockSupport", + "_SwiftUICore" + ] + } + ], + "exported_symbols": [ + { + "data": { + "global": [ + "_CoreMaterialVersionNumber", + "_CoreMaterialVersionString", + "_MTCoreMaterialConfigurationAuxiliaryOverlay", + "_MTCoreMaterialConfigurationBaseMaterial", + "_MTCoreMaterialConfigurationBaseOverlay", + "_MTCoreMaterialConfigurationNone", + "_MTCoreMaterialConfigurationPrimaryOverlay", + "_MTCoreMaterialConfigurationSecondaryOverlay", + "_MTCoreMaterialRecipeAmbientCompact", + "_MTCoreMaterialRecipeCarPlayPlatters", + "_MTCoreMaterialRecipeCarPlayPlattersDark", + "_MTCoreMaterialRecipeDock", + "_MTCoreMaterialRecipeDockDark", + "_MTCoreMaterialRecipeKnowledgeBackground", + "_MTCoreMaterialRecipeKnowledgeBackgroundDark", + "_MTCoreMaterialRecipeKnowledgePlatters", + "_MTCoreMaterialRecipeKnowledgePlattersDark", + "_MTCoreMaterialRecipeKnowledgePlattersSheer", + "_MTCoreMaterialRecipeKnowledgePlattersSheerDark", + "_MTCoreMaterialRecipeModules", + "_MTCoreMaterialRecipeModulesBackground", + "_MTCoreMaterialRecipeModulesBackgroundSheer", + "_MTCoreMaterialRecipeModulesSheer", + "_MTCoreMaterialRecipeNone", + "_MTCoreMaterialRecipePlatformChromeDark", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparency", + "_MTCoreMaterialRecipePlatformChromeDarkReduceTransparencyLayer1", + "_MTCoreMaterialRecipePlatformChromeLight", + "_MTCoreMaterialRecipePlatformChromeLightReduceTransparency", + "_MTCoreMaterialRecipePlatformContentDark", + "_MTCoreMaterialRecipePlatformContentDisabled", + "_MTCoreMaterialRecipePlatformContentGlass", + "_MTCoreMaterialRecipePlatformContentGlassDarker", + "_MTCoreMaterialRecipePlatformContentGlassLighter", + "_MTCoreMaterialRecipePlatformContentGlassUltraDarker", + "_MTCoreMaterialRecipePlatformContentLight", + "_MTCoreMaterialRecipePlatformContentPinched", + "_MTCoreMaterialRecipePlatformContentSelected", + "_MTCoreMaterialRecipePlatformContentThickDark", + "_MTCoreMaterialRecipePlatformContentThickLight", + "_MTCoreMaterialRecipePlatformContentThickLightShadowed", + "_MTCoreMaterialRecipePlatformContentThinDark", + "_MTCoreMaterialRecipePlatformContentThinLight", + "_MTCoreMaterialRecipePlatformContentUltraThinDark", + "_MTCoreMaterialRecipePlatformContentUltraThinLight", + "_MTCoreMaterialRecipePlatters", + "_MTCoreMaterialRecipePlattersDark", + "_MTCoreMaterialRecipePreviewBackground", + "_MTCoreMaterialRecipeTintablePlatters", + "_MTCoreMaterialRecipeToolbarButtonBackground", + "_MTCoreMaterialVisualStyleCategoryFill", + "_MTCoreMaterialVisualStyleCategoryNone", + "_MTCoreMaterialVisualStyleCategoryOverlay", + "_MTCoreMaterialVisualStyleCategoryPlatformColor", + "_MTCoreMaterialVisualStyleCategoryStroke", + "_MTCoreMaterialVisualStyleHighlight", + "_MTCoreMaterialVisualStyleNone", + "_MTCoreMaterialVisualStylePlatformBlue", + "_MTCoreMaterialVisualStylePlatformGray", + "_MTCoreMaterialVisualStylePlatformGreen", + "_MTCoreMaterialVisualStylePlatformOrange", + "_MTCoreMaterialVisualStylePlatformTeal", + "_MTCoreMaterialVisualStylePrimary", + "_MTCoreMaterialVisualStyleQuaternary", + "_MTCoreMaterialVisualStyleSecondary", + "_MTCoreMaterialVisualStyleSeparator", + "_MTCoreMaterialVisualStyleTertiary", + "_MTLogConfiguration", + "_MTLogMaterials", + "_MTLogSubsystem", + "_kMTCAFilterPropertyNameInputAmount", + "_kMTCAFilterPropertyNameInputBlueYellowContrast", + "_kMTCAFilterPropertyNameInputColor0", + "_kMTCAFilterPropertyNameInputColor1", + "_kMTCAFilterPropertyNameInputColorBurn", + "_kMTCAFilterPropertyNameInputColorDarken", + "_kMTCAFilterPropertyNameInputColorDodge", + "_kMTCAFilterPropertyNameInputColorLighten", + "_kMTCAFilterPropertyNameInputColorMap", + "_kMTCAFilterPropertyNameInputColorMatrix", + "_kMTCAFilterPropertyNameInputDarkenAll", + "_kMTCAFilterPropertyNameInputDarkenShadowHighlights", + "_kMTCAFilterPropertyNameInputDarkenShadows", + "_kMTCAFilterPropertyNameInputDither", + "_kMTCAFilterPropertyNameInputHardEdges", + "_kMTCAFilterPropertyNameInputIncreaseSaturation", + "_kMTCAFilterPropertyNameInputMaskImage", + "_kMTCAFilterPropertyNameInputNormalizeEdges", + "_kMTCAFilterPropertyNameInputQuality", + "_kMTCAFilterPropertyNameInputRadius", + "_kMTCAFilterPropertyNameInputRedGreenContrast", + "_kMTCAFilterPropertyNameInputReversed", + "_kMTCAFilterPropertyNameInputSaturationAdjustment", + "_kMTCAFilterPropertyNameInputValues", + "_kMTCAFilterPropertyNameType", + "_kMTCoreMaterialStyleNamePlatformColorsDark", + "_kMTCoreMaterialStyleNamePlatformColorsLight", + "_kMTDictionaryRepresentationOptionsBundleKey", + "_kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key", + "_kMTDictionaryRepresentationOptionsIncludeOptimizationsKey", + "_kMTDictionaryRepresentationOptionsReduceTransparencyKey", + "_kMTDictionaryRepresentationOptionsUserInterfaceLevelKey" + ], + "objc_class": [ + "MTColor", + "MTCoreMaterialDefaultPlatformConfiguration", + "MTCoreMaterialVisualStyling", + "MTCoreMaterialVisualStylingProvider", + "MTMaterialLayer", + "MTMaterialSettingsInterpolator", + "MTPrunePromise", + "MTRGBColor", + "MTRecipeMaterialSettings", + "MTStylingProvidingSolidColorLayer", + "MTTintingFilteringMaterialSettings", + "MTTintingMaterialSettings", + "MTVisualStyleSet", + "MTWhiteColor" + ], + "objc_ivar": [ + "MTColor._cachedColor", + "MTPrunePromise._materialLayer", + "MTPrunePromise._timeStamp", + "MTTintingFilteringMaterialSettings._variableBlurInputMask" + ] + }, + "text": { + "global": [ + "_MTAllOrdinalVisualStyles", + "_MTAllPlatformColorVisualStyles", + "_MTAllVisualStyleCategories", + "_MTBuiltInScreenScale", + "_MTCAColorMatrixCreateDictionaryRepresentation", + "_MTCAColorMatrixEqualToMatrix", + "_MTCAColorMatrixInterpolate", + "_MTCAColorMatrixIsDictionaryRepresentation", + "_MTCAColorMatrixIsIdentity", + "_MTCAColorMatrixMakeWithDictionaryRepresentation", + "_MTCAColorMatrixMakeWithVibrantShadowAttributes", + "_MTCAFilterCurvesInputValuesKeys", + "_MTCGColorIsPerceivedLight", + "_MTCGColorPerceivedLightness", + "_MTCGImageCreateWithName", + "_MTCanGenerateVisualStylingDescriptionFromRecipeSettings", + "_MTCompareBlurInputQualities", + "_MTCompareObjectsWithOrder", + "_MTComposedFilterCreateDictionaryRepresentation", + "_MTCoreMaterialRecipeForVisualStyleFromRecipeFromBundle", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithName", + "_MTCoreMaterialRecipeForVisualStyleFromStyleWithNameFromBundle", + "_MTDefaultLuminanceColorMap", + "_MTDimensionsForContinuousCornerRadiusInBounds", + "_MTDiscoveredMaterialRecipes", + "_MTDynamicBlurRadiusGraphicsQuality", + "_MTEdgeOutsetsForCoreMaterialShadowProperties", + "_MTFilterKeyPathForFilter", + "_MTFloatEqualToFloat", + "_MTFloatIsOne", + "_MTFloatIsZero", + "_MTIOSurfaceCreate", + "_MTIdentityValueForFilter", + "_MTIsValidBlurInputQuality", + "_MTMaterialCreateDictionaryRepresentation", + "_MTMaterialCreateDictionaryRepresentationWithOptions", + "_MTMaterialSettingsForRecipe", + "_MTMaterialSettingsForRecipeFromBundle", + "_MTPreferredDisplayModeScale", + "_MTProtocolGetProperties", + "_MTRegisterCoreMaterialLogging", + "_MTResizableAreaForCornerDimensionsInBounds", + "_MTShadowImageCreateWithCoreMaterialShadowProperties", + "_MTSharedVisualStyleSetForRecipeAndCategory", + "_MTSharedVisualStyleSetForStyleNameFromBundle", + "_MTSharedVisualStyleSetGeneratedFromRecipe", + "_MTStylingProvidingSolidColorLayerHighlightStyleDictionary", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusDAmount", + "_MTStylingProvidingSolidColorLayerStyleDictionaryForPlusLAndWhiteTint", + "_MTSupportsDeepColor", + "_MTTintingFilteringSettingsCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentation", + "_MTVisualStylingCreateDictionaryRepresentationWithOptions", + "_MTVisualStylingSettingsCreateDictionaryRepresentation", + "__IdentityPropertyForFilterType", + "__MTCAColorMatrixFloydRound", + "__MTCreateDefaultLuminanceColorMap", + "__MTCurrentProduct", + "__MTDefaultBackdropScaleAdjustmentForWeighting", + "__MTGetCoreMaterialPlatformConfiguration", + "__MTLowQualityDevicesForDynamicBlurRadius", + "__MTSetCoreMaterialPlatformConfiguration" + ] + } + } + ], + "install_names": [ + { + "name": "/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial" + } + ], + "target_info": [ + { + "min_deployment": "2.5", + "target": "x86_64-xros-simulator" + }, + { + "min_deployment": "2.5", + "target": "arm64-xros-simulator" + } + ] + }, + "tapi_tbd_version": 5 +} diff --git a/CoreMaterial/README.md b/CoreMaterial/README.md new file mode 100644 index 0000000..2b4cab0 --- /dev/null +++ b/CoreMaterial/README.md @@ -0,0 +1,66 @@ +# CoreMaterial + +The header exposes material recipes, visual styles, dictionary options, and +`MTVisualStylingCreateDictionaryRepresentation`. + +[CoreMaterialExample](../Example/CoreMaterialExample) displays the dictionary +returned for the selected recipe, category, style, and options. Its workflow +builds the app for iOS, iOS Simulator, macOS, visionOS, and visionOS Simulator. + +## TBD Sources + +Release `2024` uses the following inputs. The TBD files contain the complete +exports from each input, including symbols that the header does not yet declare. + +| Slice | Input | +| --- | --- | +| `ios-arm64-arm64e` | [iOS 18.5 SDK stub](https://github.com/xybp888/iOS-SDKs/blob/4c6806ebec5353f202a8e39dafba158d52f057e4/iPhoneOS18.5.sdk/System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial.tbd) | +| `ios-arm64-x86_64-simulator` | CoreMaterial `202.5.1` from iOS 18.5 Simulator, build `22F77` | +| `macos-arm64e-arm64-x86_64` | CoreMaterial stub from the macOS 15.5 SDK in Xcode 16.4 | +| `xros-arm64-arm64e` | CoreMaterial `202.5.1` from the visionOS 2.5 device shared cache, build `22O473` | +| `xros-arm64-x86_64-simulator` | CoreMaterial `202.5.1` from visionOS 2.5 Simulator, build `22O473` | + +The simulator inputs are the universal binaries in +`System/Library/PrivateFrameworks/CoreMaterial.framework/CoreMaterial` under +each runtime root. The SDK inputs are the original `.tbd` files under the +same framework path; the macOS framework uses `Versions/A/CoreMaterial.tbd`. + +## Regenerate + +Run from the repository root. For each simulator binary or SDK stub, set its +input path and destination slice, then run TAPI: + +```shell +COREMATERIAL_INPUT="/path/to/CoreMaterial.framework/CoreMaterial" +COREMATERIAL_SLICE="ios-arm64-x86_64-simulator" +xcrun tapi stubify --no-compact "$COREMATERIAL_INPUT" \ + -o "CoreMaterial/2024/tbds/$COREMATERIAL_SLICE/CoreMaterial.tbd" +``` + +For the visionOS device slice, prepare the firmware cache as described in +[Device TBD Files](../README.md#device-tbd-files), then run: + +```shell +Scripts/generate_device_tbd.sh xros "/path/to/dyld_shared_cache_arm64e" CoreMaterial +``` + +That script extracts the device binary and runs TAPI. Cache symbol tables can +omit the leading underscore on Objective-C ivar names, which causes TAPI to +omit those exports. The script restores missing ivar exports from the binary's +export trie, then adds the `arm64` target beside `arm64e` for application +linking. It does not derive device exports from the simulator. + +The checked-in source stubs use JSON TBD v5 from TAPI 21. Preserve the generated +symbol lists. The SDK stubs can retain additional targets from their source; +the XCFramework manifest selects the supported package slices. + +Rebuild the XCFramework after updating the stubs or header: + +```shell +CoreMaterial/update.sh +``` + +`update.sh` copies the header and module map and removes `allowable_clients` +from each packaged stub so clients can link through this package. It preserves +all export groups and other TBD fields. The source files under `2024/tbds/` +retain the original client metadata. diff --git a/CoreMaterial/update.sh b/CoreMaterial/update.sh new file mode 100755 index 0000000..d0fc2ea --- /dev/null +++ b/CoreMaterial/update.sh @@ -0,0 +1,55 @@ +#!/bin/bash + +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" +VERSION=${DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE:-2024} +if [[ "$VERSION" != "2024" ]]; then + echo "CoreMaterial supports release 2024." >&2 + exit 1 +fi +FRAMEWORK_ROOT="$SCRIPT_DIR/$VERSION" +OUTPUT_ROOT="$FRAMEWORK_ROOT/CoreMaterial.xcframework" + +generate_framework() { + local slice="$1" + local framework="$OUTPUT_ROOT/$slice/CoreMaterial.framework" + local contents="$framework" + if [[ "$slice" == macos-* ]]; then + contents="$framework/Versions/A" + mkdir -p "$contents/Resources" + cp "$FRAMEWORK_ROOT/Sources/Info.plist" "$contents/Resources/Info.plist" + ln -sfn A "$framework/Versions/Current" + ln -sfn Versions/Current/Headers "$framework/Headers" + ln -sfn Versions/Current/Modules "$framework/Modules" + ln -sfn Versions/Current/Resources "$framework/Resources" + ln -sfn Versions/Current/CoreMaterial.tbd "$framework/CoreMaterial.tbd" + else + mkdir -p "$contents" + cp "$FRAMEWORK_ROOT/Sources/Info.plist" "$contents/Info.plist" + fi + # Keep the complete exports and allow clients to link through this package. + python3 - "$FRAMEWORK_ROOT/tbds/$slice/CoreMaterial.tbd" "$contents/CoreMaterial.tbd" <<'PYTHON' +import json +import sys + +source, destination = sys.argv[1:] +with open(source) as file: + stub = json.load(file) +stub["main_library"].pop("allowable_clients", None) +with open(destination, "w") as file: + json.dump(stub, file, indent=2) + file.write("\n") +PYTHON + cp -R "$FRAMEWORK_ROOT/Sources/Headers" "$contents/Headers" + cp -R "$FRAMEWORK_ROOT/Sources/Modules" "$contents/Modules" +} + +rm -rf "$OUTPUT_ROOT" +mkdir -p "$OUTPUT_ROOT" +cp "$FRAMEWORK_ROOT/Info.plist" "$OUTPUT_ROOT/Info.plist" +generate_framework macos-arm64e-arm64-x86_64 +generate_framework ios-arm64-arm64e +generate_framework ios-arm64-x86_64-simulator +generate_framework xros-arm64-arm64e +generate_framework xros-arm64-x86_64-simulator diff --git a/Example/CoreMaterialExample/ContentView.swift b/Example/CoreMaterialExample/ContentView.swift new file mode 100644 index 0000000..775375f --- /dev/null +++ b/Example/CoreMaterialExample/ContentView.swift @@ -0,0 +1,95 @@ +// +// ContentView.swift +// CoreMaterialExample +// + +import CoreMaterial +import Foundation +import SwiftUI + +struct ContentView: View { + @State private var recipe = MTCoreMaterialRecipe.platformContentLight + @State private var category = MTCoreMaterialVisualStyleCategory.fill + @State private var style = MTCoreMaterialVisualStyle.primary + @State private var includeOptimizations = true + @State private var reduceTransparency = false + #if os(visionOS) + @State private var filtersRepresentationV2 = true + #endif + + var body: some View { + Form { + Section("Material") { + Picker("Recipe", selection: $recipe) { + Text("Ultra thin light").tag(MTCoreMaterialRecipe.platformContentUltraThinLight) + Text("Ultra thin dark").tag(MTCoreMaterialRecipe.platformContentUltraThinDark) + Text("Thin light").tag(MTCoreMaterialRecipe.platformContentThinLight) + Text("Thin dark").tag(MTCoreMaterialRecipe.platformContentThinDark) + Text("Regular light").tag(MTCoreMaterialRecipe.platformContentLight) + Text("Regular dark").tag(MTCoreMaterialRecipe.platformContentDark) + Text("Thick light").tag(MTCoreMaterialRecipe.platformContentThickLight) + Text("Thick dark").tag(MTCoreMaterialRecipe.platformContentThickDark) + Text("Bar light").tag(MTCoreMaterialRecipe.platformChromeLight) + Text("Bar dark").tag(MTCoreMaterialRecipe.platformChromeDark) + } + Picker("Category", selection: $category) { + Text("Fill").tag(MTCoreMaterialVisualStyleCategory.fill) + Text("Stroke").tag(MTCoreMaterialVisualStyleCategory.stroke) + } + Picker("Style", selection: $style) { + Text("Primary").tag(MTCoreMaterialVisualStyle.primary) + Text("Secondary").tag(MTCoreMaterialVisualStyle.secondary) + Text("Tertiary").tag(MTCoreMaterialVisualStyle.tertiary) + Text("Quaternary").tag(MTCoreMaterialVisualStyle.quaternary) + Text("Separator").tag(MTCoreMaterialVisualStyle.separator) + } + } + + Section("Options") { + Toggle("Include optimizations", isOn: $includeOptimizations) + Toggle("Reduce transparency", isOn: $reduceTransparency) + #if os(visionOS) + Toggle("Use filter representation V2", isOn: $filtersRepresentationV2) + #endif + } + + Section("Dictionary") { + if let dictionary = materialDescription { + if dictionary.isEmpty { + Text("The material dictionary is empty.") + } + ForEach(dictionary.keys.sorted(), id: \.self) { key in + if let value = dictionary[key] { + VStack(alignment: .leading, spacing: 4) { + Text(key) + .font(.headline) + Text(String(describing: value)) + .font(.system(.caption, design: .monospaced)) + .textSelection(.enabled) + } + } + } + } else { + Text("CoreMaterial did not return a dictionary.") + .foregroundStyle(.secondary) + } + } + } + .formStyle(.grouped) + } + + private var materialDescription: [String: Any]? { + var options: [String: Any] = [ + kMTDictionaryRepresentationOptionsIncludeOptimizationsKey: includeOptimizations, + kMTDictionaryRepresentationOptionsReduceTransparencyKey: reduceTransparency, + ] + #if os(visionOS) + options[kMTDictionaryRepresentationOptionsFiltersRepresentationV2Key] = filtersRepresentationV2 + #endif + return MTVisualStylingCreateDictionaryRepresentation(recipe, category, style, options) + } +} + +#Preview { + ContentView() +} diff --git a/Example/CoreMaterialExample/ExampleApp.swift b/Example/CoreMaterialExample/ExampleApp.swift new file mode 100644 index 0000000..788acd5 --- /dev/null +++ b/Example/CoreMaterialExample/ExampleApp.swift @@ -0,0 +1,15 @@ +// +// ExampleApp.swift +// CoreMaterialExample +// + +import SwiftUI + +@main +struct ExampleApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Example/Project.swift b/Example/Project.swift index aa7baa8..51514f7 100644 --- a/Example/Project.swift +++ b/Example/Project.swift @@ -76,6 +76,21 @@ let project = Project( ], settings: .settings(base: baseSettings) ), + // MARK: CoreMaterialExample + .target( + name: "CoreMaterialExample", + destinations: [.iPhone, .iPad, .mac, .appleVision], + product: .app, + bundleId: "\(bundleIdPrefix).CoreMaterialExample", + deploymentTargets: deploymentTargets2024, + infoPlist: .extendingDefault(with: defaultInfoPlist), + sources: ["CoreMaterialExample/**"], + resources: sharedResources, + dependencies: [ + .external(name: "CoreMaterial"), + ], + settings: .settings(base: baseSettings) + ), // MARK: CoreSVGExample .target( name: "CoreSVGExample", diff --git a/Example/README.md b/Example/README.md index bb47ecc..4063b6f 100644 --- a/Example/README.md +++ b/Example/README.md @@ -34,12 +34,18 @@ This generates `Example.xcworkspace` — open it in Xcode to build and run the e | AGExample | AttributeGraph | iOS, macOS, visionOS | | RBExample | RenderBox | iOS, macOS, visionOS | | CoreUIExample | CoreUI | iOS, macOS, visionOS | +| CoreMaterialExample | CoreMaterial | iOS, macOS, visionOS | | CoreSVGExample | CoreSVG | iOS, macOS, visionOS | | BLSExample | BacklightServices | iOS, visionOS | | SFSymbolsExample | SFSymbols | iOS, macOS, visionOS | | GFExample | Gestures | iOS, macOS | | FeatureFlagsExample | FeatureFlags | iOS, macOS, visionOS | +`CoreMaterialExample` displays the dictionary returned by +`MTVisualStylingCreateDictionaryRepresentation`. Select a recipe, category, +and style, then change the optimization and transparency options. On visionOS, +the example also exposes the filter representation V2 option. + `FeatureFlagsExample` queries the system `SwiftUI.gestureContainer` flag and displays its enabled state. Use Refresh to query the flag again. diff --git a/Package.resolved b/Package.resolved index 2a73841..aad3098 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "0f554b4d0dc93ee3f94839b54b7860e10c62fbbcfbceda156af773a95ab065d8", + "originHash" : "9e56899dcde69471d15c9345e0b1858b2a113cdad1ed9d25b4b577820541ff29", "pins" : [ { "identity" : "swift-collections", diff --git a/Package.swift b/Package.swift index e6a64b5..4cab030 100644 --- a/Package.swift +++ b/Package.swift @@ -154,6 +154,7 @@ var products: [PackageDescription.Product] = [ .library(name: "AttributeGraph", targets: ["AttributeGraph", "_AttributeGraphDeviceSwiftShims"]), .library(name: "RenderBox", targets: ["RenderBox"]), .library(name: "CoreUI", targets: ["CoreUI"]), + .library(name: "CoreMaterial", targets: ["CoreMaterial"]), .library(name: "BacklightServices", targets: ["BacklightServices"]), .library(name: "SFSymbols", targets: ["SFSymbols"]), // The Symbols SPI uses RenderBox's symbol animation types. @@ -185,6 +186,7 @@ let package = Package( ), .binaryTarget(name: "RenderBox", path: "RB/2024/RenderBox.xcframework"), .binaryTarget(name: "CoreUI", path: "CoreUI/2024/CoreUI.xcframework"), + .binaryTarget(name: "CoreMaterial", path: "CoreMaterial/2024/CoreMaterial.xcframework"), .binaryTarget(name: "BacklightServices", path: "BLS/2024/BacklightServices.xcframework"), .binaryTarget(name: "SFSymbols", path: "SFSymbols/2024/SFSymbols.xcframework"), .binaryTarget(name: "Symbols", path: "Symbols/2024/Symbols.xcframework"), diff --git a/Plugins/UpdateXCFrameworks/UpdateXCFrameworksCommand.swift b/Plugins/UpdateXCFrameworks/UpdateXCFrameworksCommand.swift index 354be85..8330f8a 100644 --- a/Plugins/UpdateXCFrameworks/UpdateXCFrameworksCommand.swift +++ b/Plugins/UpdateXCFrameworks/UpdateXCFrameworksCommand.swift @@ -28,6 +28,8 @@ struct UpdateXCFrameworksCommand: CommandPlugin { // CoreUI try run(context: context, command: "CoreUI/reset.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"]) try run(context: context, command: "CoreUI/update.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"]) + // CoreMaterial + try run(context: context, command: "CoreMaterial/update.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"]) // BacklightServices try run(context: context, command: "BLS/reset.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"]) try run(context: context, command: "BLS/update.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"]) diff --git a/README.md b/README.md index b81eb29..0f3cd4b 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,13 @@ |[![AGExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/ag_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/ag_example.yml)| |[![RBExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/rb_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/rb_example.yml)| |[![CoreUIExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/coreui_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/coreui_example.yml)| +|[![CoreMaterialExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/corematerial_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/corematerial_example.yml)| |[![BLSExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/bls_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/bls_example.yml)| |[![GFExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/gf_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/gf_example.yml)| |[![SFSymbolsExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/sfsymbols_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/sfsymbols_example.yml)| |[![FeatureFlagsExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/featureflags_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/featureflags_example.yml)| -This project contains private frameworks and framework interfaces for Darwin platforms, including `AttributeGraph`, `RenderBox`, `CoreUI`, `BacklightServices`, `CoreSVG`, `Gestures`, `SFSymbols`, `Symbols`, and `FeatureFlags`. +This project contains private frameworks and framework interfaces for Darwin platforms, including `AttributeGraph`, `RenderBox`, `CoreUI`, `CoreMaterial`, `BacklightServices`, `CoreSVG`, `Gestures`, `SFSymbols`, `Symbols`, and `FeatureFlags`. The frameworks are provided as xcframeworks available for macOS, iOS Simulator, iOS[^1], visionOS Simulator, and visionOS platforms. @@ -32,6 +33,7 @@ The frameworks are provided as xcframeworks available for macOS, iOS Simulator, - `BLS/`: Contains the `BacklightServices` framework. - `CoreSVG/`: Contains the `CoreSVG` framework. - `CoreUI/`: Contains the `CoreUI` framework. +- `CoreMaterial/`: Contains the CoreMaterial recipe and visual-style interfaces. - `FeatureFlags/`: Contains the `FeatureFlags` Swift framework. - `GF/`: Contains the `Gestures` framework. - `RB/`: Contains the `RenderBox` framework. @@ -71,11 +73,12 @@ The cache is in `/22O473__RealityDevice14,1/dyld_shared_cache_arm64e` Generate the tbd files from it, then run the update command above: ```shell -Scripts/generate_device_tbd.sh xros "" AttributeGraph RenderBox CoreUI BacklightServices CoreSVG SFSymbols FeatureFlags +Scripts/generate_device_tbd.sh xros "" AttributeGraph RenderBox CoreUI CoreMaterial BacklightServices CoreSVG SFSymbols FeatureFlags ``` The script extracts each framework with `ipsw dyld extract`, writes its tbd -with `xcrun tapi stubify --no-compact`, and adds the arm64 target next to the +with `xcrun tapi stubify --no-compact`, restores any missing Objective-C ivar +exports from the binary's export trie, and adds the arm64 target next to the arm64e target of the cache. The output goes to `/2024/tbds/xros-arm64-arm64e/`. diff --git a/Scripts/generate_device_tbd.sh b/Scripts/generate_device_tbd.sh index 02d5781..651e96b 100755 --- a/Scripts/generate_device_tbd.sh +++ b/Scripts/generate_device_tbd.sh @@ -3,7 +3,8 @@ # Generate device tbd files from the dyld shared cache of a device firmware. # # The script extracts each framework from the cache with ipsw, writes its tbd -# with `tapi stubify --no-compact`, and adds the arm64 target. The cache holds +# with `tapi stubify --no-compact`, restores ObjC ivar exports from the export +# trie when needed, and adds the arm64 target. The cache holds # arm64e binaries, but third-party apps link the arm64 slice. # # Requirements: ipsw (https://github.com/blacktop/ipsw), Xcode, python3. @@ -86,14 +87,86 @@ for framework_name in "$@"; do mkdir -p "$target_dir" # Add the arm64 target after each arm64e target and keep the # `tapi stubify --no-compact` layout. - python3 - "$framework/$framework_name.tbd" "$target_dir/$framework_name.tbd" <<'PYTHON' + python3 - "$framework/$framework_name.tbd" "$target_dir/$framework_name.tbd" "$binary" <<'PYTHON' import json +import struct import sys -source, destination = sys.argv[1], sys.argv[2] +source, destination, binary = sys.argv[1:] with open(source) as file: stub = json.load(file) library = stub["main_library"] + +# Cache symbol tables can omit the leading underscore on ObjC ivars. +# TAPI then omits those ivars, although the export trie has their correct names. +with open(binary, "rb") as file: + data = file.read() +if data[:4] != b"\xcf\xfa\xed\xfe": + raise ValueError("Expected a little-endian 64-bit Mach-O binary") +command_count, = struct.unpack_from("