+20 yrs in web development
Would be great to get the correct behaviour out of the box e.g. by using some other type than Date:
struct Foo: Codable {
let createdAt: BetterDateType
}
Would be great to get the correct behaviour out of the box e.g. by using some other type than Date:
struct Foo: Codable {
let createdAt: BetterDateType
}
www.swiftbysundell.com/tips/adding-...
Didn’t know it can be applied to other cases. Some of those examples are a bit footgun’ish for sure.. Maybe I’ll stick to using it like the React’s children prop. Makes it easier to re-use views when you can pass stuff from a parent.
www.swiftbysundell.com/tips/adding-...
Didn’t know it can be applied to other cases. Some of those examples are a bit footgun’ish for sure.. Maybe I’ll stick to using it like the React’s children prop. Makes it easier to re-use views when you can pass stuff from a parent.