Skip to content

Instantly share code, notes, and snippets.

@chriseidhof
Last active February 21, 2023 05:12
Show Gist options
  • Save chriseidhof/8c91b37fdcf4a842206adb9704c7debb to your computer and use it in GitHub Desktop.
Save chriseidhof/8c91b37fdcf4a842206adb9704c7debb to your computer and use it in GitHub Desktop.
SwiftUI
import SwiftSyntax
import SwiftSemantics
import Foundation
let source = try! String(contentsOf: URL(fileURLWithPath: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/SwiftUI.framework/Modules/SwiftUI.swiftmodule/arm64e.swiftinterface"))
var collector = DeclarationCollector()
let tree = try SyntaxParser.parse(source: source)
tree.walk(&collector)
extension String {
var simplified: String {
return String(split(separator: ".").last!)
}
}
var allExtensions: [String:[String]] = Dictionary(collector.extensions.map { e in
(e.extendedType, e.inheritance)
}, uniquingKeysWith: { $0 + $1 })
var conformances: [String:Set<String>] = allExtensions.mapValues(Set.init)
protocol Decl {
var inheritance: [String] { get }
var name: String { get }
}
func getExtensions(name: String) -> [String] {
return allExtensions[name] ?? []
}
extension Decl {
func process() {
for prot in inheritance {
conformances[prot, default: []].insert(name)
}
}
}
extension Structure: Decl {}
extension Enumeration: Decl {}
extension Class: Decl {}
for s in collector.structures {
s.process()
}
for s in collector.enumerations {
s.process()
}
for s in collector.classes {
s.process()
}
for p in collector.protocols {
for p2 in p.inheritance {
conformances[p2, default: []].insert(p.name)
}
}
//extension Decl {
// var allInheritance: [String] {
// let result = inheritance + inheritance.flatMap(getExtensions) + getExtensions(name: name)
// return Array(Set(result))
// }
//}
func fix<A: Equatable>(_ value: A, _ apply: (A) -> A) -> A {
var result = value
while true {
let newResult = apply(result)
if newResult == result { return result }
result = newResult
}
}
extension Decl {
func print() {
Swift.print("###", name)
let inherits = inheritance + getExtensions(name: name)
let allInherits = fix(Set(inherits), { Set($0 + $0.flatMap { Set(getExtensions(name: $0)) } ) })
Swift.print(allInherits.sorted().map { " - \($0.simplified)" }.joined(separator: "\n"))
Swift.print("\n")
}
}
print("# Structs")
for s in collector.structures.sorted(by: { $0.name < $1.name }) {
s.print()
}
print("# Enums")
for s in collector.enumerations.sorted(by: { $0.name < $1.name }) {
s.print()
}
print("# Classes")
for s in collector.classes.sorted(by: { $0.name < $1.name }) {
s.print()
}
print("# Protocols")
for (prot, conformances) in conformances.sorted(by: { $0.key < $1.key }) {
print("###", prot)
let confs = fix(Set(conformances), { Set($0 + $0.flatMap { Set(getExtensions(name: $0)) } ) })
print(confs.sorted().map { " - \($0)" }.joined(separator: "\n"))
print("\n")
}

Structs

AccessibilityActionKind

  • Equatable

AccessibilityAttachmentModifier

AccessibilityChildBehavior

  • Hashable

AccessibilityTraits

  • SetAlgebra

ActionSheet

Alert

AligningContentProviderLayout

Alignment

  • Equatable

AlignmentKey

  • Comparable
  • Hashable

Anchor

Angle

  • Comparable
  • Hashable
  • Animatable
  • _VectorMath

AngularGradient

  • ShapeStyle
  • View

AnimatablePair

  • VectorArithmetic

Animation

  • CustomDebugStringConvertible
  • CustomReflectable
  • CustomStringConvertible

AnyGesture

AnyTransition

AnyView

  • View

Binding

  • DynamicProperty

Body

  • View

Body

  • View

Body

  • View

BorderedButtonStyle

  • PrimitiveButtonStyle

BorderlessButtonMenuButtonStyle

  • MenuButtonStyle

BorderlessButtonStyle

  • PrimitiveButtonStyle

BorderlessPullDownMenuButtonStyle

  • MenuButtonStyle

Button

  • View

Button

ButtonStyleConfiguration

CanTransitionTraitKey

  • _ViewTraitKey

Capsule

  • InsettableShape
  • Shape

CarouselListStyle

  • ListStyle

CheckboxToggleStyle

  • ToggleStyle

Circle

  • InsettableShape
  • Shape

Color

  • CustomStringConvertible
  • Hashable
  • ShapeStyle

Container

  • UnaryViewRoot

Content

  • View

Content

ContextMenu

Data

DatePicker

  • View

DatePickerComponents

  • OptionSet

DefaultButtonStyle

  • PrimitiveButtonStyle

DefaultDatePickerStyle

  • DatePickerStyle

DefaultListStyle

  • ListStyle

DefaultMenuButtonStyle

  • MenuButtonStyle

DefaultNavigationViewStyle

  • NavigationViewStyle

DefaultPickerStyle

  • PickerStyle

DefaultTextFieldStyle

  • TextFieldStyle

DefaultToggleStyle

  • ToggleStyle

DepthTraitKey

  • _ViewTraitKey

Divider

  • View

DoubleColumnNavigationViewStyle

  • NavigationViewStyle

DragGesture

DropInfo

DropProposal

EdgeInsets

  • Equatable
  • Animatable
  • _VectorMath

EditButton

  • View

Element

  • Identifiable
  • View

Ellipse

  • InsettableShape
  • Shape

EmptyAnimatableData

  • VectorArithmetic

EmptyModifier

EmptyView

Environment

  • DynamicProperty

EnvironmentObject

  • DynamicProperty

EnvironmentValues

  • CustomStringConvertible

EquatableView

  • View

EventModifiers

  • OptionSet

ExclusiveGesture

FetchRequest

  • DynamicProperty

FetchedResults

  • RandomAccessCollection

FieldDatePickerStyle

  • DatePickerStyle

FillStyle

  • Equatable

FixedRoundedRect

  • Equatable

Font

  • Hashable

ForEach

  • DynamicViewContent
  • View

ForegroundStyle

Form

  • View

FormatArgument

  • Equatable

GeometryProxy

GeometryReader

  • View

GestureMask

  • OptionSet

GestureState

  • DynamicProperty

GestureStateGesture

  • Gesture

Gradient

  • Equatable

GraphicalDatePickerStyle

  • DatePickerStyle

Group

  • View

GroupBox

  • View

GroupedListStyle

  • ListStyle

HSplitView

  • View

HStack

  • View

HorizontalAlignment

IDView

  • View

Image

  • Equatable

ImagePaint

  • ShapeStyle

IsAuxiliaryContentTraitKey

  • _ViewTraitKey

IsCollapsibleTraitKey

  • _ViewTraitKey

IsDeleteDisabledTraitKey

  • _ViewTraitKey

IsEmptyViewTraitKey

  • _ViewTraitKey

IsLinkedGroupTraitKey

  • _ViewTraitKey

IsMoveDisabledTraitKey

  • _ViewTraitKey

IsSectionFooterTraitKey

  • _ViewTraitKey

IsSectionedTraitKey

  • _ViewTraitKey

ItemProviderTraitKey

  • _ViewTraitKey

Label

  • View

Label

  • View

Label

  • View

Label

  • View

LayoutPriorityTraitKey

  • _ViewTraitKey

LinearGradient

  • ShapeStyle
  • View

LinkButtonStyle

  • PrimitiveButtonStyle

List

  • View

ListRowBackgroundTraitKey

  • _ViewTraitKey

ListRowInsetsTraitKey

  • _ViewTraitKey

ListRowPlatterColorTraitKey

  • _ViewTraitKey

LocalizedStringKey

  • Equatable
  • ExpressibleByStringInterpolation

LongPressGesture

MagnificationGesture

  • Gesture

Main

  • View

MenuButton

  • View

MenuDepthTraitKey

  • _ViewTraitKey

ModifiedContent

  • Equatable
  • DynamicViewContent
  • View
  • ViewModifier

NavigationBarItem

NavigationLink

  • View

NavigationView

  • View

Notch

ObservedObject

  • DynamicProperty

OffsetShape

  • InsettableShape
  • Shape

OnDeleteTraitKey

  • _ViewTraitKey

OnMoveTraitKey

  • _ViewTraitKey

PasteButton

  • View

Path

  • Equatable
  • LosslessStringConvertible
  • Shape

Picker

  • View

PlainButtonStyle

  • PrimitiveButtonStyle

PlainListStyle

  • ListStyle

PlainTextFieldStyle

  • TextFieldStyle

PopUpButtonPickerStyle

  • PickerStyle

PreferredColorSchemeKey

  • PreferenceKey

PresentationMode

PreviewDevice

  • ExpressibleByStringLiteral
  • RawRepresentable

PreviewDeviceTraitKey

  • _ViewTraitKey

PreviewDisplayNameTraitKey

  • _ViewTraitKey

PreviewLayoutTraitKey

  • _ViewTraitKey

PrimitiveButtonStyleConfiguration

ProjectionTransform

  • Equatable

Properties

  • OptionSet

PropertyList

  • CustomStringConvertible

PullDownMenuButtonStyle

  • MenuButtonStyle

RadialGradient

  • ShapeStyle
  • View

RadioGroupPickerStyle

  • PickerStyle

Rectangle

  • InsettableShape
  • Shape

RotatedShape

  • InsettableShape
  • Shape

RotationGesture

  • Gesture

RoundedBorderTextFieldStyle

  • TextFieldStyle

RoundedRectangle

  • InsettableShape
  • Shape

ScaledShape

  • Shape

ScrollView

  • View

Section

  • View

SecureField

  • View

SegmentedPickerStyle

  • PickerStyle

SelectionShapeStyle

  • ShapeStyle

SeparatorShapeStyle

  • ShapeStyle

SequenceGesture

Set

  • OptionSet

Set

  • OptionSet

SidebarListStyle

  • ListStyle

SimultaneousGesture

Slider

  • View

Source

Spacer

Spacing

SquareBorderTextFieldStyle

  • TextFieldStyle

StackNavigationViewStyle

  • NavigationViewStyle

State

  • DynamicProperty

Stepper

  • View

StepperFieldDatePickerStyle

  • DatePickerStyle

Stop

  • Equatable

StringInterpolation

  • StringInterpolationProtocol

StrokeStyle

  • Equatable
  • Animatable

StrokedPath

  • Equatable

SubscriptionView

SwitchToggleStyle

  • ToggleStyle

TabView

  • View

TagValueTraitKey

  • _ViewTraitKey

TapGesture

Text

  • Equatable
  • View

TextField

  • View

Toggle

  • View

ToggleStyleConfiguration

TouchBar

TouchBarCustomizationLabelTraitKey

  • _ViewTraitKey

TouchBarItemPresenceTraitKey

  • _ViewTraitKey

TouchBarItemPrincipalTraitKey

  • _ViewTraitKey

Transaction

TransformedShape

  • Shape

TransitionTraitKey

  • _ViewTraitKey

Tree

TrimmedPath

  • Equatable

TupleView

UIViewControllerRepresentableContext

UIViewRepresentableContext

UnitPoint

  • Hashable
  • Animatable

VSplitView

  • View

VStack

  • View

Value

Value

  • Equatable

VerticalAlignment

ViewBuilder

ViewDimensions

  • Equatable

Weight

  • Hashable

WheelDatePickerStyle

  • DatePickerStyle

WheelPickerStyle

  • PickerStyle

Wrapper

Wrapper

ZIndexTraitKey

  • _ViewTraitKey

ZStack

  • View

_AligningContentProvider

  • _ScrollableContentProvider

_AlignmentLayout

_AlignmentWritingModifier

  • ViewModifier

_AllowsHitTestingModifier

  • Equatable
  • ViewModifier

_AnchorTransformModifier

  • ViewModifier

_AnchorWritingModifier

  • ViewModifier

_AnchoredShapeStyle

  • ShapeStyle

_AnimationModifier

  • Equatable
  • ViewModifier

_AppearanceActionModifier

  • ViewModifier

_AspectRatioLayout

_BackgroundModifier

  • Equatable
  • ViewModifier

_BlendModeEffect

  • Equatable

_BlurEffect

  • Equatable

_Body

  • View

_BrightnessEffect

  • Equatable

_ButtonGesture

_ChangedGesture

_CircleLayout

_ClipEffect

_ColorInvertEffect

  • Equatable

_ColorMultiplyEffect

  • Equatable
  • EnvironmentalModifier

_CompositingGroupEffect

  • Equatable

_ConditionalContent

  • View

_ConfigurableContentWriter

  • ViewModifier
  • _GraphInputsModifier

_ContainedScrollViewKey

_ContentShapeModifier

  • ViewModifier

_ContextMenuContainer

  • Root

_ContrastEffect

  • Equatable

_CoordinateSpaceModifier

  • Equatable
  • ViewModifier

_DatePickerStyleLabel

  • View

_DelayedPreferenceView

  • View

_DetachableProperties

  • OptionSet

_DetachedKey

  • _Detachable

_DetachedPlaceholder

  • View

_DetachedView

  • View

_DigitalCrownConfiguration

_DigitalCrownModifier

  • ViewModifier

_DisclosureIndicator

  • View

_DraggingModifier

  • ViewModifier

_DrawingGroupEffect

  • Equatable
  • ViewModifier

_DynamicPropertyBuffer

_EmptyDetached

  • _Detachable

_EndedGesture

_EnvironmentKeyTransformModifier

  • ViewModifier
  • _GraphInputsModifier

_EnvironmentKeyWritingModifier

  • ViewModifier
  • _GraphInputsModifier

_EventDebugTriggers

  • OptionSet

_EventDirections

  • OptionSet

_FixedSizeLayout

_FlexFrameLayout

_FlipForRTLEffect

  • Equatable
  • ViewModifier

_FocusableModifier

  • ViewModifier

_FrameLayout

_GestureInputs

_GestureOutputs

_Graph

_GraphInputs

_GraphValue

  • Equatable

_GrayscaleEffect

  • Equatable

_HSpacer

_HSplitViewContainer

  • UnaryViewRoot

_HStackLayout

_HiddenModifier

  • ViewModifier

_HoverRegionModifier

  • ViewModifier

_HueRotationEffect

  • Equatable

_IdentifiedModifier

  • Equatable
  • ViewModifier

_IdentifiedViewProxy

_IdentifiedViewsKey

_IgnoredByLayoutEffect

  • Equatable
  • GeometryEffect

_Inset

  • InsettableShape

_Inset

  • InsettableShape

_Inset

  • InsettableShape

_Inset

  • InsettableShape

_Inset

  • InsettableShape

_IsLinkedGroupTraitKey

_LayoutTraits

  • CustomStringConvertible
  • Equatable

_ListValue

_LuminanceToAlphaEffect

  • Equatable

_MapGesture

_MaskEffect

  • Equatable
  • ViewModifier

_MenuButtonStyleConfiguration

_ModifiersGesture

  • Gesture

_NavigationViewStyleConfiguration

_OffsetEffect

  • Equatable
  • GeometryEffect

_OpacityEffect

  • Equatable

_OverlayLayout

_OverlayModifier

  • Equatable
  • ViewModifier

_PaddingLayout

_PagingView

  • View

_PagingViewConfig

  • Equatable

_PickerValue

_Placement

  • Equatable

_PlainPopUpButtonStyle

  • _PopUpButtonStyle

_PositionLayout

_PreferenceActionModifier

  • ViewModifier

_PreferenceReadingView

  • View

_PreferenceTransformModifier

  • ViewModifier

_PreferenceValue

_PreferenceWritingModifier

  • Equatable
  • ViewModifier

_Preview

_ProjectionEffect

  • Equatable
  • GeometryEffect

_ProminentPopUpButtonStyle

  • _PopUpButtonStyle

_ProposedSize

  • Hashable

_PullDownButton

  • View

_PullDownButtonContainer

  • UnaryViewRoot

_PullDownButtonValue

_PushPopTransactionModifier

  • ViewModifier

_Resolved

_Resolved

_ResolvedPopUpButton

  • View

_Rotation3DEffect

  • Equatable
  • GeometryEffect

_RotationEffect

  • Equatable
  • GeometryEffect

_SafeAreaIgnoringLayout

_SaturationEffect

  • Equatable

_ScaleEffect

  • Equatable
  • GeometryEffect

_ScrollLayout

  • Equatable

_ScrollView

  • View

_ScrollViewConfig

_ScrollViewProxy

  • Equatable

_ScrollViewRoot

  • View

_ScrollableLayoutItem

  • Equatable

_ScrollableLayoutProxy

  • RandomAccessCollection

_ScrollableLayoutView

  • View
  • _ScrollableContentProvider

_ShadowEffect

  • Equatable
  • EnvironmentalModifier

_ShapeView

  • View

_SizedShape

  • Shape

_StrokedShape

  • Shape

_SymmetricallyScaledText

  • View

_SystemShapeStyle

  • ShapeStyle

_TestApp

_TextFieldStyleLabel

  • View

_TexturedPopUpButtonStyle

  • _PopUpButtonStyle

_TexturedPullDownMenuButtonStyle

  • MenuButtonStyle

_TouchBarModifier

  • ViewModifier

_TraitWritingModifier

_TransactionModifier

  • ViewModifier
  • _GraphInputsModifier

_TransformEffect

  • Equatable
  • GeometryEffect

_TrimmedShape

  • Shape

_UnaryViewAdaptor

  • View

_VSpacer

_VSplitViewContainer

  • UnaryViewRoot

_VStackLayout

_VariadicView_Children

  • RandomAccessCollection
  • View

_Velocity

  • AdditiveArithmetic
  • Comparable
  • Equatable
  • Animatable
  • VectorArithmetic

_ViewInputs

_ViewListInputs

_ViewListOutputs

_ViewModifier_Content

_ViewOutputs

_WKStoryboardContent

  • View

_ZStackLayout

__BedtimeTickLabelsLayout

__DesignTimeSelectionIdentifier

  • Hashable

__FluidSpringTestLayout

__FourUpLayout

__GridLayout

__IconLayout

__RadialLayout

__Random

  • Equatable

__ResizableImagesExampleLayout

__ScaleToFitView

  • View

__SetFrameLayout

__SimpleColumnLayout

__SpiralLayout

__UniversalListStyle

  • ListStyle

__ViewRemovalLayout

Enums

AccessibilityAdjustmentDirection

Axis

  • CaseIterable
  • CustomStringConvertible
  • Int8

BlendMode

ColorRenderingMode

ColorScheme

  • CaseIterable

ColorSchemeContrast

  • CaseIterable

Content

ContentMode

  • CaseIterable
  • Hashable

ContentOffset

ContentSizeCategory

  • CaseIterable
  • Hashable

ControlActiveState

  • CaseIterable
  • Equatable

ControlSize

  • CaseIterable

CoordinateSpace

  • Equatable
  • Hashable

Design

  • Hashable

DigitalCrownRotationalSensitivity

Direction

DropOperation

Edge

  • CaseIterable
  • Int8

EditMode

Element

  • Equatable

FillDirection

Interpolation

LayoutDirection

  • CaseIterable
  • Hashable

LegibilityWeight

  • Hashable

Log

Modifier

  • Equatable

MoveCommandDirection

Orientation

  • CaseIterable
  • Hashable
  • UInt8

PopoverAttachmentAnchor

PreviewLayout

PreviewPlatform

Property

  • Hashable
  • UInt32

RGBColorSpace

ResizingMode

RoundedCornerStyle

Scale

Storage

  • Equatable

Storage

  • Equatable

Storage

Strength

TemplateRenderingMode

TextAlignment

  • CaseIterable
  • Hashable

TextStyle

  • CaseIterable

TitleDisplayMode

TouchBarItemPresence

TruncationMode

UserInterfaceSizeClass

Value

Value

Value

_CrownHapticsConfiguration

_DeviceVariant

  • Equatable

_DigitalCrownDecelerationRate

_IdentifiedViewTree

_ScrollViewAnimationMode

_StylisticAlternative

  • Hashable
  • Int

_VAlignment

_VariadicView

_ViewDebug

__App

Classes

AnchorBoxBase

AnchorValueBoxBase

AnimationBoxBase

AnyColorBox

AnyFontBox

AnyGestureStorageBase

AnyImageProviderBox

AnyLocation

  • AnyLocationBase

AnyLocationBase

AnyTextModifier

AnyTextStorage

AnyTransitionBox

AnyViewStorageBase

Element

  • CustomStringConvertible

PathBox

  • Equatable

Tracker

UIHostingController

  • _UIHostingViewable
  • UIViewController

_UIHostingView

  • UIView

Protocols

AccessibilityChildBehavior

AlignmentID

Anchor.Source

Angle

  • Swift.Comparable
  • Swift.Hashable
  • SwiftUI.Animatable
  • SwiftUI._VectorMath

Animatable

AnimatableModifier

Animation

  • Swift.CustomDebugStringConvertible
  • Swift.CustomReflectable
  • Swift.CustomStringConvertible

AnyObject

  • _UIHostingViewable

AnyTransition

Axis

  • Swift.CustomStringConvertible

Binding

  • SwiftUI.DynamicProperty

Button

CGFloat

  • SwiftUI.VectorArithmetic
  • SwiftUI._FormatSpecifiable

CGPoint

  • SwiftUI.Animatable

CGRect

  • SwiftUI.Animatable

CGSize

  • SwiftUI.Animatable

Capsule

  • SwiftUI.InsettableShape

Circle

  • SwiftUI.InsettableShape

Color

  • SwiftUI.ShapeStyle

CoordinateSpace

  • Swift.Equatable
  • Swift.Hashable

DatePicker

Double

  • SwiftUI.VectorArithmetic
  • SwiftUI._FormatSpecifiable

DropDelegate

DynamicProperty

DynamicViewContent

EdgeInsets

  • SwiftUI.Animatable
  • SwiftUI._VectorMath

Ellipse

  • SwiftUI.InsettableShape

EnvironmentValues

EnvironmentalModifier

ExclusiveGesture.Value

  • Swift.Equatable

FetchRequest

Float

  • SwiftUI.VectorArithmetic
  • SwiftUI._FormatSpecifiable

Font

ForEach

  • SwiftUI.DynamicViewContent
  • SwiftUI.View

GeometryEffect

Gesture

GestureState

Group

  • SwiftUI.View

GroupBox

HorizontalAlignment

IDView

Image

InsettableShape

Int

  • SwiftUI._FormatSpecifiable

Int16

  • SwiftUI._FormatSpecifiable

Int32

  • SwiftUI._FormatSpecifiable

Int64

  • SwiftUI._FormatSpecifiable

Int8

  • SwiftUI._FormatSpecifiable

List

MenuButton

ModifiedContent

  • Swift.Equatable
  • SwiftUI.DynamicViewContent
  • SwiftUI.View
  • SwiftUI.ViewModifier

MutableCollection

NavigationLink

Never

  • SwiftUI.View

ObservableObject

ObservedObject

OffsetShape

  • SwiftUI.InsettableShape

Optional

  • SwiftUI.Gesture
  • SwiftUI.View

Path

  • SwiftUI.Shape

Picker

PreferenceKey

PreviewProvider

ProjectionTransform

  • Swift.Equatable

PropertyList

RangeReplaceableCollection

Rectangle

  • SwiftUI.InsettableShape

RotatedShape

  • SwiftUI.InsettableShape

RoundedRectangle

  • SwiftUI.InsettableShape

Section

  • SwiftUI.View

SecureField

SequenceGesture.Value

  • Swift.Equatable

Shape

ShapeStyle

SimultaneousGesture.Value

  • Swift.Equatable
  • Swift.Hashable

Slider

State

Stepper

StrokeStyle

  • SwiftUI.Animatable

Swift.AdditiveArithmetic

  • VectorArithmetic

Swift.CaseIterable

  • Axis
  • ColorScheme
  • ColorSchemeContrast
  • ContentMode
  • ContentSizeCategory
  • ControlActiveState
  • ControlSize
  • Edge
  • LayoutDirection
  • Orientation
  • Swift.CustomStringConvertible
  • TextAlignment
  • TextStyle

Swift.Comparable

  • AlignmentKey

Swift.CustomStringConvertible

  • Color
  • Element
  • EnvironmentValues
  • PropertyList
  • SwiftUI.ShapeStyle

Swift.Equatable

  • AccessibilityActionKind
  • Alignment
  • ControlActiveState
  • EdgeInsets
  • Element
  • FillStyle
  • FixedRoundedRect
  • FormatArgument
  • Gradient
  • Image
  • LocalizedStringKey
  • Modifier
  • Path
  • PathBox
  • Stop
  • Storage
  • StrokeStyle
  • StrokedPath
  • Swift.AdditiveArithmetic
  • Swift.Comparable
  • Swift.CustomStringConvertible
  • SwiftUI.Animatable
  • SwiftUI.Shape
  • SwiftUI.VectorArithmetic
  • SwiftUI.View
  • SwiftUI._VectorMath
  • Text
  • TrimmedPath
  • Value
  • _AllowsHitTestingModifier
  • _BlendModeEffect
  • _BlurEffect
  • _BrightnessEffect
  • _ColorInvertEffect
  • _ColorMultiplyEffect
  • _CompositingGroupEffect
  • _ContrastEffect
  • _CoordinateSpaceModifier
  • _DeviceVariant
  • _DrawingGroupEffect
  • _FlipForRTLEffect
  • _FormatSpecifiable
  • _GraphValue
  • _GrayscaleEffect
  • _HueRotationEffect
  • _IdentifiedModifier
  • _LayoutTraits
  • _LuminanceToAlphaEffect
  • _OffsetEffect
  • _OpacityEffect
  • _PagingViewConfig
  • _Placement
  • _ProjectionEffect
  • _Rotation3DEffect
  • _RotationEffect
  • _SaturationEffect
  • _ScaleEffect
  • _ScrollLayout
  • _ScrollViewProxy
  • _ScrollableLayoutItem
  • _ShadowEffect
  • _TransformEffect
  • _Velocity
  • __Random

Swift.ExpressibleByStringInterpolation

  • LocalizedStringKey

Swift.ExpressibleByStringLiteral

  • PreviewDevice

Swift.Hashable

  • AccessibilityChildBehavior
  • AlignmentKey
  • Color
  • ContentMode
  • ContentSizeCategory
  • Design
  • Font
  • LayoutDirection
  • LegibilityWeight
  • Orientation
  • Property
  • SwiftUI.Animatable
  • SwiftUI.ShapeStyle
  • TextAlignment
  • UnitPoint
  • Weight
  • _StylisticAlternative
  • __DesignTimeSelectionIdentifier

Swift.Identifiable

  • Element

Swift.Int

  • _StylisticAlternative

Swift.Int8

  • Axis
  • Edge
  • Swift.CustomStringConvertible

Swift.LosslessStringConvertible

  • Path
  • SwiftUI.Shape

Swift.Never

  • SwiftUI.Gesture

Swift.OptionSet

  • DatePickerComponents
  • EventModifiers
  • GestureMask
  • Properties
  • Set
  • _DetachableProperties
  • _EventDebugTriggers
  • _EventDirections

Swift.RandomAccessCollection

  • FetchedResults
  • _ScrollableLayoutProxy

Swift.RawRepresentable

  • PreviewDevice

Swift.SetAlgebra

  • AccessibilityTraits

Swift.StringInterpolationProtocol

  • StringInterpolation

Swift.UInt32

  • Property

Swift.UInt8

  • Orientation

SwiftUI.AccessibilityAdjustmentDirection

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.AccessibilityAttachmentModifier

  • SwiftUI.ViewModifier

SwiftUI.Animatable

  • AnimatableModifier
  • GeometryEffect
  • Shape
  • _AnimatableView
  • _ScrollableLayout
  • _VectorMath

SwiftUI.Animation

  • Swift.Equatable

SwiftUI.AnyGesture

  • SwiftUI.Gesture

SwiftUI.AnyLocationBase

  • AnyLocation

SwiftUI.Axis

  • Swift.Hashable
  • Swift.RawRepresentable

SwiftUI.BlendMode

  • Swift.Hashable

SwiftUI.Color

  • SwiftUI.View

SwiftUI.Color.RGBColorSpace

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.ColorRenderingMode

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.ColorScheme

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.ColorSchemeContrast

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.ControlActiveState

  • Swift.Hashable

SwiftUI.ControlSize

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.DatePickerStyle

  • DefaultDatePickerStyle
  • FieldDatePickerStyle
  • GraphicalDatePickerStyle
  • StepperFieldDatePickerStyle
  • WheelDatePickerStyle

SwiftUI.DigitalCrownRotationalSensitivity

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.DragGesture

  • SwiftUI.Gesture

SwiftUI.DropOperation

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.DynamicProperty

  • Environment
  • EnvironmentObject
  • FetchRequest
  • GestureState
  • ObservedObject
  • State

SwiftUI.Edge

  • Swift.Hashable
  • Swift.RawRepresentable

SwiftUI.EditMode

  • Swift.Hashable

SwiftUI.EmptyModifier

  • SwiftUI.ViewModifier

SwiftUI.EmptyView

  • SwiftUI.View

SwiftUI.EnvironmentalModifier

  • _ColorMultiplyEffect
  • _ShadowEffect

SwiftUI.ExclusiveGesture

  • SwiftUI.Gesture

SwiftUI.Font.TextStyle

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.Font._StylisticAlternative

  • Swift.RawRepresentable

SwiftUI.ForegroundStyle

  • SwiftUI.ShapeStyle

SwiftUI.GeometryEffect

  • Swift.Equatable
  • _IgnoredByLayoutEffect
  • _OffsetEffect
  • _ProjectionEffect
  • _Rotation3DEffect
  • _RotationEffect
  • _ScaleEffect
  • _TransformEffect

SwiftUI.Gesture

  • GestureStateGesture
  • MagnificationGesture
  • RotationGesture
  • _ModifiersGesture

SwiftUI.HorizontalAlignment

  • Swift.Equatable

SwiftUI.Image

  • SwiftUI.View

SwiftUI.Image.Interpolation

  • Swift.Hashable

SwiftUI.Image.Orientation

  • Swift.RawRepresentable

SwiftUI.Image.ResizingMode

  • Swift.Hashable

SwiftUI.Image.Scale

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.Image.TemplateRenderingMode

  • Swift.Hashable

SwiftUI.InsettableShape

  • _Inset

SwiftUI.ListStyle

  • CarouselListStyle
  • DefaultListStyle
  • GroupedListStyle
  • PlainListStyle
  • SidebarListStyle
  • __UniversalListStyle

SwiftUI.LongPressGesture

  • SwiftUI.Gesture

SwiftUI.MenuButtonStyle

  • BorderlessButtonMenuButtonStyle
  • BorderlessPullDownMenuButtonStyle
  • DefaultMenuButtonStyle
  • PullDownMenuButtonStyle
  • _TexturedPullDownMenuButtonStyle

SwiftUI.MoveCommandDirection

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.NavigationBarItem.TitleDisplayMode

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.NavigationViewStyle

  • DefaultNavigationViewStyle
  • DoubleColumnNavigationViewStyle
  • StackNavigationViewStyle

SwiftUI.PickerStyle

  • DefaultPickerStyle
  • PopUpButtonPickerStyle
  • RadioGroupPickerStyle
  • SegmentedPickerStyle
  • WheelPickerStyle

SwiftUI.PreferenceKey

  • PreferredColorSchemeKey

SwiftUI.PreviewPlatform

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.PrimitiveButtonStyle

  • BorderedButtonStyle
  • BorderlessButtonStyle
  • DefaultButtonStyle
  • LinkButtonStyle
  • PlainButtonStyle

SwiftUI.RoundedCornerStyle

  • Swift.Hashable

SwiftUI.SequenceGesture

  • SwiftUI.Gesture

SwiftUI.Shape

  • Capsule
  • Circle
  • Ellipse
  • InsettableShape
  • OffsetShape
  • Rectangle
  • RotatedShape
  • RoundedRectangle
  • ScaledShape
  • SwiftUI.InsettableShape
  • TransformedShape
  • _SizedShape
  • _StrokedShape
  • _TrimmedShape

SwiftUI.ShapeStyle

  • AngularGradient
  • ImagePaint
  • LinearGradient
  • RadialGradient
  • SelectionShapeStyle
  • SeparatorShapeStyle
  • _AnchoredShapeStyle
  • _SystemShapeStyle

SwiftUI.SimultaneousGesture

  • SwiftUI.Gesture

SwiftUI.Spacer

  • SwiftUI.View

SwiftUI.SubscriptionView

  • SwiftUI.View

SwiftUI.TapGesture

  • SwiftUI.Gesture

SwiftUI.Text.TruncationMode

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.TextFieldStyle

  • DefaultTextFieldStyle
  • PlainTextFieldStyle
  • RoundedBorderTextFieldStyle
  • SquareBorderTextFieldStyle

SwiftUI.ToggleStyle

  • CheckboxToggleStyle
  • DefaultToggleStyle
  • SwitchToggleStyle

SwiftUI.TupleView

  • SwiftUI.View

SwiftUI.UserInterfaceSizeClass

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.VectorArithmetic

  • AnimatablePair
  • EmptyAnimatableData

SwiftUI.VerticalAlignment

  • Swift.Equatable

SwiftUI.View

  • AngularGradient
  • AnyView
  • Body
  • Button
  • Content
  • DatePicker
  • Divider
  • DynamicViewContent
  • EditButton
  • Element
  • EquatableView
  • Form
  • GeometryReader
  • GroupBox
  • HSplitView
  • HStack
  • IDView
  • Label
  • LinearGradient
  • List
  • Main
  • MenuButton
  • NavigationLink
  • NavigationView
  • PasteButton
  • Picker
  • RadialGradient
  • ScrollView
  • SecureField
  • Shape
  • Slider
  • Stepper
  • SwiftUI._ScrollableContentProvider
  • TabView
  • TextField
  • Toggle
  • UIViewControllerRepresentable
  • UIViewRepresentable
  • VSplitView
  • VStack
  • ZStack
  • _AnimatableView
  • _Body
  • _DataProviderView
  • _DatePickerStyleLabel
  • _DelayedPreferenceView
  • _DetachedPlaceholder
  • _DetachedView
  • _DisclosureIndicator
  • _PagingView
  • _PreferenceReadingView
  • _PullDownButton
  • _ResolvedPopUpButton
  • _ScrollView
  • _ScrollViewRoot
  • _ScrollableLayoutView
  • _ShapeView
  • _SymmetricallyScaledText
  • _TextFieldStyleLabel
  • _UnaryViewAdaptor
  • _WKStoryboardContent
  • __ScaleToFitView

SwiftUI.ViewModifier

  • AnimatableModifier
  • EnvironmentalModifier
  • GeometryEffect
  • Swift.Equatable
  • _AlignmentWritingModifier
  • _AllowsHitTestingModifier
  • _AnchorTransformModifier
  • _AnchorWritingModifier
  • _AnimationModifier
  • _AppearanceActionModifier
  • _BackgroundModifier
  • _ConfigurableContentWriter
  • _ContentShapeModifier
  • _CoordinateSpaceModifier
  • _DigitalCrownModifier
  • _DraggingModifier
  • _DrawingGroupEffect
  • _EnvironmentKeyTransformModifier
  • _EnvironmentKeyWritingModifier
  • _FlipForRTLEffect
  • _FocusableModifier
  • _HiddenModifier
  • _HoverRegionModifier
  • _IdentifiedModifier
  • _MaskEffect
  • _OverlayModifier
  • _PreferenceActionModifier
  • _PreferenceTransformModifier
  • _PreferenceWritingModifier
  • _PushPopTransactionModifier
  • _TouchBarModifier
  • _TransactionModifier

SwiftUI._AligningContentProvider.AligningContentProviderLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._AlignmentLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._AspectRatioLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._BlendModeEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._BlurEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._BrightnessEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._ButtonGesture

  • SwiftUI.Gesture

SwiftUI._ChangedGesture

  • SwiftUI.Gesture

SwiftUI._CircleLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI._ClipEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._ColorInvertEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._ColorMultiplyEffect._Resolved

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._CompositingGroupEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._ContainedScrollViewKey

  • SwiftUI.PreferenceKey

SwiftUI._ContrastEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._CrownHapticsConfiguration.Notch.Strength

  • Swift.Equatable
  • Swift.Hashable

SwiftUI._Detachable

  • _DetachedKey
  • _EmptyDetached

SwiftUI._DeviceVariant

  • Swift.Hashable

SwiftUI._DigitalCrownDecelerationRate

  • Swift.Equatable
  • Swift.Hashable

SwiftUI._EndedGesture

  • SwiftUI.Gesture

SwiftUI._FixedSizeLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._FlexFrameLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._FrameLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._GraphInputsModifier

  • _ConfigurableContentWriter
  • _EnvironmentKeyTransformModifier
  • _EnvironmentKeyWritingModifier
  • _TransactionModifier

SwiftUI._GrayscaleEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._HSpacer

  • SwiftUI.View

SwiftUI._HStackLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI._HueRotationEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._IdentifiedViewsKey

  • SwiftUI.PreferenceKey

SwiftUI._LuminanceToAlphaEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._MapGesture

  • SwiftUI.Gesture

SwiftUI._NavigationViewStyleConfiguration.Content

  • SwiftUI.View

SwiftUI._OpacityEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._OverlayLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot
  • SwiftUI._VariadicView_ViewRoot

SwiftUI._PaddingLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._PagingViewConfig.Direction

  • Swift.Equatable
  • Swift.Hashable

SwiftUI._PopUpButtonStyle

  • _PlainPopUpButtonStyle
  • _ProminentPopUpButtonStyle
  • _TexturedPopUpButtonStyle

SwiftUI._PositionLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._PreviewProvider

  • PreviewProvider

SwiftUI._SafeAreaIgnoringLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._SaturationEffect

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._ScrollViewAnimationMode

  • Swift.Equatable
  • Swift.Hashable

SwiftUI._ScrollableContentProvider

  • _AligningContentProvider

SwiftUI._ShadowEffect._Resolved

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI._Test

  • _Benchmark
  • _ViewTest

SwiftUI._TraitWritingModifier

  • SwiftUI.ViewModifier

SwiftUI._UIHostingView

  • SwiftUI._BenchmarkHost

SwiftUI._VAlignment

  • Swift.Equatable
  • Swift.Hashable

SwiftUI._VSpacer

  • SwiftUI.View

SwiftUI._VStackLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot
  • SwiftUI._VariadicView_ViewRoot

SwiftUI._VariadicView.Root

  • _ContextMenuContainer

SwiftUI._VariadicView.UnaryViewRoot

  • Container
  • _HSplitViewContainer
  • _PullDownButtonContainer
  • _VSplitViewContainer

SwiftUI._VariadicView_Root

  • _VariadicView_ViewRoot

SwiftUI._VariadicView_ViewRoot

  • _VariadicView_MultiViewRoot
  • _VariadicView_UnaryViewRoot

SwiftUI._ViewDebug.Property

  • Swift.RawRepresentable

SwiftUI._ViewModifier_Content

  • SwiftUI.View

SwiftUI._ViewTraitKey

  • CanTransitionTraitKey
  • DepthTraitKey
  • IsAuxiliaryContentTraitKey
  • IsCollapsibleTraitKey
  • IsDeleteDisabledTraitKey
  • IsEmptyViewTraitKey
  • IsLinkedGroupTraitKey
  • IsMoveDisabledTraitKey
  • IsSectionFooterTraitKey
  • IsSectionedTraitKey
  • ItemProviderTraitKey
  • LayoutPriorityTraitKey
  • ListRowBackgroundTraitKey
  • ListRowInsetsTraitKey
  • ListRowPlatterColorTraitKey
  • MenuDepthTraitKey
  • OnDeleteTraitKey
  • OnMoveTraitKey
  • PreviewDeviceTraitKey
  • PreviewDisplayNameTraitKey
  • PreviewLayoutTraitKey
  • TagValueTraitKey
  • TouchBarCustomizationLabelTraitKey
  • TouchBarItemPresenceTraitKey
  • TouchBarItemPrincipalTraitKey
  • TransitionTraitKey
  • ZIndexTraitKey

SwiftUI._ZStackLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__BedtimeTickLabelsLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__FluidSpringTestLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__FourUpLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__GridLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__GridLayout.FillDirection

  • Swift.Equatable
  • Swift.Hashable

SwiftUI.__IconLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__RadialLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__ResizableImagesExampleLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__SetFrameLayout

  • SwiftUI.Animatable
  • SwiftUI.ViewModifier

SwiftUI.__SimpleColumnLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__SpiralLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

SwiftUI.__ViewRemovalLayout

  • SwiftUI.Animatable
  • SwiftUI._VariadicView_UnaryViewRoot

TabView

Text

  • SwiftUI.View

TextField

Toggle

Transaction

UIHostingController

  • SwiftUI._UIHostingViewable

UIKit.UIView

  • _UIHostingView

UIKit.UIViewController

  • SwiftUI._UIHostingViewable
  • UIHostingController

UIViewControllerRepresentable

UIViewRepresentable

UInt

  • SwiftUI._FormatSpecifiable

UInt16

  • SwiftUI._FormatSpecifiable

UInt32

  • SwiftUI._FormatSpecifiable

UInt64

  • SwiftUI._FormatSpecifiable

UInt8

  • SwiftUI._FormatSpecifiable

UnitPoint

  • SwiftUI.Animatable

VerticalAlignment

View

ViewBuilder

ViewDimensions

  • Swift.Equatable

ViewModifier

_AnimatableView

_AnimationModifier

  • Swift.Equatable

_BackgroundModifier

  • Swift.Equatable

_BenchmarkHost

_ConditionalContent

  • SwiftUI.View

_CrownHapticsConfigurationProvider

_DataProviderView

_Detachable

_FixedSizeLayout

_FlipForRTLEffect

_IgnoredByLayoutEffect

  • Swift.Equatable

_LayoutTraits

  • Swift.CustomStringConvertible

_MaskEffect

  • Swift.Equatable

_OverlayModifier

  • Swift.Equatable

_PreferenceValue

_PreferenceWritingModifier

  • Swift.Equatable

_PreviewProvider

_ProposedSize

  • Swift.Hashable

_PullDownButton

_ScrollView.Main

_ScrollViewGestureProvider

_ScrollableContentProvider

_ScrollableLayout

_ScrollableLayoutView

  • SwiftUI._ScrollableContentProvider

_Test

_TestApp

_UIHostingView

_VariadicView.Tree

  • SwiftUI.View

_VariadicView_Children

  • Swift.RandomAccessCollection
  • SwiftUI.View

_VariadicView_MultiViewRoot

_VariadicView_Root

_VariadicView_UnaryViewRoot

_VariadicView_ViewRoot

_VectorMath

_Velocity

  • Swift.AdditiveArithmetic
  • Swift.Comparable
  • SwiftUI.Animatable
  • SwiftUI.VectorArithmetic

_ViewDebug

_ViewDebug.Data

  • Swift.Encodable

_ViewTest

__App

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment