Soumettre la recherche
Mettre en ligne
20120121
•
0 j'aime
•
601 vues
K
komarineko
Suivre
NSEG 第23回勉強会での発表で使用したスライドです。
Lire moins
Lire la suite
Technologie
Business
Signaler
Partager
Signaler
Partager
1 sur 13
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
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
Recommandé
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
Contenu connexe
Tendances
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
Tendances
(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
Similaire à 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
Similaire à 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
Dernier
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Pixlogix Infotech
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
soniya singh
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Scott Keck-Warren
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Dernier
(20)
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Slack Application Development 101 Slides
Slack Application Development 101 Slides
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
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
Télécharger maintenant