What is Nostr?
Martin Dufort /
npub1qxu…r0gn
2024-12-16 18:33:48

Martin Dufort on Nostr: A new day learning new keywords in swift > When passing noncopyable types as ...

A new day learning new keywords in swift

> When passing noncopyable types as arguments to functions, Swift requires us to specify the ownership model for that function. We can mark parameters as borrowing, inout, or consuming, each offering different levels of access, similar to methods inside the types.
Author Public Key
npub1qxuvx66qjp7kt2a6caymzzj2rl3sdk0cxk85h7expe0x95s2k0eslvr0gn