From 4f2b18d34b1514f54046ed830ecc1b5c353a7786 Mon Sep 17 00:00:00 2001 From: Mike Abdullah Date: Tue, 30 Jul 2013 12:23:13 +0100 Subject: [PATCH 1/2] Add BSManagedDocument --- .../0.3/BSManagedDocument.podspec | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 BSManagedDocument/0.3/BSManagedDocument.podspec diff --git a/BSManagedDocument/0.3/BSManagedDocument.podspec b/BSManagedDocument/0.3/BSManagedDocument.podspec new file mode 100644 index 00000000000000..ba8d740149e9b1 --- /dev/null +++ b/BSManagedDocument/0.3/BSManagedDocument.podspec @@ -0,0 +1,24 @@ +Pod::Spec.new do |s| + s.name = "BSManagedDocument" + s.version = "0.3" + s.summary = "Brings UIManagedDocument's design to OS X." + s.description = "A document class that mimics `UIManagedDocument` to support Core Data in all its modern glory: + + * Saves to a file package + * On 10.7+, asynchronous saving is supported. We set up a parent/child pair of contexts; the parent saves on its own thread + * Full support for concurrent document opening too + * Subclasses can hook in to manage additional content inside the package + * A hook is also provided at the best time to set metadata for the store + * New docs have the bundle bit set on them. It means that if the doc gets transferred to a Mac without your app installed, with the bundle bit still intact, it will still appear in the Finder as a file package rather than a folder + * If the document moves on disk, Core Data is kept informed of the new location + * If multiple validation errors occur during saving, the presented error is adjusted to make debugging a little easier + * And of course, full support for Autosave-In-Place and Versions + " + + s.homepage = "https://github.com/karelia/BSManagedDocument" + s.license = 'BSD' + s.authors = { "Mike Abdullah" => "me@mikeabdullah.net", "Sasmito Adibowo" => "adib@basil-salad.com" } + s.source = { :git => "https://github.com/karelia/BSManagedDocument.git", :tag => "v0.3" } + s.platform = :osx, '10.6' + s.source_files = 'BSManagedDocument.h', 'BSManagedDocument.m' +end From 077ed975baf63a3c36b0de4623f76e05e097b7d1 Mon Sep 17 00:00:00 2001 From: Mike Abdullah Date: Wed, 31 Jul 2013 09:45:04 +0100 Subject: [PATCH 2/2] Tediously add periods to bullet points to make the validator happy --- .../0.3/BSManagedDocument.podspec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/BSManagedDocument/0.3/BSManagedDocument.podspec b/BSManagedDocument/0.3/BSManagedDocument.podspec index ba8d740149e9b1..3ea249948fc5c9 100644 --- a/BSManagedDocument/0.3/BSManagedDocument.podspec +++ b/BSManagedDocument/0.3/BSManagedDocument.podspec @@ -4,15 +4,15 @@ Pod::Spec.new do |s| s.summary = "Brings UIManagedDocument's design to OS X." s.description = "A document class that mimics `UIManagedDocument` to support Core Data in all its modern glory: - * Saves to a file package - * On 10.7+, asynchronous saving is supported. We set up a parent/child pair of contexts; the parent saves on its own thread - * Full support for concurrent document opening too - * Subclasses can hook in to manage additional content inside the package - * A hook is also provided at the best time to set metadata for the store - * New docs have the bundle bit set on them. It means that if the doc gets transferred to a Mac without your app installed, with the bundle bit still intact, it will still appear in the Finder as a file package rather than a folder - * If the document moves on disk, Core Data is kept informed of the new location - * If multiple validation errors occur during saving, the presented error is adjusted to make debugging a little easier - * And of course, full support for Autosave-In-Place and Versions + * Saves to a file package. + * On 10.7+, asynchronous saving is supported. We set up a parent/child pair of contexts; the parent saves on its own thread. + * Full support for concurrent document opening too. + * Subclasses can hook in to manage additional content inside the package. + * A hook is also provided at the best time to set metadata for the store. + * New docs have the bundle bit set on them. It means that if the doc gets transferred to a Mac without your app installed, with the bundle bit still intact, it will still appear in the Finder as a file package rather than a folder. + * If the document moves on disk, Core Data is kept informed of the new location. + * If multiple validation errors occur during saving, the presented error is adjusted to make debugging a little easier. + * And of course, full support for Autosave-In-Place and Versions. " s.homepage = "https://github.com/karelia/BSManagedDocument"