How SwiftUI Animates, and Where It Is Not Like UIKit

Aberta
#5,505 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
40/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
ios, swift
Domínio
content

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

链接

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

理由

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

Linguagem predominante
JavaScript
Estrelas
5k
Forks
429
Merge médio
33min
PRs com merge (30d)
10

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de SwiftOldDriver/iOS-Weekly

Todas as issues de SwiftOldDriver/iOS-Weekly

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.