StackOverflow Questions for Tag: swift-keypath

Bryan
Bryan

Reputation: 5700

Convert AnyKeyPath to ReferenceWritableKeyPath with Optionals

Score: 0

Views: 12

Answers: 1

Read More
Guy Kogus
Guy Kogus

Reputation: 32

Swift - Pass a parameter to a KeyPath

Score: -1

Views: 136

Answers: 1

Read More
Ryan Kanno
Ryan Kanno

Reputation: 115

How to update SwiftData fetch when upgrading to Swift 6?

Score: 0

Views: 114

Answers: 1

Read More
itMaxence
itMaxence

Reputation: 1385

Can't Send Keypath across boundary?

Score: 0

Views: 15

Answers: 0

Read More
Bryan
Bryan

Reputation: 5700

Swift Predicate: Fatal Error Keypaths With Multiple Components

Score: 0

Views: 39

Answers: 1

Read More
wcochran
wcochran

Reputation: 10886

How to animate custom material property in RealityKit?

Score: 3

Views: 634

Answers: 1

Read More
Spaghetti
Spaghetti

Reputation: 23

How SwiftUI Table sorting work with multiple KeyPathComparator?

Score: 0

Views: 121

Answers: 1

Read More

Swift - Mutate values of enum associate type properties

Score: 2

Views: 556

Answers: 1

Read More
Roman
Roman

Reputation: 1498

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

Score: 1

Views: 117

Answers: 1

Read More
Andrew_STOP_RU_WAR_IN_UA
Andrew_STOP_RU_WAR_IN_UA

Reputation: 11416

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

Answers: 1

Read More
Oliver Pearmain
Oliver Pearmain

Reputation: 20590

Create NSPredicate using generic KeyPath<Root, Value>

Score: 0

Views: 238

Answers: 1

Read More
Remco Poelstra
Remco Poelstra

Reputation: 985

How to construct key path for encapsulated Toggle accessing a collection

Score: 0

Views: 72

Answers: 1

Read More
Whirlwind
Whirlwind

Reputation: 13665

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

Score: 2

Views: 4571

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

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

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

Score: 4

Views: 3529

Answers: 4

Read More
GoldenJoe
GoldenJoe

Reputation: 8002

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

Score: 0

Views: 144

Answers: 1

Read More
Nick
Nick

Reputation: 4248

Map enum to KeyPath to access properties in a generic way

Score: 1

Views: 216

Answers: 0

Read More
PreviousPage 1Next