Because the title says, I can’t assign a non-public variable to dictionary[item].parts(). I’m not attempting to alter the worth of it, merely attempting to repeat the worth to make use of it some other place. Though, later I’ll must know methods to change it.
The primary errors I encounter are:
- Can’t assign to property: ‘self’ is immutable
- Sort ‘()’ can’t conform to ‘View’
My code presently:
@Binding var dictionary: [String:Any]
non-public var passage = ""
let merchandise: String
var physique: some View
")[0]
let passageArray = passage.parts(sepratedBy: " ")
// there's a bunch extra code after this(has nothing to do with challenge although)