被拆掉的 NSHostingView 还会再建一次 View

Aperta
#5,474 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Kyle-Ye ci sta già lavorando.

Dal 6/11/2026.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, swift

Direzione di ricerca

This is a blog-post submission to the iOS Weekly newsletter, not a code change: the body carries an ios-blog-radar-submission:v1:... marker, which points at the repo's submission intake rather than at any source file. Start by reading the linked article (https://onevcat.com/2026/10/nested-hosting-view) and locating how past submission issues in iOS-Weekly are triaged into the weekly draft. Done means the item is either accepted with an entry and issue link, or closed with a short reason; the technical content about NSHostingView teardown is the author's, not the contributor's, to write.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

链接

https://onevcat.com/2026/10/nested-hosting-view

理由

调用 dismantleNSView 之后,里面的宿主竟然还能再建视图,把共享 surface 抢走。Onevcat 从白屏一路追到嵌套 NSHostingView 的布局循环,日志、二分和最小复现都值得看。修复同时处理宿主拆除与所有权恢复;至于 .task 为何触发这条内部路径,作者仍没找到公开解释。

Lingua principale
JavaScript
Stelle
5k
Fork
429
Merge medio
33m
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SwiftOldDriver/iOS-Weekly

Tutte le issue di SwiftOldDriver/iOS-Weekly

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.