Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pitfalls of PhotoKit
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
780
Boost your App Dev using Sketch
griffin_stewie
0
320
Take a peep at .app
griffin_stewie
0
470
Lightweight Markup Language to PDF
griffin_stewie
1
630
ドキュメント作成どうしてる?
griffin_stewie
0
630
Talk about "clg" color list generator.
griffin_stewie
1
480
Tips for Apple Watch.
griffin_stewie
0
860
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
600
Other Decks in Programming
See All in Programming
AI時代のUIはどこへ行く?その2!
yusukebe
21
7.2k
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
130
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
580
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.1k
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
330
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
250
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
6.1k
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
170
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.4k
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
240
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
120
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.1k
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1k
How to Talk to Developers About Accessibility
jct
2
230
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
330
Color Theory Basics | Prateek | Gurzu
gurzu
0
360
Abbi's Birthday
coloredviolet
2
8.1k
Marketing to machines
jonoalderson
1
5.4k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
330
The agentic SEO stack - context over prompts
schlessera
0
820
Crafting Experiences
bethany
1
180
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