RedMage1993 / Codable

A Swift macro that is useful whenever the compiler cannot synthesize conformance to Codable on its own, e.g. an Observable class.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A macro that is useful whenever the compiler cannot synthesize conformance to Codable on its own, e.g. an Observable class.

import Codable

@Observable
@Codable
class Something {
    let property: OtherCodableType
    var mutable: String
}

About

A Swift macro that is useful whenever the compiler cannot synthesize conformance to Codable on its own, e.g. an Observable class.

License:GNU General Public License v3.0


Languages

Language:Swift 100.0%