Suche senden
Hochladen
20120121
•
0 gefällt mir
•
601 views
K
komarineko
Folgen
NSEG 第23回勉強会での発表で使用したスライドです。
Weniger lesen
Mehr lesen
Technologie
Business
Melden
Teilen
Melden
Teilen
1 von 13
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Beginning icloud development - Cesare Rocchi - WhyMCA
Beginning icloud development - Cesare Rocchi - WhyMCA
Whymca
Bonjour, iCloud
Bonjour, iCloud
Chris Adamson
Persisting Data on SQLite using Room
Persisting Data on SQLite using Room
Nelson Glauber Leal
iOS for ERREST - alternative version
iOS for ERREST - alternative version
WO Community
ERGroupware
ERGroupware
WO Community
Whats new in iOS5
Whats new in iOS5
Paul Ardeleanu
iOSDevCamp 2011 Core Data
iOSDevCamp 2011 Core Data
Chris Mar
Zabbix LLD from a C Module by Jan-Piet Mens
Zabbix LLD from a C Module by Jan-Piet Mens
NETWAYS
Empfohlen
Beginning icloud development - Cesare Rocchi - WhyMCA
Beginning icloud development - Cesare Rocchi - WhyMCA
Whymca
Bonjour, iCloud
Bonjour, iCloud
Chris Adamson
Persisting Data on SQLite using Room
Persisting Data on SQLite using Room
Nelson Glauber Leal
iOS for ERREST - alternative version
iOS for ERREST - alternative version
WO Community
ERGroupware
ERGroupware
WO Community
Whats new in iOS5
Whats new in iOS5
Paul Ardeleanu
iOSDevCamp 2011 Core Data
iOSDevCamp 2011 Core Data
Chris Mar
Zabbix LLD from a C Module by Jan-Piet Mens
Zabbix LLD from a C Module by Jan-Piet Mens
NETWAYS
Arquitetando seu aplicativo Android com Jetpack
Arquitetando seu aplicativo Android com Jetpack
Nelson Glauber Leal
The next step, part 2
The next step, part 2
Pat Cavit
I os 04
I os 04
信嘉 陳
Core Data with multiple managed object contexts
Core Data with multiple managed object contexts
Matthew Morey
iOS Beginners Lesson 4
iOS Beginners Lesson 4
Calvin Cheng
コードで学ぶドメイン駆動設計入門
コードで学ぶドメイン駆動設計入門
潤一 加藤
20141001 delapsley-oc-openstack-final
20141001 delapsley-oc-openstack-final
David Lapsley
Create a Core Data Observer in 10mins
Create a Core Data Observer in 10mins
zmcartor
Client-side Rendering with AngularJS
Client-side Rendering with AngularJS
David Lapsley
Data perisistence in iOS
Data perisistence in iOS
mobiledeveloperpl
Realm.io par Clement Sauvage
Realm.io par Clement Sauvage
CocoaHeads France
MobileCity:Core Data
MobileCity:Core Data
Allan Davis
Core animation
Core animation
Weizhong Yang
mDevCamp - The Best from Google IO
mDevCamp - The Best from Google IO
ondraz
Green dao
Green dao
Droidcon Berlin
Mythbusting: Understanding How We Measure the Performance of MongoDB
Mythbusting: Understanding How We Measure the Performance of MongoDB
MongoDB
Special Events: Beyond Custom Events
Special Events: Beyond Custom Events
Brandon Aaron
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODM
Jonathan Wage
REST/JSON/CoreData Example Code - A Tour
REST/JSON/CoreData Example Code - A Tour
Carl Brown
Getting Started with Datatsax .Net Driver
Getting Started with Datatsax .Net Driver
DataStax Academy
iOS5 NewStuff
iOS5 NewStuff
deenna_vargilz
CocoaHeads PDX 2014 01 23 : CoreData and iCloud Improvements iOS7 / OSX Maver...
CocoaHeads PDX 2014 01 23 : CoreData and iCloud Improvements iOS7 / OSX Maver...
smn-automate
Weitere ähnliche Inhalte
Was ist angesagt?
Arquitetando seu aplicativo Android com Jetpack
Arquitetando seu aplicativo Android com Jetpack
Nelson Glauber Leal
The next step, part 2
The next step, part 2
Pat Cavit
I os 04
I os 04
信嘉 陳
Core Data with multiple managed object contexts
Core Data with multiple managed object contexts
Matthew Morey
iOS Beginners Lesson 4
iOS Beginners Lesson 4
Calvin Cheng
コードで学ぶドメイン駆動設計入門
コードで学ぶドメイン駆動設計入門
潤一 加藤
20141001 delapsley-oc-openstack-final
20141001 delapsley-oc-openstack-final
David Lapsley
Create a Core Data Observer in 10mins
Create a Core Data Observer in 10mins
zmcartor
Client-side Rendering with AngularJS
Client-side Rendering with AngularJS
David Lapsley
Data perisistence in iOS
Data perisistence in iOS
mobiledeveloperpl
Realm.io par Clement Sauvage
Realm.io par Clement Sauvage
CocoaHeads France
MobileCity:Core Data
MobileCity:Core Data
Allan Davis
Core animation
Core animation
Weizhong Yang
mDevCamp - The Best from Google IO
mDevCamp - The Best from Google IO
ondraz
Green dao
Green dao
Droidcon Berlin
Mythbusting: Understanding How We Measure the Performance of MongoDB
Mythbusting: Understanding How We Measure the Performance of MongoDB
MongoDB
Special Events: Beyond Custom Events
Special Events: Beyond Custom Events
Brandon Aaron
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODM
Jonathan Wage
REST/JSON/CoreData Example Code - A Tour
REST/JSON/CoreData Example Code - A Tour
Carl Brown
Getting Started with Datatsax .Net Driver
Getting Started with Datatsax .Net Driver
DataStax Academy
Was ist angesagt?
(20)
Arquitetando seu aplicativo Android com Jetpack
Arquitetando seu aplicativo Android com Jetpack
The next step, part 2
The next step, part 2
I os 04
I os 04
Core Data with multiple managed object contexts
Core Data with multiple managed object contexts
iOS Beginners Lesson 4
iOS Beginners Lesson 4
コードで学ぶドメイン駆動設計入門
コードで学ぶドメイン駆動設計入門
20141001 delapsley-oc-openstack-final
20141001 delapsley-oc-openstack-final
Create a Core Data Observer in 10mins
Create a Core Data Observer in 10mins
Client-side Rendering with AngularJS
Client-side Rendering with AngularJS
Data perisistence in iOS
Data perisistence in iOS
Realm.io par Clement Sauvage
Realm.io par Clement Sauvage
MobileCity:Core Data
MobileCity:Core Data
Core animation
Core animation
mDevCamp - The Best from Google IO
mDevCamp - The Best from Google IO
Green dao
Green dao
Mythbusting: Understanding How We Measure the Performance of MongoDB
Mythbusting: Understanding How We Measure the Performance of MongoDB
Special Events: Beyond Custom Events
Special Events: Beyond Custom Events
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODM
REST/JSON/CoreData Example Code - A Tour
REST/JSON/CoreData Example Code - A Tour
Getting Started with Datatsax .Net Driver
Getting Started with Datatsax .Net Driver
Ähnlich wie 20120121
iOS5 NewStuff
iOS5 NewStuff
deenna_vargilz
CocoaHeads PDX 2014 01 23 : CoreData and iCloud Improvements iOS7 / OSX Maver...
CocoaHeads PDX 2014 01 23 : CoreData and iCloud Improvements iOS7 / OSX Maver...
smn-automate
Developing iOS REST Applications
Developing iOS REST Applications
lmrei
AngularJS Architecture
AngularJS Architecture
Eyal Vardi
AngularJS Internal
AngularJS Internal
Eyal Vardi
I phone勉強会 (2011.11.23)
I phone勉強会 (2011.11.23)
Katsumi Kishikawa
Webエンジニアから見たiOS5
Webエンジニアから見たiOS5
Satoshi Asano
iOS
iOS
Scott Leberknight
GCD in Action
GCD in Action
Nigel Barber
UIViewControllerのコーナーケース
UIViewControllerのコーナーケース
Katsumi Kishikawa
Moar tools for asynchrony!
Moar tools for asynchrony!
Joachim Bengtsson
Implementing New Web
Implementing New Web
Julian Viereck
Implementing new WebAPIs
Implementing new WebAPIs
Julian Viereck
Simpler Core Data with RubyMotion
Simpler Core Data with RubyMotion
Stefan Haflidason
NHibernate Configuration Patterns
NHibernate Configuration Patterns
Luca Milan
10 tips for a reusable architecture
10 tips for a reusable architecture
Jorge Ortiz
Swift after one week of coding
Swift after one week of coding
SwiftWro
スマートフォン勉強会@関東 #11 どう考えてもdisconなものをiPhoneに移植してみた
スマートフォン勉強会@関東 #11 どう考えてもdisconなものをiPhoneに移植してみた
Taro Matsuzawa
Web2.0 with jQuery in English
Web2.0 with jQuery in English
Lau Bech Lauritzen
The IoC Hydra - Dutch PHP Conference 2016
The IoC Hydra - Dutch PHP Conference 2016
Kacper Gunia
Ähnlich wie 20120121
(20)
iOS5 NewStuff
iOS5 NewStuff
CocoaHeads PDX 2014 01 23 : CoreData and iCloud Improvements iOS7 / OSX Maver...
CocoaHeads PDX 2014 01 23 : CoreData and iCloud Improvements iOS7 / OSX Maver...
Developing iOS REST Applications
Developing iOS REST Applications
AngularJS Architecture
AngularJS Architecture
AngularJS Internal
AngularJS Internal
I phone勉強会 (2011.11.23)
I phone勉強会 (2011.11.23)
Webエンジニアから見たiOS5
Webエンジニアから見たiOS5
iOS
iOS
GCD in Action
GCD in Action
UIViewControllerのコーナーケース
UIViewControllerのコーナーケース
Moar tools for asynchrony!
Moar tools for asynchrony!
Implementing New Web
Implementing New Web
Implementing new WebAPIs
Implementing new WebAPIs
Simpler Core Data with RubyMotion
Simpler Core Data with RubyMotion
NHibernate Configuration Patterns
NHibernate Configuration Patterns
10 tips for a reusable architecture
10 tips for a reusable architecture
Swift after one week of coding
Swift after one week of coding
スマートフォン勉強会@関東 #11 どう考えてもdisconなものをiPhoneに移植してみた
スマートフォン勉強会@関東 #11 どう考えてもdisconなものをiPhoneに移植してみた
Web2.0 with jQuery in English
Web2.0 with jQuery in English
The IoC Hydra - Dutch PHP Conference 2016
The IoC Hydra - Dutch PHP Conference 2016
Kürzlich hochgeladen
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Alkin Tezuysal
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
Kari Kakkonen
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Farhan Tariq
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
UiPathCommunity
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
Ravi Sanghani
A Framework for Development in the AI Age
A Framework for Development in the AI Age
Cprime
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
Rick Flair
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Raghuram Pandurangan
2024 April Patch Tuesday
2024 April Patch Tuesday
Ivanti
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
Skynet Technologies
Kürzlich hochgeladen
(20)
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
A Framework for Development in the AI Age
A Framework for Development in the AI Age
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
2024 April Patch Tuesday
2024 April Patch Tuesday
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
20120121
1.
iCloud
Mick Kubo(@komarineko) http://komarineko.net/ 2012 1 21 12 2 14
2.
•
iCloud ... .... • NSDocument ... ... Web ...( ) • ... 12 2 14
3.
iCloud
• ( ) • ( ) • Apple ... • ... Google Evernote • WWDC2011 iCloud Windows API ... 12 2 14
4.
•
iCloud iCloud • daemon ”ubd” • • iCloud “ubd” (ry 12 2 14
5.
• NSFilePresenter
• NSFileCoordinator • • UIDocument 12 2 14
6.
UIDocument
• NSFilePresenter • UIDocument loadFromContents:ofType:error: ( ) contentsForType:error: ( ) (ViewController) delegate 12 2 14
7.
UIDocument
• delegate (→View ) • View → •UIDocumentStateChangedNotification [NSNotificationCenter defaultCenter] documentState UIDocumentStateNormal : UIDocumentStateInConflict : UIDocumentStateSavingError UIDocumentStateNormal 12 2 14
8.
• iCloud
defaultFileManager ( [NSFileManager defaultManager] ) URLForUbiquityContainerIdentifier: →iCloud nil iCloud iCloud iCloud 12 2 14
9.
•
NSMetadataQuery ) NSMetadataQuery *query = [[NSMetadataQuery alloc] init]; query.predicate = [NSPredicate predicateWithFormat:@"%K ENDSWITH '.txt'", NSMetadataItemFSNameKey]; query.searchScopes = [NSArray arrayWithObject:NSMetadataQueryUbiquitousDocumentsScope]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateUbiquitousDocuments:) name:NSMetadataQueryDidFinishGatheringNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateUbiquitousDocuments:) name:NSMetadataQueryDidUpdateNotification object:nil]; [query startQuery]; 12 2 14
10.
•
saveToURL:forSaveOperation:completionHandler: forSaveOperation UIDocumentSaveForCreating • openWithCompletionHandler: • closeWithCompletionHandler: ( ) 12 2 14
11.
• iCloud
( defaultFileManager ( [NSFileManager defaultManager] ) ) setUbiquitous:itemAtURL:destinationURL:error: → iCloud setUbiquitous YES iCloud → setUbiquitous NO • defaultFileManager ( [NSFileManager defaultManager] ) removeItemAtURL:error: 12 2 14
12.
• iCloud
setUbiquitous:itemAtURL:destinationURL:error: ( ) NSFilePresenter )( iOS ) dispatch_queue_t q_default; q_default = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_async(q_default, ^(void) { NSFileManager *fileManager = [[NSFileManager alloc] init]; NSError *error = nil; BOOL success = [fileManager setUbiquitous:YES itemAtURL:sourceURL destinationURL:destinationURL error:&error]; dispatch_queue_t q_main = dispatch_get_main_queue(); dispatch_async(q_main, ^(void) { if (success) { FileRepresentation *fileRepresentation = [[FileRepresentation alloc] initWithFileName:fileToMove.fileName url:destinationURL]; [_fileList removeObject:fileToMove]; [_fileList addObject:fileRepresentation]; NSLog(@"moved file to cloud: %@", fileRepresentation); } if (!success) { NSLog(@"Couldn't move file to iCloud: %@", fileToMove); } }); }); 12 2 14
13.
•
• 12 2 14
Jetzt herunterladen