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
20171208 iOS11 File Management
Search
Kei Ito
December 08, 2017
Programming
0
970
20171208 iOS11 File Management
Mobile Act OSAKA #2の資料です
Kei Ito
December 08, 2017
Tweet
Share
More Decks by Kei Ito
See All by Kei Ito
20211015 Mac CatalystでmacOS用アプリを作る
itok
2
4.1k
20210219 Flutterに入門してみた
itok
1
3.8k
20201009 iOS 14 ウィジェットをつくってみた
itok
1
2.3k
20191206 Property Wrappers 入門
itok
0
1.5k
20190920 iOS 13 対応ではまった話
itok
1
2.2k
20190726 Background App Refresh Taskがやってきた
itok
0
2k
20190722 Firebase Remote Configでアドネットワークを管理する
itok
0
1.4k
20190419 iOSアプリで証明書の情報を参照する
itok
0
1.4k
20190412 Android TV向けアプリを作ってみる
itok
0
990
Other Decks in Programming
See All in Programming
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4.2k
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
870
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
Rubyでつくるパケットキャプチャツール
ydah
0
170
DMMオンラインサロンアプリのSwift化
hayatan
0
190
ドメインイベント増えすぎ問題
h0r15h0
2
570
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
Flatt Security XSS Challenge 解答・解説
flatt_security
0
740
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
2.2k
Androidアプリの One Experience リリース
nein37
0
1.2k
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
1.9k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Faster Mobile Websites
deanohume
305
30k
Typedesign – Prime Four
hannesfritz
40
2.5k
How to train your dragon (web standard)
notwaldorf
89
5.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Making Projects Easy
brettharned
116
6k
A designer walks into a library…
pauljervisheath
205
24k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Transcript
J04 'JMF.BOBHFNFOU .PCJMF"DU04"," JUPL!ͦΒ͔ͥ
JUPL!ͦΒ͔ͥ w ͍ͱ͏͚͍ʢJUPLʣ w ɹɹɹɹɹɹͷதͷਓʢ ͯͳʣ w ϞόΠϧΞϓϦΤϯδχΞ݉$&0 w IUUQJUPLKQ
IUUQTPSBLB[FDPKQ !JUPL@UXJU
J04 'JMF.BOBHFNFOU J04 )JHI4JFSSB
'JMFBQQ
৽͍͠GSBNFXPSL
৽͍͠GSBNFXPSL w 'JMF1SPWJEFS w 'JMF1SPWJEFS6*
'JMF1SPWJEFS w ΄͔ͷΞϓϦ͔ΒࣗΞϓϦͷTBOECPYʹΞΫηε͢ΔͨΊͷ &YUFOTJPO w ΫϥυαʔϏεͷΫϥΠΞϯτͳͲͰ࣮͞Ε͍ͯΔ w %SPQCPY w (PPHMFυϥΠϒ
w 0OF%SJWF w #PYͳͲ
'JMF1SPWJEFS6* w υΩϡϝϯτϒϥβ্ͰಠࣗͷBDUJPOΛ࣮͢Δ &YUFOTJPO
͋Εʁ ͋·Γ͏͜ͱͳ͍͔ ɾɾɾ
؆୯ʹϑΝΠϧΛ ڞ༗Ͱ͖ΔΈ
%PDVNFOUTσΟϨΫτϦΛڞ༗ w *OGPQMJTUʹ:&4Ͱه w %PDVNFOUCBTFE w 6*4VQQPSUT%PDVNFOU#SPXTFS w ඇ%PDVNFOUCBTFE w
6*'JMF4IBSJOH&OBCMFE w -44VQQPSUT0QFOJOH%PDVNFOUT*O1MBDF
%PDVNFOUTσΟϨΫτϦΛڞ༗ w ߲Ճ͢Δ͚ͩͰ؆୯ڞ༗
ϑΝΠϧʹ ΞΫηε͢Δํ๏
ϑΝΠϧʹΞΫηε͢Δํ๏ w 6*%PDVNFOU#SPXTFS7JFX$POUSPMMFS w 6*%PDVNFOU1JDLFS7JFX$POUSPMMFS
w ϑϧΞΫηεͰ͖ͦ͏ͳ7JFX$POUSPMMFS w ੍͔͠͠ݶࣄ߲͕ͨ͘͞Μ͋Δ w "QQͷ3PPU7JFX$POUSPMMFSͰͳ͚ΕͳΒͳ͍ w 6*%PDVNFOUPS/4'JMF1SFTFOUFS /4'JMF$PPSEJOBUPSͷܗࣜͰͷΈΞΫηεՄೳ w
%PDVNFOU#BTFEͳΞϓϦઐ༻ͱ͍͏ײ͡ 6*%PDVNFOU#SPXTFS7JFX$POUSPMMFS
w ࣮J$MPVE%SJWFੜ͔࣌Β͋Δ w ͭͷϞʔυʢ6*%PDVNFOU1JDLFS.PEFʣͰΞΫηε w JNQPSU w PQFO w FYQPSU5P4FSWJDF
w NPWF5P4FSWJDF w J04͔ΒෳϑΝΠϧબରԠ 6*%PDVNFOU1JDLFS7JFX$POUSPMMFS
%PDVNFOU1JDLFSʹ͍ͭͯ ͏গ͠ৄ͘͠
͍ํ func open() { let picker = UIDocumentPickerViewController( documentTypes: [kUTTypeText
as String], in: .open) picker.allowsMultipleSelection = false picker.delegate = self } func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) { // ॲཧޙͷURL͕͞ΕΔ }
Ϟʔυʹ͍ͭͯ w ΠϯPSΞτͰΠχγϟϥΠβ͕ҧ͏ // .open / .import init(documentTypes allowedUTIs: [String],
in mode: UIDocumentPickerMode) // .exportToService / .moveToService init(url: URL, in mode: UIDocumentPickerMode) init(urls: [URL], in mode: UIDocumentPickerMode)
JNQPSU w ֎෦ϑΝΠϧΛϩʔΧϧʹίϐʔ w ίϐʔઌࣗΞϓϦTBOECPYͷUFNQPSBSZQBUI w ֎෦ͷΦϦδφϧϑΝΠϧͦͷ··ҡ࣋͞ΕΔ
PQFO w ֎෦ϑΝΠϧΛͦͷ··։͘ w ڞ༗σΟϨΫτϦͷ63-͕͞ΕΔ w ֎෦ͷΦϦδφϧϑΝΠϧΛมߋͰ͖Δ w 63-<TUBSUcTUPQ>"DDFTTJOH4FDVSJUZ4DPQFE3FTPVSDF
FYQPSU5P4FSWJDF w ϩʔΧϧϑΝΠϧΛ֎෦ʹίϐʔ w ڞ༗σΟϨΫτϦͷ63-͕͞ΕΔ w ίϐʔઌͷϑΝΠϧΛมߋͰ͖Δ͕ɺ༻్ͱͯ͠ ఆ͞Ε͍ͯͳ͍༷
NPWF5P4FSWJDF w ϩʔΧϧϑΝΠϧΛ֎෦ʹҠಈ w ϩʔΧϧͷΦϦδφϧͳ͘ͳΔ w ڞ༗σΟϨΫτϦͷ63-͕͞ΕΔ w ҠಈઌͷϑΝΠϧΛมߋͰ͖Δ w
63-<TUBSUcTUPQ>"DDFTTJOH4FDVSJUZ4DPQFE3FTPVSDF
ҙ w ڞ༗σΟϨΫτϦͷ63-ΞϓϦͰอଘ͠ͳ͍ w 63-CPPLNBSL%BUB ʜ Λ͏ w ίϯϑϦΫτࣗલͰͳΜͱ͔ w
ڞ༗σΟϨΫτϦͷ63-ઌͷσʔλ֎෦͔Βͷ มߋΛஞ࣍ө
·ͱΊ w ΫϥυαʔϏεͷϑΝΠϧΛͪΐͬͱಡΈॻ͖͢ Δ͚ͩͳΒ6*%PDVNFOU1JDLFSΛ͑0, w ΈΜͳJ04ϕʔεͰ͍͖·͠ΐ͏ʂ