Post

Replies

Boosts

Views

Activity

Comment on Why Doesnt this Wrap Correctly?
hi @claude31 i udnerstand what you mean. o copy pasted the c ode as it is , i explicitly declar3d it because it is a subview that will be used in a for loop. i figured as a param reusing it will not be resource heavy. or is it the same as having GeometryReader in every struct like what you did
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’23
Comment on Multiple environmentObject
Having this setup means that changes will take effect for network and product. what if i want only properties in network to have objectWillChange.send() take effect? I do not want those in product to be rebuilt. if both of these are placed in 1 ObservableObject model, then all their properties gets rebuilt instead of just those in network
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’22