Enviar pesquisa
Carregar
UIDocumentInteractionController
•
5 gostaram
•
3,437 visualizações
Katsumi Kishikawa
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 48
Baixar agora
Baixar para ler offline
Recomendados
Introduction to android
Introduction to android
Shrijan Tiwari
iOS UIAutomation
iOS UIAutomation
Jz Chang
What is Android?
What is Android?
ndalban
10分で分かるxamarin
10分で分かるxamarin
Yoshito Tabuchi
Scott Mason: Enhancing the User Interface Using Titanium Modules
Scott Mason: Enhancing the User Interface Using Titanium Modules
Axway Appcelerator
04 objective-c session 4
04 objective-c session 4
Amr Elghadban (AmrAngry)
MOCA iBeacons SDK for iOS 7
MOCA iBeacons SDK for iOS 7
MOCA Platform
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
OPITZ CONSULTING Deutschland
Mais conteúdo relacionado
Semelhante a UIDocumentInteractionController
200910 - iPhone at OOPSLA
200910 - iPhone at OOPSLA
Javier Gonzalez-Sanchez
iphone presentation
iphone presentation
Dhananjay Fartyal
LEARNING iPAD STORYBOARDS IN OBJ-‐C LESSON 1
LEARNING iPAD STORYBOARDS IN OBJ-‐C LESSON 1
Rich Helton
ios basics
ios basics
Muthu Sabarinathan
Bachelor Thesis-Peter Gerhat
Bachelor Thesis-Peter Gerhat
Peter Gerhat
TiAppCamp Atlanta 2013: Alloy Overview
TiAppCamp Atlanta 2013: Alloy Overview
Jamil Spain
iOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for Jasakomer
Andri Yadi
Quick Start to iOS Development
Quick Start to iOS Development
Jussi Pohjolainen
Coding - iPhone Frameworks for Museum Tours
Coding - iPhone Frameworks for Museum Tours
Chris Alexander
Beginning Real World iOS App Development
Beginning Real World iOS App Development
Andri Yadi
Stmik bandung
Stmik bandung
farid savarudin
Introduction of Xcode
Introduction of Xcode
Dhaval Kaneria
SplunkLive! Developer Session
SplunkLive! Developer Session
Splunk
iOS
iOS
Scott Leberknight
EverNote iOS SDK introduction & practices
EverNote iOS SDK introduction & practices
MaoYang Chien
iOS 11からのアプリ間ファイル共有
iOS 11からのアプリ間ファイル共有
Kenji Tanaka
XCode8.0
XCode8.0
Toan Nguyen Cong
Developing Interactive systems - lesson 2
Developing Interactive systems - lesson 2
Sónia
Intel XDK in Brief
Intel XDK in Brief
Camilo Corea
打造你的第一個iPhone APP
打造你的第一個iPhone APP
彼得潘 Pan
Semelhante a UIDocumentInteractionController
(20)
200910 - iPhone at OOPSLA
200910 - iPhone at OOPSLA
iphone presentation
iphone presentation
LEARNING iPAD STORYBOARDS IN OBJ-‐C LESSON 1
LEARNING iPAD STORYBOARDS IN OBJ-‐C LESSON 1
ios basics
ios basics
Bachelor Thesis-Peter Gerhat
Bachelor Thesis-Peter Gerhat
TiAppCamp Atlanta 2013: Alloy Overview
TiAppCamp Atlanta 2013: Alloy Overview
iOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for Jasakomer
Quick Start to iOS Development
Quick Start to iOS Development
Coding - iPhone Frameworks for Museum Tours
Coding - iPhone Frameworks for Museum Tours
Beginning Real World iOS App Development
Beginning Real World iOS App Development
Stmik bandung
Stmik bandung
Introduction of Xcode
Introduction of Xcode
SplunkLive! Developer Session
SplunkLive! Developer Session
iOS
iOS
EverNote iOS SDK introduction & practices
EverNote iOS SDK introduction & practices
iOS 11からのアプリ間ファイル共有
iOS 11からのアプリ間ファイル共有
XCode8.0
XCode8.0
Developing Interactive systems - lesson 2
Developing Interactive systems - lesson 2
Intel XDK in Brief
Intel XDK in Brief
打造你的第一個iPhone APP
打造你的第一個iPhone APP
Último
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
DianaGray10
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Commit University
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
dgelyza
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
D Cloud Solutions
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
Brian Pichman
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
IES VE
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
Asko Soukka
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
Liveplex
20230104 - machine vision
20230104 - machine vision
Jamie (Taka) Wang
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
shyamraj55
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
Precisely
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
Daniel Santiago Silva Capera
Nanopower In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
Pedro Manuel
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
Adam Moalla
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Aijun Zhang
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
DianaGray10
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
Matsuo Lab
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
Adtran
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
DianaGray10
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Will Schroeder
Último
(20)
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
20230104 - machine vision
20230104 - machine vision
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
Nanopower In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
UIDocumentInteractionController
1.
iPhone SDK
UIDocumentInteractionController Quick Look Framework 2011 1 30
2.
iPhone SDK
http://kishikawakatsumi.com Twitter @k_katsumi 24/7 twenty-four seven http://d.hatena.ne.jp/KishikawaKatsumi/ 2011 1 30
3.
iPhone SDK
• touch •MyWebClip •LDR touch • • • on the WEB •LCD Clock •i-Radio •Subway Map • 2011 1 30
4.
iPhone SDK
http://github.com/kishikawakatsumi •hatena-touch •DescriptionBuilder •ldr-touch •TiledLayerView •tv-listings •UICCalendarPicker •MapKit-Route-Directions •FlipCardNavigationView •PhotoFlipCardView 2011 1 30
5.
iPhone SDK 2011
1 30
6.
iPhone SDK
UIDocumentInteractionController Quick Look Framework 2011 1 30
7.
iPhone SDK
• • • •Quick Look 2011 1 30
8.
iPhone SDK
Open in "iBooks" 2011 1 30
9.
iPhone SDK Documents
Interacting with 2011 1 30
10.
iPhone SDK
Documents WWDC 2010 Session 106 - Understanding the Document Interaction Controller iOS http://developer.apple.com/jp/devcenter/ios/library/documentation/DocumentInteraction_TopicsForIOS.pdf Uniform Type Identifiers Reference http://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/UTIRef/UTIRef.pdf 2011 1 30
11.
iPhone SDK
Sample Code DocInteraction http://developer.apple.com/library/ios/#samplecode/DocInteraction/Introduction/Intro.html 2011 1 30
12.
iPhone SDK
DEMO 2011 1 30
13.
iPhone SDK
UIDocumentInteractionController 2011 1 30
14.
iPhone SDK
UIDocumentInteractionController + interactionControllerWithURL: 2011 1 30
15.
iPhone SDK
UIDocumentInteractionController NSURL *URL NSString *name NSString *UTI 2011 1 30
16.
iPhone SDK
UI 2011 1 30
17.
iPhone SDK
UIDocumentInteractionController *readonly NSArray *icons 2011 1 30
18.
iPhone SDK 2011
1 30
19.
iPhone SDK - (void)setupDocumentControllerWithURL:(NSURL
*)url { self.docInteractionController = [UIDocumentInteractionController interactionControllerWithURL:url]; self.docInteractionController.delegate = self; } 2011 1 30
20.
iPhone SDK NSURL *fileURL
= [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:documents[indexPath.row] ofType:nil]]; [self setupDocumentControllerWithURL:fileURL]; cell.textLabel.text = [[fileURL path] lastPathComponent]; NSInteger iconCount = [docInteractionController.icons count]; if (iconCount > 0) { cell.imageView.image = [docInteractionController.icons objectAtIndex:iconCount - 1]; } 2011 1 30
21.
iPhone SDK 2011
1 30
22.
iPhone SDK
UIDocumentInteractionController •presentPreviewAnimated: •dismissPreviewAnimated: Quick Look Framework 2011 1 30
23.
iPhone SDK [self.docInteractionController presentPreviewAnimated:YES]; #pragma
mark - #pragma mark UIDocumentInteractionControllerDelegate - (UIViewController *)documentInteractionControllerViewControllerForPreview: (UIDocumentInteractionController *)interactionController { return self; } 2011 1 30
24.
iPhone SDK
Quick Look Framework 2011 1 30
25.
iPhone SDK QLPreviewController *previewController
= [[QLPreviewController alloc] init]; previewController.dataSource = self; previewController.delegate = self; previewController.currentPreviewItemIndex = indexPath.row; [self presentModalViewController:previewController animated:YES]; [previewController release]; 2011 1 30
26.
#pragma mark -
iPhone SDK #pragma mark QLPreviewControllerDataSource // Returns the number of items that the preview controller should preview - (NSInteger)numberOfPreviewItemsInPreviewController: (QLPreviewController *)previewController { NSInteger numToPreview = 0; NSIndexPath *selectedIndexPath = [self.tableView indexPathForSelectedRow]; if (selectedIndexPath.section == 0) numToPreview = NUM_DOCS; else numToPreview = self.documentURLs.count; return numToPreview; } 2011 1 30
27.
// returns the
item that the preview controller should preview iPhone SDK - (id)previewController:(QLPreviewController *)previewController previewItemAtIndex:(NSInteger)index { NSURL *fileURL = nil; NSIndexPath *selectedIndexPath = [self.tableView indexPathForSelectedRow]; if (selectedIndexPath.section == 0) { fileURL = [NSURL fileURLWithPath: [[NSBundle mainBundle]pathForResource:documents[index] ofType:nil]]; } else { fileURL = [self.documentURLs objectAtIndex:index]; } return fileURL; } 2011 1 30
28.
iPhone SDK
Quick Look Framework • • 2011 1 30
29.
iPhone SDK
Quick Look Framework 2011 1 30
30.
iPhone SDK
•iWork •Microsoft Office (Office 97 ) •Rich Text Format(RTF) •PDF • •public.text UTI(Uniform Type Identifier) ( Uniform Type Identifiers Reference ) • (CSV) 2011 1 30
31.
iPhone SDK
UIDocumentInteractionController •presentPreviewAnimated: •dismissPreviewAnimated: Quick Look Framework 2011 1 30
32.
iPhone SDK 2011
1 30
33.
iPhone SDK
UIDocumentInteractionController •presentOptionsMenuFromRect: inView: animated: •presentOptionsMenuFromBarButtonItem: animated: •dismissMenuAnimated: 2011 1 30
34.
iPhone SDK
Open in "iBooks" 2011 1 30
35.
iPhone SDK 2011
1 30
36.
iPhone SDK
UIDocumentInteractionController •presentOpenInMenuFromRect: inView: animated: •presentOpenInMenuFromBarButtonItem: animated: •dismissMenuAnimated: 2011 1 30
37.
iPhone SDK Documents
Interacting with 2011 1 30
38.
iPhone SDK NSURL *fileURL
= [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:documents[indexPath.row] ofType:nil]]; [self setupDocumentControllerWithURL:fileURL]; cell.textLabel.text = [[fileURL path] lastPathComponent]; NSInteger iconCount = [docInteractionController.icons count]; if (iconCount > 0) { cell.imageView.image = [docInteractionController.icons objectAtIndex:iconCount - 1]; } 2011 1 30
39.
iPhone SDK 2011
1 30
40.
iPhone SDK 2011
1 30
41.
<plist version="1.0"> <dict>
iPhone SDK ! <key>CFBundleDocumentTypes</key> ! <array> ! ! <dict> ! ! ! <key>CFBundleTypeName</key> ! ! ! <string>Ika File Format</string> ! ! ! <key>CFBundleTypeExtensions</key> ! ! ! <array> ! ! ! ! <string>ika</string> ! ! ! </array> ! ! ! <key>CFBundleTypeIconFiles</key> ! ! ! <array> ! ! ! ! <string>ika_twitter_01.gif</string> ! ! ! ! <string>ika_twitter_13.gif</string> ! ! ! </array> ! ! ! <key>LSItemContentTypes</key> ! ! ! <array> ! ! ! ! <string>com.kishikawakatsumi.ika</string> ! ! ! </array> ! ! ! <key>LSHandlerRank</key> ! ! ! <string>owner</string> ! ! </dict> ! ! <dict> ! ! ! <key>CFBundleTypeName</key> 2011 1 30
42.
iPhone SDK
<key>CFBundleTypeName</key> <string>PDF File Format</string> 2011 1 30
43.
iPhone SDK
<key>LSItemContentTypes</key> <array> <string>com.adobe.pdf</string> </array> 2011 1 30
44.
iPhone SDK
<key>CFBundleTypeIconFiles</key> <array> <string>ika_twitter_01.gif</string> <string>ika_twitter_13.gif</string> </array> 2011 1 30
45.
iPhone SDK
<key>LSHandlerRank</key> <string>owner</string> 2011 1 30
46.
iPhone SDK 2011
1 30
47.
iPhone SDK 2011
1 30
48.
iPhone SDK !
<key>UTExportedTypeDeclarations</key> ! <array> ! ! <dict> ! ! ! <key>UTTypeDescription</key> ! ! ! <string>Ika File Format</string> ! ! ! <key>UTTypeIdentifier</key> ! ! ! <string>com.kishikawakatsumi.ika</string> ! ! ! <key>UTTypeTagSpecification</key> ! ! ! <dict> ! ! ! ! <key>public.filename-extension</key> ! ! ! ! <string>ika</string> ! ! ! </dict> ! ! </dict> ! </array> 2011 1 30
Baixar agora