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
griffin-stewie
December 22, 2015
Programming
0
270
Pitfalls of PhotoKit
関西モバイルアプリ研究会 #9 (kanmoba)
griffin-stewie
December 22, 2015
Tweet
Share
More Decks by griffin-stewie
See All by griffin-stewie
How I develop a Sketch Native Plugin
griffin_stewie
0
750
Boost your App Dev using Sketch
griffin_stewie
0
310
Take a peep at .app
griffin_stewie
0
450
Lightweight Markup Language to PDF
griffin_stewie
1
610
ドキュメント作成どうしてる?
griffin_stewie
0
620
Talk about "clg" color list generator.
griffin_stewie
1
470
Tips for Apple Watch.
griffin_stewie
0
830
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
590
Other Decks in Programming
See All in Programming
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
2.8k
クラウドに依存しないS3を使った開発術
simesaba80
0
210
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
130
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
610
Vibe codingでおすすめの言語と開発手法
uyuki234
0
160
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
200
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
160
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
3.3k
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
910
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
2.2k
Go コードベースの構成と AI コンテキスト定義
andpad
0
150
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
YesSQL, Process and Tooling at Scale
rocio
174
15k
ラッコキーワード サービス紹介資料
rakko
0
1.9M
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
280
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Documentation Writing (for coders)
carmenintech
77
5.2k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
110
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Navigating Team Friction
lara
191
16k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
38
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