You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a struct with @Element and @Attribute and then try to create an init () {} you always get the error from the title even though all are initialised in the constructor before self is used.
Example:
import XMLCoder
publicstructLocalizableText:Codable{@Attributepublicvarlanguage:String@Elementpublicvarvalue:String?enumCodingKeys:String,CodingKey{case language ="Language"case value =""}publicinit(){
language =""
value ="de/de"}}