How SwiftUI Animates, and Where It Is Not Like UIKit

Aperta
#5,505 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

This is a curation submission to a Chinese iOS weekly, not a code change: the work is to read the linked article at aleahim.com/blog/how-swift-ui-animates (the URL slug is how-swiftui-animates) and judge whether it fits the weekly. The submission text is the template block in the issue body, which records the author's summary of the blocking experiment on macOS versus iPhone and iPad. Done means a maintainer accepts or declines the link and, if accepted, the entry is added in the weekly's format.

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

Descrizione

链接

https://aleahim.com/blog/how-swiftui-animates

理由

同一段 SwiftUI 自定义动画,卡住主线程后,在作者测试的 Mac 上停了,在 iPhone 和 iPad 上还在跑。作者再停移动端的 AsyncRenderer,SwiftUI 停住了,UIKit 的对照仍继续。这个对照很适合拿来想动画卡顿要怎么测。阻塞实验只覆盖自定义动画,读结果时留意所测系统版本。

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.