StackOverflow Questions for Tag: swift-macro

Jordan Wood
Jordan Wood

Reputation: 2899

How do I trust a swift macro target for Xcode Cloud builds?

Score: 13

Views: 3818

Answers: 5

Read More
Bryan
Bryan

Reputation: 5779

Swift #Predicate Macro Crashes for Multiple KeyPath Components

Score: 0

Views: 69

Answers: 1

Read More
Bryan
Bryan

Reputation: 5779

Get Raw String Literal of Type Annotation in Swift Member Macro

Score: 3

Views: 94

Answers: 1

Read More
bAthi
bAthi

Reputation: 381

How to Pass a Flag Globally to Conditionally Show/Hide @available(*, deprecated) in a Swift Macro?

Score: 0

Views: 58

Answers: 1

Read More
JaSHin
JaSHin

Reputation: 277

Add cases from another enum using Swift macro

Score: 2

Views: 213

Answers: 1

Read More
JAHelia
JAHelia

Reputation: 7932

Swift Macros: external macro implementation type could not be found

Score: 9

Views: 5999

Answers: 3

Read More
bAthi
bAthi

Reputation: 381

How to add @available(*,deprecated) attribute to my struct

Score: 0

Views: 58

Answers: 0

Read More
Guig
Guig

Reputation: 10395

How can I create a Swift macro that forwards parameters to another macro?

Score: 0

Views: 81

Answers: 1

Read More
Morniak
Morniak

Reputation: 998

Conformance to 'X' is not covered by macro 'Y' with Swift extension macro

Score: 1

Views: 566

Answers: 1

Read More
Sweeper
Sweeper

Reputation: 273540

How to emit errors from a Swift Macro?

Score: 2

Views: 163

Answers: 1

Read More
Isaac Carrington
Isaac Carrington

Reputation: 481

SwiftUI Preview macro not working with Observation

Score: 4

Views: 2323

Answers: 1

Read More
drekka
drekka

Reputation: 21893

Swift macros in multiple SPM modules fail compilation of main project with :"Multiple command produce …" on the swift-syntax modules

Score: 0

Views: 81

Answers: 0

Read More
Gargo
Gargo

Reputation: 1377

Disable a chunk of code for old simulators in swift?

Score: 3

Views: 45

Answers: 1

Read More
Curious Jorge
Curious Jorge

Reputation: 1445

How to use Swift macros to add new members to a struct and its init function?

Score: 2

Views: 1088

Answers: 1

Read More
Ian Li
Ian Li

Reputation: 11

How to use swift macros in a development pod

Score: 0

Views: 137

Answers: 0

Read More
hariszaman
hariszaman

Reputation: 8432

Swift accessor macro with dynamic value

Score: 3

Views: 356

Answers: 2

Read More
funct7
funct7

Reputation: 3601

Swift macro declaration not available in scope

Score: 1

Views: 231

Answers: 0

Read More
Klein Mioke
Klein Mioke

Reputation: 1352

Why "Circular reference expanding peer macros" here

Score: 0

Views: 672

Answers: 1

Read More
Klein Mioke
Klein Mioke

Reputation: 1352

Is that possible to override the varible using macro?

Score: 0

Views: 223

Answers: 1

Read More
Daniel Amarante
Daniel Amarante

Reputation: 805

How to initialize an enum with associated values coming from a function using swift macros?

Score: 3

Views: 87

Answers: 1

Read More
PreviousPage 1Next