StackOverflow Questions for Tag: swift-class

registrier rp
registrier rp

Reputation: 33

Value of a var in @Obersvable class only updates in one view, but not the other

Score: 0

Views: 39

Answers: 1

Read More
user2926337
user2926337

Reputation: 61

In a Swift app, I want to create a class that holds data that can be updated and displayed across multiple SwiftUI views

Score: 0

Views: 121

Answers: 1

Read More
Akash Neeli
Akash Neeli

Reputation: 407

Generic struct 'ObservedObject' requires that 'Video' conform to 'ObservableObject' in SwiftUI

Score: 1

Views: 3329

Answers: 1

Read More
TrappinNachos
TrappinNachos

Reputation: 117

How to make a SwiftUI function update the style of certain buttons based on @published class variables?

Score: 0

Views: 127

Answers: 0

Read More
Danny
Danny

Reputation: 139

How to update the values of a struct in a View

Score: 3

Views: 7233

Answers: 2

Read More
NeMaksym
NeMaksym

Reputation: 33

How a class has several methods with the same name?

Score: 0

Views: 547

Answers: 2

Read More
Wy th
Wy th

Reputation: 65

Value of a child from mirror introspection not conformed to protocol anymore

Score: 0

Views: 76

Answers: 0

Read More
user13406256
user13406256

Reputation:

How to send data with Protocols and Delegate with IBAction (Button click)

Score: 0

Views: 859

Answers: 1

Read More
Yann Massard
Yann Massard

Reputation: 293

SWIFTUI - OberservableObject class being set to nill each time called

Score: 0

Views: 38

Answers: 0

Read More
Danny
Danny

Reputation: 139

How to have a Swift file that runs DB requests and return variables from views

Score: 0

Views: 36

Answers: 1

Read More
ObamoDank
ObamoDank

Reputation: 141

Swift UI - ReferencerTester.swift File. Receiving Error while trying to append to an array

Score: 1

Views: 28

Answers: 1

Read More
RoGe
RoGe

Reputation: 19

class in playground vs in program file

Score: 0

Views: 276

Answers: 1

Read More
Blue
Blue

Reputation: 1448

How to perform class nil checks

Score: -3

Views: 53

Answers: 1

Read More
daniel
daniel

Reputation: 966

Why does Xcode not see my Cocoa Touch Framework in my project?

Score: 0

Views: 212

Answers: 0

Read More
Vaisakh KP
Vaisakh KP

Reputation: 497

Unable to access class member inside the pod

Score: 1

Views: 1191

Answers: 1

Read More
Veeral Arora
Veeral Arora

Reputation: 139

I have a confusion if any methods are declared in class extension are static or not

Score: 0

Views: 69

Answers: 1

Read More
Fausto Checa
Fausto Checa

Reputation: 163

How to change property value with static method?

Score: 2

Views: 736

Answers: 4

Read More
J. Hesters
J. Hesters

Reputation: 14766

Swift 4: How to initialise a class with values in one line?

Score: -2

Views: 470

Answers: 1

Read More
Devil089
Devil089

Reputation: 65

Swift addChild from Custom Class

Score: 0

Views: 381

Answers: 2

Read More
G-P
G-P

Reputation: 111

How can I use a class extension to override a protocol extension?

Score: 0

Views: 125

Answers: 1

Read More
PreviousPage 1Next