-
### Description
Hello,
i found a strange issue while playing around with the testing library.
I will provide some more context later, but the reproduction is very simple: compare two objects in…
-
> 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…
-
# 1️⃣WWDC 영상 요약
## Generic
- 제네릭은 Swift에서 추상 코드를 작성하는 기본 도구로 코드가 진화할수록 복잡성을 관리하는 데 매우 중요하다
- 코드의 양이 늘어남에 따라 증가하는 복잡성을 제어하기 위해 필수적
## Abstraction
- 추상화는 복잡한 자료, 모듈, 시스템 등으로부터 핵심적인 개념 또…
-
### Description
Some ownership-related diagnostics seem to be missing source location information. See e.g. the example below
### Reproduction
```swift
protocol TypedPointer {
associate…
-
**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…
-
### Description
The relevant constraining works, without generics:
```swift
Test func bug() {
_ = Struct(1) // No crash.
}
protocol Protocol {
associatedtype Value
init(_: ValueEle…
-
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…
-
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…
-
Something like:
```rust
struct MyStruct {
field1: A,
field2: B,
}
#[swift_bridge::bridge]
mod ffi {
extern "Rust" {
type MyStruct;
#[swift_bridge(as…
-
## Overview
This issue tracks the progress of implementing and shipping the [projection tooling](https://github.com/dotnet/runtimelab/tree/feature/swift-bindings) for .NET 10. The primary goal is to …