-
# 1️⃣WWDC 영상 요약
## Generic
- 제네릭은 Swift에서 추상 코드를 작성하는 기본 도구로 코드가 진화할수록 복잡성을 관리하는 데 매우 중요하다
- 코드의 양이 늘어남에 따라 증가하는 복잡성을 제어하기 위해 필수적
## Abstraction
- 추상화는 복잡한 자료, 모듈, 시스템 등으로부터 핵심적인 개념 또…
-
> Generics are a fundamental tool for writing abstract code in Swift. Learn how you can identify opportunities for abstraction as your code evolves, evaluate strategies for writing one piece of code w…
-
Something like:
```rust
struct MyStruct {
field1: A,
field2: B,
}
#[swift_bridge::bridge]
mod ffi {
extern "Rust" {
type MyStruct;
#[swift_bridge(as…
-
**Description**
I have some code that compiled and ran OK in Xcode 14.2 / Swift 5.7.
After upgrading to Xcode 14.3 / Swift 5.8, my project no longer compiles. Instead, it triggers a compiler cr…
-
Ben Cohen has write-up a code walkthrough of noncopyable generics in the Swift forums:
https://forums.swift.org/t/noncopyable-generics-in-swift-a-code-walkthrough/70862
After the relevant proposal…
-
## Description
This proposal discusses the projection of Swift generics in C#. The primary goal is to validate the design of projections and integrate CryptoKit APIs for direct invocation from the …
-
I stumbled across an issue where a code snippet in a markdown file, such as, `func store(in set: inout Set) { }` is rendered as `func store(in set: inout Set) { }`. The generic type is simple removed …
-
just like `mvvm-livedata` we need support of coroutines Flow out of box.
for iOS we need class-wrapper to save generic type and we need in `iosMain` generation of this class-wrapper accessors.
examp…
-
### Motivation
These keywords are defined in the JSON Schema 2020-12 dialect.
Release notes: https://json-schema.org/draft/2020-12/release-notes
These are useful for representing generics: ht…
-
### Description
After declaring a generic parameter `T` which conforms to `AnyObject`, I can't fulfill it with an existential type `any P` where `P` conforms to `AnyObject`.
### Reproduction
```swi…