Skip to content

History / Ownership

Revisions

  • Document the 0.19.4 delegate-lifetime and availability-floor behaviour A C# delegate assigned to a weak Swift property now stays reachable, and a callback arriving after the implementation was collected degrades rather than stopping the process. Both rules need more room than a release note gives them, so the degradation table, the ProxyDegradation notification and the remedy live in Ownership, with entry points from Troubleshooting and Upgrading. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

    @justinwojo justinwojo committed Sep 5, 2026
  • Bring the wiki in line with the 0.19.0 release The public pages were still a 0.18.0 surface: Upgrading stopped one release short of two source-breaking rename waves, Troubleshooting described SWIFTBIND052 as a warning and omitted 061/066 and SB0010, and several guides taught a pack path or type conversion that 0.19.0 does not do. Upgrading is rewritten as a how-to with 0.19.0 first and earlier releases newest-to-oldest; the other pages get the matching factual refresh so a reader landing today is not given last-release rules.

    @justinwojo justinwojo committed Aug 12, 2026
  • Update docs for 0.16.0 SDK + Apple 26.2.8 release Bump the SDK and Apple supplement version stamps across the examples (0.16.0 / 26.2.8) and document the 0.15.0+0.16.0 additions: the App Store native-packaging fix (signed framework, no SwiftSupport folder), C#-implemented async protocol requirements, AsyncThrowingStream, richer error/identity semantics, retain-cycle tooling, OS-gated PlatformNotSupportedException, --strict-inputs, and the new build-hook diagnostics. Add a Version Coexistence page explaining the bounded Runtime range and the load-time supported-window check. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    @justinwojo justinwojo committed Jun 27, 2026
  • Update documentation for 0.12.0 SDK + Apple 26.2.4 release Apple framework support widens (MusicKit, CryptoKit HMAC on device, RealityKit class-bound existentials, WorkoutKit range alerts, Foundation KVO + AttributedString, FamilyActivityPicker). Real Intel-Mac / x64 RID support lands across osx-x64, maccatalyst-x64, iossimulator-x64, and tvossimulator-x64. AnyError is now a sealed reference type — see the Upgrading guide's source-breaking note for (any Error)? call-site changes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

    @justinwojo justinwojo committed Jun 1, 2026
  • Update documentation for 0.11.0 release Bumps SDK references to 0.11.0 and Apple framework packages to 26.2.3. Documents new capabilities: AsyncSequence lowering to IAsyncEnumerable<T> (await foreach), end-to-end Matter.framework auto-binding via --objc, typed-throws surfaced as SwiftException<TError>, expanded witness dispatch matrix (class/struct returns, throwing, mutating), and the IncludeSwiftBindingsRuntimeNative escape hatch. Expands Architecture, Supported-Features, Ownership, SwiftUI-Interop, and Troubleshooting with deeper reference material and a diagnostic checklist. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed May 18, 2026
  • Document 0.8.0 Apple framework support and audit existing pages Adds the Apple Frameworks guide and threads the new capability through Home, FAQ, Supported Features, Customization, Upgrading, Known Limitations, Ownership, and the sidebar. Reflects the pre-built packages now on NuGet, the bounded SwiftBindings.Runtime range, and the permanent Apple-side limits called out in the release notes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Apr 26, 2026
  • Document native ARM64 thunks, updated P/Invoke stats, and SwiftUI bridge build integration - Add native ARM64 thunk documentation across Architecture, Known-Limitations, and Troubleshooting - Rewrite calling convention sections to reflect three-mechanism priority: thunks → @_cdecl → CallConvSwift - Update P/Invoke distribution stats with per-library table (Nuke, Lottie, BlinkID, Stripe) and 46-library aggregate - Add SwiftUI bridge build integration section and SWIFTBIND052 error code - Update test counts (694→1000+, 647→966 passing), closure support (String/class args via Cdecl) - Fix terminology: DllImport→LibraryImport, TestFramework→BindingTests - Add well-known generic constraint resolution for SwiftUI views (Hashable→String, Numeric→Int, etc.) - Update VWT Destroy docs with CallConvCdecl trampoline for finalizer-safe disposal Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 26, 2026
  • Simplify struct disposal guidance — now optional with finalizer-safe VWT Destroy Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 24, 2026
  • Update wiki: accurate calling convention architecture, real library stats, path forward - Reframe calling convention docs around the root cause: .NET's CallConvSwift only supports blittable types, driving ~67% of P/Invokes through @_cdecl wrappers (averaged across 51 third-party library bindings) - Three-tier breakdown: non-blittable types (~50%), inexpressible ABI patterns (~15%), runtime bugs (~5%) - Document path forward: non-blittable CallConvSwift support would drop wrapper rate from ~67% to ~20% - Add NativeAOT float struct HFA bug (JIT register allocation, not lowering) - Update VWT Destroy architecture (per-type @_cdecl wrappers eliminated) - Update SafeHandle async as Mono-only - Update runtime test count (694 total, 647 passing) - Remove redundant Non-Blittable and Swift Wrapper Escape Hatch sections - Add FAQ.md, update all pages for consistency Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 19, 2026
  • Add full documentation to wiki Migrated all user-facing docs from the main repo's docs/ directory: Getting Started, Supported Features, How Bindings Map, SwiftUI Interop, Customization, Troubleshooting, Known Limitations, NativeAOT Deployment, Ownership, Architecture, and sidebar navigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 12, 2026