Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pitfalls of PhotoKit
Search
griffin-stewie
December 22, 2015
Programming
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pitfalls of PhotoKit
関西モバイルアプリ研究会 #9 (kanmoba)
griffin-stewie
December 22, 2015
More Decks by griffin-stewie
See All by griffin-stewie
How I develop a Sketch Native Plugin
griffin_stewie
0
800
Boost your App Dev using Sketch
griffin_stewie
0
330
Take a peep at .app
griffin_stewie
0
480
Lightweight Markup Language to PDF
griffin_stewie
1
630
ドキュメント作成どうしてる?
griffin_stewie
0
640
Talk about "clg" color list generator.
griffin_stewie
1
490
Tips for Apple Watch.
griffin_stewie
0
860
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
610
Other Decks in Programming
See All in Programming
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
990
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
490
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
140
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
440
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
200
残高管理から台帳サービスへの進化
artoy
1
200
Railsバージョンを4倍にした話
optim
0
300
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
Odyssey Design
rkendrick25
PRO
2
870
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Designing Experiences People Love
moore
143
24k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Faster Mobile Websites
deanohume
310
32k
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Transcript
Pitfalls of PhotoKit @griffin_stewie
Fenrir Inc. @griffin_stewie Bouldering: Level 5
PhotoKit
PhotoKit • From iOS 8 • Sophisticated • Thread safe
Simple Fetching
Assets Library • Enumerate groups and assets • Filter inside
loop • Easy access raw data
PhotoKit • Call fetch methods • Like CoreData • Apply
fetch options
Complicated Fetching
PHFetchOptions • dates • pixelWidth • pixelHeight • etc
PhotoKit • Access raw data ?
Darkside
Too slow
Fetching 5000 assets • Assets Library • Takes a few
seconds • PhotoKit • Takes a few minutes
Reasons
XPC • Assets Library • Same process as app •
PhotoKit • Separate process • Communicate using XPC
Thread safe • Assets Library • Developers should take care
of it • PhotoKit • Framework cares
Let's use obediently