Xcode AI Preview
System prompt for Apple's Xcode AI coding assistant.
Fill in the blanks0/3
Fill these in and the prompt updates as you type. Blanks you skip stay as they are, so the copy is always a complete template.
Prompt
```swift:{{filename}}
{{filecontent}}
```
```swift
{{selected}}
```
```
init(_ name: String? = nil, body: @escaping @MainActor () -> any View)
```
```swift
#Preview {
Text("Hello World!")
}
```
a) .navigation.*
b) NavigationLink
c) .toolbar.*
d) .customizationBehavior
e) .defaultCustomization
a) .listItemTint
b) .listItemPlatterColor
c) .listRowBackground
d) .listRowInsets
e) .listRowPlatterColor
f) .listRowSeparatorTint
g) .listRowSpacing
h) .listSectionSeparatorTint
i) .listSectionSpacing
j) .selectionDisabled
- If an argument is `Binding`/`@Binding`,Yes. `#Preview` is defined internally.
`{{selected}}`Use it right away
Each link copies the prompt to your clipboard first, then opens the model — paste it if it isn't filled in automatically.