StackOverflow Questions for Tag: swift-keypath

Bryan
Bryan

Reputation: 5767

Swift #Predicate Macro Crashes for Multiple KeyPath Components

Score: 0

Views: 64

Answers: 1

Read More
Bryan
Bryan

Reputation: 5767

Convert AnyKeyPath to ReferenceWritableKeyPath with Optionals

Score: 0

Views: 37

Answers: 1

Read More
Guy Kogus
Guy Kogus

Reputation: 32

Swift - Pass a parameter to a KeyPath

Score: -1

Views: 143

Answers: 1

Read More
Ryan Kanno
Ryan Kanno

Reputation: 115

How to update SwiftData fetch when upgrading to Swift 6?

Score: 0

Views: 160

Answers: 1

Read More
itMaxence
itMaxence

Reputation: 1385

Can't Send Keypath across boundary?

Score: 0

Views: 17

Answers: 0

Read More
wcochran
wcochran

Reputation: 10896

How to animate custom material property in RealityKit?

Score: 3

Views: 657

Answers: 1

Read More
Spaghetti
Spaghetti

Reputation: 23

How SwiftUI Table sorting work with multiple KeyPathComparator?

Score: 0

Views: 138

Answers: 1

Read More

Swift - Mutate values of enum associate type properties

Score: 2

Views: 565

Answers: 1

Read More
Roman
Roman

Reputation: 1500

Type Parameter Packs: how to return a tuple instead of an array?

Score: 1

Views: 120

Answers: 1

Read More
Andrew
Andrew

Reputation: 11385

Best way to copy set of parameters from one object to another

Score: 1

Views: 70

Answers: 1

Read More
Ben Walker
Ben Walker

Reputation: 153

Crash when sorting SwiftData Query with a SortDescriptor made from a KeyPath with an optional relationship in the chain

Score: 15

Views: 892

Answers: 1

Read More
Oliver Pearmain
Oliver Pearmain

Reputation: 20590

Create NSPredicate using generic KeyPath<Root, Value>

Score: 0

Views: 258

Answers: 1

Read More
Remco Poelstra
Remco Poelstra

Reputation: 985

How to construct key path for encapsulated Toggle accessing a collection

Score: 0

Views: 75

Answers: 1

Read More
Whirlwind
Whirlwind

Reputation: 13675

Key path value type 'Int' cannot be converted to contextual type 'String'

Score: 2

Views: 4589

Answers: 1

Read More
Alex Sh.
Alex Sh.

Reputation: 629

Getting String representation of Swift ReferenceWritableKeyPath is failed (returns pointer instead of type)

Score: 1

Views: 132

Answers: 0

Read More
daniel
daniel

Reputation: 966

How to cast KeyPath<CNContact, Array<CNLabeledValue>> to KeyPath<CNContact, Any>

Score: 0

Views: 30

Answers: 0

Read More
Red
Red

Reputation: 1

How can I sort dates in swift realm repository using my own comparator?

Score: 0

Views: 78

Answers: 0

Read More
aheze
aheze

Reputation: 30426

SwiftUI - Automatically add dividers between each element of a `ForEach`

Score: 4

Views: 3603

Answers: 4

Read More
GoldenJoe
GoldenJoe

Reputation: 8002

Using a protocol to define a collection of KeyPaths with different values

Score: 0

Views: 146

Answers: 1

Read More
Nick
Nick

Reputation: 4258

Map enum to KeyPath to access properties in a generic way

Score: 1

Views: 218

Answers: 0

Read More
PreviousPage 1Next