Enviar pesquisa
Carregar
Best Bugs 2017 in the SmartNews iOS app
•
1 gostou
•
2,027 visualizações
F
firewood
Seguir
Best Bugs 2017 short version potatotips #56
Leia menos
Leia mais
Software
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 15
Baixar agora
Baixar para ler offline
Recomendados
TechLION vol.5 -馮資料-
TechLION vol.5 -馮資料-
馮 富久
Androidとインターネット連携
Androidとインターネット連携
高見 知英
Xcodeでmrubyをステップ実行してみた
Xcodeでmrubyをステップ実行してみた
firewood
Xcodeで値を表示する
Xcodeで値を表示する
firewood
SmartNewsアプリの品質
SmartNewsアプリの品質
firewood
WkWebViewのキャッシュについて調べた
WkWebViewのキャッシュについて調べた
firewood
delayed_jobの自動再起動
delayed_jobの自動再起動
firewood
C++でHello worldを書いてみた
C++でHello worldを書いてみた
firewood
Recomendados
TechLION vol.5 -馮資料-
TechLION vol.5 -馮資料-
馮 富久
Androidとインターネット連携
Androidとインターネット連携
高見 知英
Xcodeでmrubyをステップ実行してみた
Xcodeでmrubyをステップ実行してみた
firewood
Xcodeで値を表示する
Xcodeで値を表示する
firewood
SmartNewsアプリの品質
SmartNewsアプリの品質
firewood
WkWebViewのキャッシュについて調べた
WkWebViewのキャッシュについて調べた
firewood
delayed_jobの自動再起動
delayed_jobの自動再起動
firewood
C++でHello worldを書いてみた
C++でHello worldを書いてみた
firewood
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Mais conteúdo relacionado
Destaque
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Destaque
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Best Bugs 2017 in the SmartNews iOS app
1.
Best Bugs 2017
in the SmartNews iOS potatotips #56
2.
自己紹介 ● Twitter /
Qiita ○ hotpepsi ● 趣味 ○ ピアノ、テニス、競技プログラミング ● ライフワーク ○ デバッグ
3.
最近のSmartNews iOSアプリ ● 2017年以降に作成されたpull
requestは1500個 ● 意外とアクティブに開発している
4.
開発にはバグがつきもの ● 面白いバグだけ紹介 ● 面白いバグとは ○
単純なミスなどではない ○ 書いた通りに動かず、予想外の挙動をする
5.
Best Bugs 2017 1.
Twitterへのシェア 2. Slackへのシェア 3. CSSのトランジションがおかしくなる
6.
(1) Twitterへのシェアの問題 ● 現象 ○
記事を共有するとき、ダイアログが 勝手に消えることがある ※ 今は発生しません
7.
(1) Twitterへのシェアの問題 ● 原因 ○
サムネイル生成をextensionに任せ ると失敗することがある ■ CNN.comなどで発生 ■ web pageの内容に依存する
8.
(1) Twitterへのシェアの問題 ● 対処 ○
UIActivityItemSourceを真面目に実装して、URLではなくサム ネイル画像を提供する
9.
(2) Slackへのシェアの問題 ● 現象 ○
記事をSlackにシェアするとSmartNewsがクラッシュする ※ 今は発生しません
10.
(2) Slackへのシェアの問題 ● 原因 ○
extensionが解放済みのオブジェクトにアクセスしている ■ ソースがなくてもブレークポイントを設定して調査は可能 0x174258c00: 0x00000001aeac61d8 0x00000000c3000002 0x174258c10: 0x000000019551b090 0x00000001aa6c5a60 0x174258c20: 0x0000000145a30040 0x174258c00: 0xbaddd4a56c9ebead 0x0000000174845ac0 0x174258c10: 0x000000019551b090 0x00000001aa6c5a60 0x174258c20: 0x0000000145a30040
11.
(2) Slackへのシェアの問題 ● 対処 ○
UIActivityViewControllerが閉じたあともしばらくretainするよう にしてみた ■ その後修正され、発生しなくなった
12.
(3) CSSのトランジションがおかしくなる ● 現象 ○
WKWebViewのCSSのトランジションが動かなくなる
13.
(3) CSSのトランジションがおかしくなる ● 原因 ○
WKWebViewをdrawHierarchyでキャプチャするとき、 afterScreenUpdates=YESだとおかしくなる
14.
(3) CSSのトランジションがおかしくなる ● 対処 ○
アプリがforegroundのときにafterScreenUpdates=NOでキャ プチャする ○ takeSnapshotを使う (iOS 11以降)
15.
まとめ ● よくわからないバグが発生することがあります ● ちょっと先まで調べてみてはどうでしょうか ●
面白いバグがあったら教えてください “Debugging is an entertainment”
Baixar agora