StackOverflow Questions for Tag: swift-macro

Bryan
Bryan

Reputation: 5700

Get Raw String Literal of Type Annotation in Swift Member Macro

Score: 3

Views: 85

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: 54

Answers: 1

Read More
JaSHin
JaSHin

Reputation: 277

Add cases from another enum using Swift macro

Score: 2

Views: 207

Answers: 1

Read More
Bryan
Bryan

Reputation: 5700

Swift Predicate: Fatal Error Keypaths With Multiple Components

Score: 0

Views: 39

Answers: 1

Read More
JAHelia
JAHelia

Reputation: 7902

Swift Macros: external macro implementation type could not be found

Score: 9

Views: 5660

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: 10169

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

Score: 0

Views: 51

Answers: 1

Read More
Morniak
Morniak

Reputation: 998

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

Score: 1

Views: 544

Answers: 1

Read More
Sweeper
Sweeper

Reputation: 270673

How to emit errors from a Swift Macro?

Score: 2

Views: 118

Answers: 1

Read More
Isaac Carrington
Isaac Carrington

Reputation: 481

SwiftUI Preview macro not working with Observation

Score: 4

Views: 2266

Answers: 1

Read More
Jordan Wood
Jordan Wood

Reputation: 2889

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

Score: 12

Views: 3576

Answers: 3

Read More
drekka
drekka

Reputation: 21883

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

Score: 0

Views: 64

Answers: 0

Read More
Gargo
Gargo

Reputation: 1380

Disable a chunk of code for old simulators in swift?

Score: 3

Views: 42

Answers: 1

Read More
Curious Jorge
Curious Jorge

Reputation: 1249

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

Score: 2

Views: 1017

Answers: 1

Read More
Ian Li
Ian Li

Reputation: 11

How to use swift macros in a development pod

Score: 0

Views: 120

Answers: 0

Read More
hariszaman
hariszaman

Reputation: 8424

Swift accessor macro with dynamic value

Score: 3

Views: 327

Answers: 2

Read More
funct7
funct7

Reputation: 3591

Swift macro declaration not available in scope

Score: 1

Views: 212

Answers: 0

Read More
Klein Mioke
Klein Mioke

Reputation: 1352

Why "Circular reference expanding peer macros" here

Score: 0

Views: 648

Answers: 1

Read More
Klein Mioke
Klein Mioke

Reputation: 1352

Is that possible to override the varible using macro?

Score: 0

Views: 220

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: 82

Answers: 1

Read More
PreviousPage 1Next