StackOverflow Questions for Tag: swift-keypath

matt
matt

Reputation: 535889

How does Swift ReferenceWritableKeyPath work with an Optional property?

Score: 15

Views: 4357

Answers: 1

Read More
Duncan C
Duncan C

Reputation: 131481

Why can't I use key path syntax in a map statement?

Score: 3

Views: 2044

Answers: 2

Read More
JohnSF
JohnSF

Reputation: 4330

SwiftUI Can't Pass String to KeyPath

Score: 0

Views: 877

Answers: 1

Read More
Tim Dean
Tim Dean

Reputation: 8292

Get coding value for a Codable value in Swift

Score: 0

Views: 214

Answers: 0

Read More
Jared Henderson
Jared Henderson

Reputation: 1319

how do you write a KeyPath to reference the value of a dictionary

Score: 2

Views: 1636

Answers: 1

Read More
pkamb
pkamb

Reputation: 35032

Swift init via KeyPath / WritableKeyPath

Score: 1

Views: 615

Answers: 0

Read More
Ilias Karim
Ilias Karim

Reputation: 5397

Swift: .contains(where:) using key-path expression

Score: -1

Views: 741

Answers: 1

Read More
Kurt Horimoto
Kurt Horimoto

Reputation: 99

Downcasting PartialKeyPath to ReferenceWriteableKeyPath using generics?

Score: 0

Views: 500

Answers: 0

Read More
steventnorris
steventnorris

Reputation: 5896

Convert an optional Type to non-optional Type

Score: 2

Views: 1449

Answers: 1

Read More
steventnorris
steventnorris

Reputation: 5896

Storing array of heterogeneous keypaths

Score: 1

Views: 765

Answers: 1

Read More
CentrumGuy
CentrumGuy

Reputation: 646

Storing KeyPaths in Dictionary/HashMap

Score: 2

Views: 507

Answers: 2

Read More
alexcristea
alexcristea

Reputation: 2366

In Swift, how can I implement a generic system that processes a type by registering processors for different key paths?

Score: 0

Views: 175

Answers: 3

Read More
Stephen Furlani
Stephen Furlani

Reputation: 6866

Unwrapping Optional types in a Generic method in Swift 5

Score: 2

Views: 844

Answers: 1

Read More
Roman
Roman

Reputation: 1500

Redundant duplication of typealiase declarations when conforms to a protocol

Score: 3

Views: 69

Answers: 0

Read More
Nicolas Degen
Nicolas Degen

Reputation: 1846

Get the coding key for a keypath in Swift

Score: 1

Views: 1724

Answers: 1

Read More
Roman
Roman

Reputation: 1500

Apply KeyPath in map() in simplest form

Score: 4

Views: 932

Answers: 1

Read More
Anton Belousov
Anton Belousov

Reputation: 1141

Fatal error: could not demangle keypath type

Score: 8

Views: 1208

Answers: 2

Read More
bob_mosh
bob_mosh

Reputation: 335

How can I use NSPredicate with a computed property in Swift?

Score: 2

Views: 683

Answers: 0

Read More
TruMan1
TruMan1

Reputation: 36158

Shorthand key path in switch statement?

Score: 0

Views: 230

Answers: 0

Read More
NNikN
NNikN

Reputation: 3852

Specify Key Path in a List Swift UI

Score: 0

Views: 1220

Answers: 2

Read More
PreviousPage 2Next