diff --git a/.gitignore b/.gitignore index b4f0d94a..f385601e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,14 @@ # OS X .DS_Store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes # Xcode +# build/ *.pbxuser !default.pbxuser @@ -13,14 +20,13 @@ build/ !default.perspectivev3 xcuserdata *.xccheckout -*.xcuserstate -profile *.moved-aside DerivedData *.hmap *.ipa -*.gcno -*.gcda -Pods +*.xcuserstate +*.xcscmblueprint +# CocoaPods +Pods *.lock diff --git a/.slather.yml b/.slather.yml index 58191204..880712ad 100644 --- a/.slather.yml +++ b/.slather.yml @@ -1,4 +1,4 @@ ci_service: travis_ci coverage_service: coveralls -xcodeproj: Tests/Tests.xcodeproj +xcodeproj: Demo.xcodeproj source_directory: Source diff --git a/.travis.yml b/.travis.yml index 3e0c4beb..95713cb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,13 @@ -# osx_image: xcode7 -# language: objective-c -# cache: cocoapods -# podfile: Tests/Podfile -# before_install: gem install cocoapods obcd slather -N -# script: xctool -workspace Tests/Tests.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test -# after_success: slather +osx_image: xcode7 +language: objective-c +cache: cocoapods +before_install: gem install xcpretty cocoapods obcd slather -N + +# Use when you don't have third party dependencies +script: xcodebuild -project Demo.xcodeproj -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c && exit ${PIPESTATUS[0]} + +# Use when you have third party dependencies (CocoaPods generates a workspace) +# podfile: Podfile +# script: xcodebuild -workspace Demo.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c && exit ${PIPESTATUS[0]} + +after_success: slather diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..14ded4f9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +Check https://github.com/hyperoslo/Sync/releases for more information. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100755 new mode 100644 index 294e634d..d1b60444 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,3 @@ -GitHub Issues is for reporting bugs, discussing features and general feedback for **Sync**. Be sure to check our [documentation](http://cocoadocs.org/docsets/Sync), [FAQ](https://github.com/hyperoslo/Sync/wiki/FAQ) and [past issues](https://github.com/hyperoslo/Sync/issues?state=closed) before opening any new issues. +GitHub Issues is for reporting bugs, discussing features and general feedback in **Sync**. Be sure to check our [documentation](http://cocoadocs.org/docsets/Sync), [FAQ](https://github.com/hyperoslo/Sync/wiki/FAQ) and [past issues](https://github.com/hyperoslo/Sync/issues?state=closed) before opening any new issues. -If you are posting about a crash in your application or a feature request, an example of your **JSON** and your **Core Data model** or a **stacktrace** would be really helpful for us to be able to reproduce your issue or understand your request, please consider adding these things before making an issue. - -Thanks <3 +If you are posting about a crash in your application, a stack trace is helpful, but additional context, in the form of code and explanation, is necessary to be of any use. diff --git a/Demo.xcodeproj/project.pbxproj b/Demo.xcodeproj/project.pbxproj new file mode 100644 index 00000000..179eb9b1 --- /dev/null +++ b/Demo.xcodeproj/project.pbxproj @@ -0,0 +1,703 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 141894031BDD62E900EE52CE /* NSArray+Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 141893FC1BDD62E900EE52CE /* NSArray+Sync.m */; }; + 141894041BDD62E900EE52CE /* NSEntityDescription+Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 141893FE1BDD62E900EE52CE /* NSEntityDescription+Sync.m */; }; + 141894051BDD62E900EE52CE /* NSManagedObject+Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 141894001BDD62E900EE52CE /* NSManagedObject+Sync.m */; }; + 141894061BDD62E900EE52CE /* Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 141894021BDD62E900EE52CE /* Sync.m */; }; + 1418943F1BDD62F600EE52CE /* BaseTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = 141894091BDD62F600EE52CE /* BaseTestCase.m */; }; + 141894401BDD62F600EE52CE /* bug-113-comments-no-id.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418940B1BDD62F600EE52CE /* bug-113-comments-no-id.json */; }; + 141894411BDD62F600EE52CE /* bug-113-custom_relationship_key_to_one.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418940C1BDD62F600EE52CE /* bug-113-custom_relationship_key_to_one.json */; }; + 141894421BDD62F600EE52CE /* bug-113-stories-comments-no-ids.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418940D1BDD62F600EE52CE /* bug-113-stories-comments-no-ids.json */; }; + 141894431BDD62F600EE52CE /* bug-125-light.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418940E1BDD62F600EE52CE /* bug-125-light.json */; }; + 141894441BDD62F600EE52CE /* bug-125.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418940F1BDD62F600EE52CE /* bug-125.json */; }; + 141894451BDD62F600EE52CE /* bug-number-84.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894101BDD62F600EE52CE /* bug-number-84.json */; }; + 141894461BDD62F600EE52CE /* comments-no-id.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894111BDD62F600EE52CE /* comments-no-id.json */; }; + 141894471BDD62F600EE52CE /* custom_relationship_key_to_many.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894121BDD62F600EE52CE /* custom_relationship_key_to_many.json */; }; + 141894481BDD62F600EE52CE /* custom_relationship_key_to_one.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894131BDD62F600EE52CE /* custom_relationship_key_to_one.json */; }; + 141894491BDD62F600EE52CE /* images.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894141BDD62F600EE52CE /* images.json */; }; + 1418944A1BDD62F600EE52CE /* markets_items.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894151BDD62F600EE52CE /* markets_items.json */; }; + 1418944B1BDD62F600EE52CE /* notes_for_user_a.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894161BDD62F600EE52CE /* notes_for_user_a.json */; }; + 1418944C1BDD62F600EE52CE /* numbers.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894171BDD62F600EE52CE /* numbers.json */; }; + 1418944D1BDD62F600EE52CE /* numbers_in_collection.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894181BDD62F600EE52CE /* numbers_in_collection.json */; }; + 1418944E1BDD62F600EE52CE /* organizations-tree.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894191BDD62F600EE52CE /* organizations-tree.json */; }; + 1418944F1BDD62F600EE52CE /* patients.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418941A1BDD62F600EE52CE /* patients.json */; }; + 141894501BDD62F600EE52CE /* stories-comments-no-ids.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418941B1BDD62F600EE52CE /* stories-comments-no-ids.json */; }; + 141894511BDD62F600EE52CE /* story-summarize.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418941C1BDD62F600EE52CE /* story-summarize.json */; }; + 141894521BDD62F600EE52CE /* tagged_notes.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418941D1BDD62F600EE52CE /* tagged_notes.json */; }; + 141894531BDD62F600EE52CE /* unique.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418941E1BDD62F600EE52CE /* unique.json */; }; + 141894541BDD62F600EE52CE /* users_a.json in Resources */ = {isa = PBXBuildFile; fileRef = 1418941F1BDD62F600EE52CE /* users_a.json */; }; + 141894551BDD62F600EE52CE /* users_b.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894201BDD62F600EE52CE /* users_b.json */; }; + 141894561BDD62F600EE52CE /* users_c.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894211BDD62F600EE52CE /* users_c.json */; }; + 141894571BDD62F600EE52CE /* users_company.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894221BDD62F600EE52CE /* users_company.json */; }; + 141894581BDD62F600EE52CE /* users_notes.json in Resources */ = {isa = PBXBuildFile; fileRef = 141894231BDD62F600EE52CE /* users_notes.json */; }; + 141894591BDD62F600EE52CE /* Bug113.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894251BDD62F600EE52CE /* Bug113.xcdatamodeld */; }; + 1418945A1BDD62F600EE52CE /* Bug125-simplified.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894271BDD62F600EE52CE /* Bug125-simplified.xcdatamodeld */; }; + 1418945B1BDD62F600EE52CE /* Bug125.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894291BDD62F600EE52CE /* Bug125.xcdatamodeld */; }; + 1418945C1BDD62F600EE52CE /* Bug84.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 1418942B1BDD62F600EE52CE /* Bug84.xcdatamodeld */; }; + 1418945D1BDD62F600EE52CE /* Contacts.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 1418942D1BDD62F600EE52CE /* Contacts.xcdatamodeld */; }; + 1418945E1BDD62F600EE52CE /* Markets.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 1418942F1BDD62F600EE52CE /* Markets.xcdatamodeld */; }; + 1418945F1BDD62F600EE52CE /* Notes.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894311BDD62F600EE52CE /* Notes.xcdatamodeld */; }; + 141894601BDD62F600EE52CE /* Organizations.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894331BDD62F600EE52CE /* Organizations.xcdatamodeld */; }; + 141894611BDD62F600EE52CE /* Patients.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894351BDD62F600EE52CE /* Patients.xcdatamodeld */; }; + 141894621BDD62F600EE52CE /* Recursive.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894371BDD62F600EE52CE /* Recursive.xcdatamodeld */; }; + 141894631BDD62F600EE52CE /* Social.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 141894391BDD62F600EE52CE /* Social.xcdatamodeld */; }; + 141894641BDD62F600EE52CE /* Unique.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 1418943B1BDD62F600EE52CE /* Unique.xcdatamodeld */; }; + 141894651BDD62F600EE52CE /* NSArray+Sync_Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1418943D1BDD62F600EE52CE /* NSArray+Sync_Tests.m */; }; + 141894661BDD62F600EE52CE /* SyncTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1418943E1BDD62F600EE52CE /* SyncTests.m */; }; + 8C1190CE4B3821813B6A3421 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9E482492041434DB374B1948 /* Pods.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 141893FB1BDD62E900EE52CE /* NSArray+Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+Sync.h"; sourceTree = ""; }; + 141893FC1BDD62E900EE52CE /* NSArray+Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+Sync.m"; sourceTree = ""; }; + 141893FD1BDD62E900EE52CE /* NSEntityDescription+Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSEntityDescription+Sync.h"; sourceTree = ""; }; + 141893FE1BDD62E900EE52CE /* NSEntityDescription+Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSEntityDescription+Sync.m"; sourceTree = ""; }; + 141893FF1BDD62E900EE52CE /* NSManagedObject+Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSManagedObject+Sync.h"; sourceTree = ""; }; + 141894001BDD62E900EE52CE /* NSManagedObject+Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSManagedObject+Sync.m"; sourceTree = ""; }; + 141894011BDD62E900EE52CE /* Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sync.h; sourceTree = ""; }; + 141894021BDD62E900EE52CE /* Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Sync.m; sourceTree = ""; }; + 141894081BDD62F600EE52CE /* BaseTestCase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseTestCase.h; sourceTree = ""; }; + 141894091BDD62F600EE52CE /* BaseTestCase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseTestCase.m; sourceTree = ""; }; + 1418940B1BDD62F600EE52CE /* bug-113-comments-no-id.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-113-comments-no-id.json"; sourceTree = ""; }; + 1418940C1BDD62F600EE52CE /* bug-113-custom_relationship_key_to_one.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-113-custom_relationship_key_to_one.json"; sourceTree = ""; }; + 1418940D1BDD62F600EE52CE /* bug-113-stories-comments-no-ids.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-113-stories-comments-no-ids.json"; sourceTree = ""; }; + 1418940E1BDD62F600EE52CE /* bug-125-light.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-125-light.json"; sourceTree = ""; }; + 1418940F1BDD62F600EE52CE /* bug-125.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-125.json"; sourceTree = ""; }; + 141894101BDD62F600EE52CE /* bug-number-84.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-number-84.json"; sourceTree = ""; }; + 141894111BDD62F600EE52CE /* comments-no-id.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "comments-no-id.json"; sourceTree = ""; }; + 141894121BDD62F600EE52CE /* custom_relationship_key_to_many.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = custom_relationship_key_to_many.json; sourceTree = ""; }; + 141894131BDD62F600EE52CE /* custom_relationship_key_to_one.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = custom_relationship_key_to_one.json; sourceTree = ""; }; + 141894141BDD62F600EE52CE /* images.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = images.json; sourceTree = ""; }; + 141894151BDD62F600EE52CE /* markets_items.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = markets_items.json; sourceTree = ""; }; + 141894161BDD62F600EE52CE /* notes_for_user_a.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = notes_for_user_a.json; sourceTree = ""; }; + 141894171BDD62F600EE52CE /* numbers.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = numbers.json; sourceTree = ""; }; + 141894181BDD62F600EE52CE /* numbers_in_collection.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = numbers_in_collection.json; sourceTree = ""; }; + 141894191BDD62F600EE52CE /* organizations-tree.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "organizations-tree.json"; sourceTree = ""; }; + 1418941A1BDD62F600EE52CE /* patients.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = patients.json; sourceTree = ""; }; + 1418941B1BDD62F600EE52CE /* stories-comments-no-ids.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stories-comments-no-ids.json"; sourceTree = ""; }; + 1418941C1BDD62F600EE52CE /* story-summarize.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "story-summarize.json"; sourceTree = ""; }; + 1418941D1BDD62F600EE52CE /* tagged_notes.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = tagged_notes.json; sourceTree = ""; }; + 1418941E1BDD62F600EE52CE /* unique.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = unique.json; sourceTree = ""; }; + 1418941F1BDD62F600EE52CE /* users_a.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_a.json; sourceTree = ""; }; + 141894201BDD62F600EE52CE /* users_b.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_b.json; sourceTree = ""; }; + 141894211BDD62F600EE52CE /* users_c.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_c.json; sourceTree = ""; }; + 141894221BDD62F600EE52CE /* users_company.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_company.json; sourceTree = ""; }; + 141894231BDD62F600EE52CE /* users_notes.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_notes.json; sourceTree = ""; }; + 141894261BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 141894281BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 1418942A1BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 1418942C1BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 1418942E1BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 141894301BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 141894321BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 141894341BDD62F600EE52CE /* Organizations.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Organizations.xcdatamodel; sourceTree = ""; }; + 141894361BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 141894381BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 1418943A1BDD62F600EE52CE /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; + 1418943C1BDD62F600EE52CE /* Unique.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Unique.xcdatamodel; sourceTree = ""; }; + 1418943D1BDD62F600EE52CE /* NSArray+Sync_Tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+Sync_Tests.m"; sourceTree = ""; }; + 1418943E1BDD62F600EE52CE /* SyncTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SyncTests.m; sourceTree = ""; }; + 146D72AC1AB782920058798C /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 146D72B11AB782920058798C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 14C0AF7F1BD6D4230009ECBE /* .slather.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .slather.yml; sourceTree = ""; }; + 14C0AF801BD6D4230009ECBE /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = ""; }; + 14C0AF811BD6D4230009ECBE /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = ""; }; + 14C0AF821BD6D4230009ECBE /* CONTRIBUTING.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CONTRIBUTING.md; sourceTree = ""; }; + 14C0AF831BD6D4230009ECBE /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 9E482492041434DB374B1948 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C13281341A77530FC5AE626A /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; + E80F7331DFE41909E28F2702 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 146D72A91AB782920058798C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8C1190CE4B3821813B6A3421 /* Pods.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 141894071BDD62F600EE52CE /* Helpers */ = { + isa = PBXGroup; + children = ( + 141894081BDD62F600EE52CE /* BaseTestCase.h */, + 141894091BDD62F600EE52CE /* BaseTestCase.m */, + ); + path = Helpers; + sourceTree = ""; + }; + 1418940A1BDD62F600EE52CE /* JSONs */ = { + isa = PBXGroup; + children = ( + 1418940B1BDD62F600EE52CE /* bug-113-comments-no-id.json */, + 1418940C1BDD62F600EE52CE /* bug-113-custom_relationship_key_to_one.json */, + 1418940D1BDD62F600EE52CE /* bug-113-stories-comments-no-ids.json */, + 1418940E1BDD62F600EE52CE /* bug-125-light.json */, + 1418940F1BDD62F600EE52CE /* bug-125.json */, + 141894101BDD62F600EE52CE /* bug-number-84.json */, + 141894111BDD62F600EE52CE /* comments-no-id.json */, + 141894121BDD62F600EE52CE /* custom_relationship_key_to_many.json */, + 141894131BDD62F600EE52CE /* custom_relationship_key_to_one.json */, + 141894141BDD62F600EE52CE /* images.json */, + 141894151BDD62F600EE52CE /* markets_items.json */, + 141894161BDD62F600EE52CE /* notes_for_user_a.json */, + 141894171BDD62F600EE52CE /* numbers.json */, + 141894181BDD62F600EE52CE /* numbers_in_collection.json */, + 141894191BDD62F600EE52CE /* organizations-tree.json */, + 1418941A1BDD62F600EE52CE /* patients.json */, + 1418941B1BDD62F600EE52CE /* stories-comments-no-ids.json */, + 1418941C1BDD62F600EE52CE /* story-summarize.json */, + 1418941D1BDD62F600EE52CE /* tagged_notes.json */, + 1418941E1BDD62F600EE52CE /* unique.json */, + 1418941F1BDD62F600EE52CE /* users_a.json */, + 141894201BDD62F600EE52CE /* users_b.json */, + 141894211BDD62F600EE52CE /* users_c.json */, + 141894221BDD62F600EE52CE /* users_company.json */, + 141894231BDD62F600EE52CE /* users_notes.json */, + ); + path = JSONs; + sourceTree = ""; + }; + 141894241BDD62F600EE52CE /* Models */ = { + isa = PBXGroup; + children = ( + 141894251BDD62F600EE52CE /* Bug113.xcdatamodeld */, + 141894271BDD62F600EE52CE /* Bug125-simplified.xcdatamodeld */, + 141894291BDD62F600EE52CE /* Bug125.xcdatamodeld */, + 1418942B1BDD62F600EE52CE /* Bug84.xcdatamodeld */, + 1418942D1BDD62F600EE52CE /* Contacts.xcdatamodeld */, + 1418942F1BDD62F600EE52CE /* Markets.xcdatamodeld */, + 141894311BDD62F600EE52CE /* Notes.xcdatamodeld */, + 141894331BDD62F600EE52CE /* Organizations.xcdatamodeld */, + 141894351BDD62F600EE52CE /* Patients.xcdatamodeld */, + 141894371BDD62F600EE52CE /* Recursive.xcdatamodeld */, + 141894391BDD62F600EE52CE /* Social.xcdatamodeld */, + 1418943B1BDD62F600EE52CE /* Unique.xcdatamodeld */, + ); + path = Models; + sourceTree = ""; + }; + 146D728A1AB782920058798C = { + isa = PBXGroup; + children = ( + 14C136501AB7849300B7B07A /* Metadata */, + 14C0AF841BD6D4370009ECBE /* Source */, + 146D72AF1AB782920058798C /* Tests */, + 146D72941AB782920058798C /* Products */, + 7022AAD62B9688833050CCBB /* Pods */, + 515545DD1958EE5C50CA007A /* Frameworks */, + ); + indentWidth = 4; + sourceTree = ""; + tabWidth = 4; + }; + 146D72941AB782920058798C /* Products */ = { + isa = PBXGroup; + children = ( + 146D72AC1AB782920058798C /* Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 146D72AF1AB782920058798C /* Tests */ = { + isa = PBXGroup; + children = ( + 141894071BDD62F600EE52CE /* Helpers */, + 1418940A1BDD62F600EE52CE /* JSONs */, + 141894241BDD62F600EE52CE /* Models */, + 1418943D1BDD62F600EE52CE /* NSArray+Sync_Tests.m */, + 1418943E1BDD62F600EE52CE /* SyncTests.m */, + 146D72B01AB782920058798C /* Supporting Files */, + ); + path = Tests; + sourceTree = ""; + }; + 146D72B01AB782920058798C /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 146D72B11AB782920058798C /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 14C0AF841BD6D4370009ECBE /* Source */ = { + isa = PBXGroup; + children = ( + 141893FB1BDD62E900EE52CE /* NSArray+Sync.h */, + 141893FC1BDD62E900EE52CE /* NSArray+Sync.m */, + 141893FD1BDD62E900EE52CE /* NSEntityDescription+Sync.h */, + 141893FE1BDD62E900EE52CE /* NSEntityDescription+Sync.m */, + 141893FF1BDD62E900EE52CE /* NSManagedObject+Sync.h */, + 141894001BDD62E900EE52CE /* NSManagedObject+Sync.m */, + 141894011BDD62E900EE52CE /* Sync.h */, + 141894021BDD62E900EE52CE /* Sync.m */, + ); + path = Source; + sourceTree = ""; + }; + 14C136501AB7849300B7B07A /* Metadata */ = { + isa = PBXGroup; + children = ( + 14C0AF7F1BD6D4230009ECBE /* .slather.yml */, + 14C0AF801BD6D4230009ECBE /* .travis.yml */, + 14C0AF811BD6D4230009ECBE /* CHANGELOG.md */, + 14C0AF821BD6D4230009ECBE /* CONTRIBUTING.md */, + 14C0AF831BD6D4230009ECBE /* README.md */, + ); + name = Metadata; + sourceTree = ""; + }; + 515545DD1958EE5C50CA007A /* Frameworks */ = { + isa = PBXGroup; + children = ( + 9E482492041434DB374B1948 /* Pods.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 7022AAD62B9688833050CCBB /* Pods */ = { + isa = PBXGroup; + children = ( + C13281341A77530FC5AE626A /* Pods.debug.xcconfig */, + E80F7331DFE41909E28F2702 /* Pods.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 146D72AB1AB782920058798C /* Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 146D72B91AB782920058798C /* Build configuration list for PBXNativeTarget "Tests" */; + buildPhases = ( + 9E64283FD27F0AFF04836E8F /* Check Pods Manifest.lock */, + 146D72A81AB782920058798C /* Sources */, + 146D72A91AB782920058798C /* Frameworks */, + 146D72AA1AB782920058798C /* Resources */, + A6442A4CDEEF0106A1E8756A /* Embed Pods Frameworks */, + 2FEA8BC47318CB82011879D0 /* Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Tests; + productName = PodTests; + productReference = 146D72AC1AB782920058798C /* Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 146D728B1AB782920058798C /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = ""; + LastSwiftUpdateCheck = 0710; + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 146D72AB1AB782920058798C = { + CreatedOnToolsVersion = 6.2; + }; + }; + }; + buildConfigurationList = 146D728E1AB782920058798C /* Build configuration list for PBXProject "Demo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 146D728A1AB782920058798C; + productRefGroup = 146D72941AB782920058798C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 146D72AB1AB782920058798C /* Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 146D72AA1AB782920058798C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1418944C1BDD62F600EE52CE /* numbers.json in Resources */, + 141894421BDD62F600EE52CE /* bug-113-stories-comments-no-ids.json in Resources */, + 141894571BDD62F600EE52CE /* users_company.json in Resources */, + 141894441BDD62F600EE52CE /* bug-125.json in Resources */, + 1418944D1BDD62F600EE52CE /* numbers_in_collection.json in Resources */, + 1418944B1BDD62F600EE52CE /* notes_for_user_a.json in Resources */, + 141894521BDD62F600EE52CE /* tagged_notes.json in Resources */, + 141894581BDD62F600EE52CE /* users_notes.json in Resources */, + 141894531BDD62F600EE52CE /* unique.json in Resources */, + 141894401BDD62F600EE52CE /* bug-113-comments-no-id.json in Resources */, + 141894431BDD62F600EE52CE /* bug-125-light.json in Resources */, + 1418944A1BDD62F600EE52CE /* markets_items.json in Resources */, + 141894561BDD62F600EE52CE /* users_c.json in Resources */, + 141894541BDD62F600EE52CE /* users_a.json in Resources */, + 141894461BDD62F600EE52CE /* comments-no-id.json in Resources */, + 141894411BDD62F600EE52CE /* bug-113-custom_relationship_key_to_one.json in Resources */, + 141894551BDD62F600EE52CE /* users_b.json in Resources */, + 141894481BDD62F600EE52CE /* custom_relationship_key_to_one.json in Resources */, + 1418944E1BDD62F600EE52CE /* organizations-tree.json in Resources */, + 141894491BDD62F600EE52CE /* images.json in Resources */, + 141894501BDD62F600EE52CE /* stories-comments-no-ids.json in Resources */, + 1418944F1BDD62F600EE52CE /* patients.json in Resources */, + 141894471BDD62F600EE52CE /* custom_relationship_key_to_many.json in Resources */, + 141894451BDD62F600EE52CE /* bug-number-84.json in Resources */, + 141894511BDD62F600EE52CE /* story-summarize.json in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 2FEA8BC47318CB82011879D0 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 9E64283FD27F0AFF04836E8F /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + A6442A4CDEEF0106A1E8756A /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 146D72A81AB782920058798C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 141894061BDD62E900EE52CE /* Sync.m in Sources */, + 141894611BDD62F600EE52CE /* Patients.xcdatamodeld in Sources */, + 1418945B1BDD62F600EE52CE /* Bug125.xcdatamodeld in Sources */, + 1418945C1BDD62F600EE52CE /* Bug84.xcdatamodeld in Sources */, + 1418945F1BDD62F600EE52CE /* Notes.xcdatamodeld in Sources */, + 141894641BDD62F600EE52CE /* Unique.xcdatamodeld in Sources */, + 141894621BDD62F600EE52CE /* Recursive.xcdatamodeld in Sources */, + 1418943F1BDD62F600EE52CE /* BaseTestCase.m in Sources */, + 141894041BDD62E900EE52CE /* NSEntityDescription+Sync.m in Sources */, + 141894591BDD62F600EE52CE /* Bug113.xcdatamodeld in Sources */, + 141894651BDD62F600EE52CE /* NSArray+Sync_Tests.m in Sources */, + 141894631BDD62F600EE52CE /* Social.xcdatamodeld in Sources */, + 141894601BDD62F600EE52CE /* Organizations.xcdatamodeld in Sources */, + 141894661BDD62F600EE52CE /* SyncTests.m in Sources */, + 1418945E1BDD62F600EE52CE /* Markets.xcdatamodeld in Sources */, + 141894051BDD62E900EE52CE /* NSManagedObject+Sync.m in Sources */, + 1418945D1BDD62F600EE52CE /* Contacts.xcdatamodeld in Sources */, + 141894031BDD62E900EE52CE /* NSArray+Sync.m in Sources */, + 1418945A1BDD62F600EE52CE /* Bug125-simplified.xcdatamodeld in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 146D72B41AB782920058798C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 146D72B51AB782920058798C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 146D72BA1AB782920058798C /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C13281341A77530FC5AE626A /* Pods.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + FRAMEWORK_SEARCH_PATHS = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.sample.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 146D72BB1AB782920058798C /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E80F7331DFE41909E28F2702 /* Pods.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + FRAMEWORK_SEARCH_PATHS = ""; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.sample.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 146D728E1AB782920058798C /* Build configuration list for PBXProject "Demo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 146D72B41AB782920058798C /* Debug */, + 146D72B51AB782920058798C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 146D72B91AB782920058798C /* Build configuration list for PBXNativeTarget "Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 146D72BA1AB782920058798C /* Debug */, + 146D72BB1AB782920058798C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCVersionGroup section */ + 141894251BDD62F600EE52CE /* Bug113.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894261BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 141894261BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Bug113.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894271BDD62F600EE52CE /* Bug125-simplified.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894281BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 141894281BDD62F600EE52CE /* Demo.xcdatamodel */; + path = "Bug125-simplified.xcdatamodeld"; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894291BDD62F600EE52CE /* Bug125.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 1418942A1BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 1418942A1BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Bug125.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 1418942B1BDD62F600EE52CE /* Bug84.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 1418942C1BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 1418942C1BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Bug84.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 1418942D1BDD62F600EE52CE /* Contacts.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 1418942E1BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 1418942E1BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Contacts.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 1418942F1BDD62F600EE52CE /* Markets.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894301BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 141894301BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Markets.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894311BDD62F600EE52CE /* Notes.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894321BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 141894321BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Notes.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894331BDD62F600EE52CE /* Organizations.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894341BDD62F600EE52CE /* Organizations.xcdatamodel */, + ); + currentVersion = 141894341BDD62F600EE52CE /* Organizations.xcdatamodel */; + path = Organizations.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894351BDD62F600EE52CE /* Patients.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894361BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 141894361BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Patients.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894371BDD62F600EE52CE /* Recursive.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 141894381BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 141894381BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Recursive.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 141894391BDD62F600EE52CE /* Social.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 1418943A1BDD62F600EE52CE /* Demo.xcdatamodel */, + ); + currentVersion = 1418943A1BDD62F600EE52CE /* Demo.xcdatamodel */; + path = Social.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; + 1418943B1BDD62F600EE52CE /* Unique.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 1418943C1BDD62F600EE52CE /* Unique.xcdatamodel */, + ); + currentVersion = 1418943C1BDD62F600EE52CE /* Unique.xcdatamodel */; + path = Unique.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; +/* End XCVersionGroup section */ + }; + rootObject = 146D728B1AB782920058798C /* Project object */; +} diff --git a/Tests/Tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata old mode 100755 new mode 100644 similarity index 53% rename from Tests/Tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 6c0ea849..7f4f7201 --- a/Tests/Tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:/Users/elvis/Projects/3lvis/pod-template-source/Demo/Demo.xcodeproj"> diff --git a/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme b/Demo.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme old mode 100755 new mode 100644 similarity index 72% rename from Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme rename to Demo.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme index 3e832ad9..13f90983 --- a/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme +++ b/Demo.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme @@ -11,13 +11,13 @@ buildForRunning = "YES" buildForProfiling = "NO" buildForArchiving = "NO" - buildForAnalyzing = "NO"> + buildForAnalyzing = "YES"> + ReferencedContainer = "container:Demo.xcodeproj"> @@ -26,20 +26,28 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - codeCoverageEnabled = "YES"> + shouldUseLaunchSchemeArgsEnv = "YES"> + ReferencedContainer = "container:Demo.xcodeproj"> + + + + @@ -56,22 +64,12 @@ + ReferencedContainer = "container:Demo.xcodeproj"> - - - - - - @@ -84,10 +82,10 @@ + ReferencedContainer = "container:Demo.xcodeproj"> diff --git a/Tests/Tests.xcworkspace/contents.xcworkspacedata b/Demo.xcworkspace/contents.xcworkspacedata similarity index 81% rename from Tests/Tests.xcworkspace/contents.xcworkspacedata rename to Demo.xcworkspace/contents.xcworkspacedata index 9691ca99..1f140198 100644 --- a/Tests/Tests.xcworkspace/contents.xcworkspacedata +++ b/Demo.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:Demo.xcodeproj"> diff --git a/Examples/AppNet/AppNet.xcodeproj/project.pbxproj b/Examples/AppNet/AppNet.xcodeproj/project.pbxproj deleted file mode 100644 index a5d1c799..00000000 --- a/Examples/AppNet/AppNet.xcodeproj/project.pbxproj +++ /dev/null @@ -1,406 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 145EAA3E1BB4A3D100618177 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 145EAA3C1BB4A3D100618177 /* LaunchScreen.xib */; settings = {ASSET_TAGS = (); }; }; - DBA4B8C166730EB0C5093A63 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64AD65296EA48684425C0929 /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; - F6691BAE1AD02AE7009D6BA5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6691BAD1AD02AE7009D6BA5 /* AppDelegate.swift */; }; - F6691BB11AD02AE7009D6BA5 /* AppNet.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = F6691BAF1AD02AE7009D6BA5 /* AppNet.xcdatamodeld */; }; - F6691BB31AD02AE7009D6BA5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6691BB21AD02AE7009D6BA5 /* ViewController.swift */; }; - F6691BB81AD02AE7009D6BA5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F6691BB71AD02AE7009D6BA5 /* Images.xcassets */; }; - F6691BDD1AD032B9009D6BA5 /* Networking.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6691BDC1AD032B9009D6BA5 /* Networking.swift */; }; - F6691BE01AD05AF7009D6BA5 /* Data.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6691BDE1AD05AF7009D6BA5 /* Data.swift */; }; - F6691BE11AD05AF7009D6BA5 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6691BDF1AD05AF7009D6BA5 /* User.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 145EAA3D1BB4A3D100618177 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 2EFAE9C8E20523E9FCB380BB /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; - 2F0878F351E487D4661F44D7 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; - 64AD65296EA48684425C0929 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F6691BA81AD02AE7009D6BA5 /* AppNet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AppNet.app; sourceTree = BUILT_PRODUCTS_DIR; }; - F6691BAC1AD02AE7009D6BA5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F6691BAD1AD02AE7009D6BA5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - F6691BB01AD02AE7009D6BA5 /* AppNet.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = AppNet.xcdatamodel; sourceTree = ""; }; - F6691BB21AD02AE7009D6BA5 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - F6691BB71AD02AE7009D6BA5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - F6691BD01AD02B91009D6BA5 /* SYNCHeader-Bridge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SYNCHeader-Bridge.h"; sourceTree = ""; }; - F6691BDC1AD032B9009D6BA5 /* Networking.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Networking.swift; sourceTree = ""; }; - F6691BDE1AD05AF7009D6BA5 /* Data.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Data.swift; sourceTree = ""; }; - F6691BDF1AD05AF7009D6BA5 /* User.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - F6691BA51AD02AE7009D6BA5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - DBA4B8C166730EB0C5093A63 /* Pods.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 341EE39E36E1C1AEE5C4EC61 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 64AD65296EA48684425C0929 /* Pods.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 7524E9C3A83F33DEA6BDD531 /* Pods */ = { - isa = PBXGroup; - children = ( - 2EFAE9C8E20523E9FCB380BB /* Pods.debug.xcconfig */, - 2F0878F351E487D4661F44D7 /* Pods.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - F6691B9F1AD02AE7009D6BA5 = { - isa = PBXGroup; - children = ( - F6691BAA1AD02AE7009D6BA5 /* AppNet */, - F6691BA91AD02AE7009D6BA5 /* Products */, - 341EE39E36E1C1AEE5C4EC61 /* Frameworks */, - 7524E9C3A83F33DEA6BDD531 /* Pods */, - ); - indentWidth = 2; - sourceTree = ""; - tabWidth = 2; - }; - F6691BA91AD02AE7009D6BA5 /* Products */ = { - isa = PBXGroup; - children = ( - F6691BA81AD02AE7009D6BA5 /* AppNet.app */, - ); - name = Products; - sourceTree = ""; - }; - F6691BAA1AD02AE7009D6BA5 /* AppNet */ = { - isa = PBXGroup; - children = ( - F6691BAD1AD02AE7009D6BA5 /* AppDelegate.swift */, - F6691BB21AD02AE7009D6BA5 /* ViewController.swift */, - F6691BDC1AD032B9009D6BA5 /* Networking.swift */, - F6691BD01AD02B91009D6BA5 /* SYNCHeader-Bridge.h */, - F6691BB71AD02AE7009D6BA5 /* Images.xcassets */, - F6691BD71AD03249009D6BA5 /* Model */, - F6691BAB1AD02AE7009D6BA5 /* Supporting Files */, - ); - path = AppNet; - sourceTree = ""; - }; - F6691BAB1AD02AE7009D6BA5 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 145EAA3C1BB4A3D100618177 /* LaunchScreen.xib */, - F6691BAC1AD02AE7009D6BA5 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - F6691BD71AD03249009D6BA5 /* Model */ = { - isa = PBXGroup; - children = ( - F6691BDE1AD05AF7009D6BA5 /* Data.swift */, - F6691BDF1AD05AF7009D6BA5 /* User.swift */, - F6691BAF1AD02AE7009D6BA5 /* AppNet.xcdatamodeld */, - ); - name = Model; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - F6691BA71AD02AE7009D6BA5 /* AppNet */ = { - isa = PBXNativeTarget; - buildConfigurationList = F6691BCA1AD02AE7009D6BA5 /* Build configuration list for PBXNativeTarget "AppNet" */; - buildPhases = ( - 7181365187F993882593AFA3 /* Check Pods Manifest.lock */, - F6691BA41AD02AE7009D6BA5 /* Sources */, - F6691BA51AD02AE7009D6BA5 /* Frameworks */, - F6691BA61AD02AE7009D6BA5 /* Resources */, - 4C11009BEA66F0809CB2C2B1 /* Copy Pods Resources */, - 981B9AE66AE71F7A59E0C012 /* Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = AppNet; - productName = AppNet; - productReference = F6691BA81AD02AE7009D6BA5 /* AppNet.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - F6691BA01AD02AE7009D6BA5 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftMigration = 0700; - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0700; - ORGANIZATIONNAME = "Hyper Interaktiv AS"; - TargetAttributes = { - F6691BA71AD02AE7009D6BA5 = { - CreatedOnToolsVersion = 6.2; - }; - }; - }; - buildConfigurationList = F6691BA31AD02AE7009D6BA5 /* Build configuration list for PBXProject "AppNet" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = F6691B9F1AD02AE7009D6BA5; - productRefGroup = F6691BA91AD02AE7009D6BA5 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - F6691BA71AD02AE7009D6BA5 /* AppNet */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - F6691BA61AD02AE7009D6BA5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 145EAA3E1BB4A3D100618177 /* LaunchScreen.xib in Resources */, - F6691BB81AD02AE7009D6BA5 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 4C11009BEA66F0809CB2C2B1 /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 7181365187F993882593AFA3 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - 981B9AE66AE71F7A59E0C012 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - F6691BA41AD02AE7009D6BA5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F6691BB31AD02AE7009D6BA5 /* ViewController.swift in Sources */, - F6691BE01AD05AF7009D6BA5 /* Data.swift in Sources */, - F6691BE11AD05AF7009D6BA5 /* User.swift in Sources */, - F6691BDD1AD032B9009D6BA5 /* Networking.swift in Sources */, - F6691BAE1AD02AE7009D6BA5 /* AppDelegate.swift in Sources */, - F6691BB11AD02AE7009D6BA5 /* AppNet.xcdatamodeld in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 145EAA3C1BB4A3D100618177 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 145EAA3D1BB4A3D100618177 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - F6691BC81AD02AE7009D6BA5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - F6691BC91AD02AE7009D6BA5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - F6691BCB1AD02AE7009D6BA5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2EFAE9C8E20523E9FCB380BB /* Pods.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = AppNet/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = AppNet; - SWIFT_OBJC_BRIDGING_HEADER = "AppNet/SYNCHeader-Bridge.h"; - }; - name = Debug; - }; - F6691BCC1AD02AE7009D6BA5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2F0878F351E487D4661F44D7 /* Pods.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = AppNet/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = AppNet; - SWIFT_OBJC_BRIDGING_HEADER = "AppNet/SYNCHeader-Bridge.h"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - F6691BA31AD02AE7009D6BA5 /* Build configuration list for PBXProject "AppNet" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F6691BC81AD02AE7009D6BA5 /* Debug */, - F6691BC91AD02AE7009D6BA5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F6691BCA1AD02AE7009D6BA5 /* Build configuration list for PBXNativeTarget "AppNet" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F6691BCB1AD02AE7009D6BA5 /* Debug */, - F6691BCC1AD02AE7009D6BA5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCVersionGroup section */ - F6691BAF1AD02AE7009D6BA5 /* AppNet.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - F6691BB01AD02AE7009D6BA5 /* AppNet.xcdatamodel */, - ); - currentVersion = F6691BB01AD02AE7009D6BA5 /* AppNet.xcdatamodel */; - path = AppNet.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; -/* End XCVersionGroup section */ - }; - rootObject = F6691BA01AD02AE7009D6BA5 /* Project object */; -} diff --git a/Examples/AppNet/AppNet.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/AppNet/AppNet.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 70a9b943..00000000 --- a/Examples/AppNet/AppNet.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Examples/AppNet/AppNet.xcodeproj/xcshareddata/xcschemes/AppNet.xcscheme b/Examples/AppNet/AppNet.xcodeproj/xcshareddata/xcschemes/AppNet.xcscheme deleted file mode 100644 index 710b0d4a..00000000 --- a/Examples/AppNet/AppNet.xcodeproj/xcshareddata/xcschemes/AppNet.xcscheme +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Examples/AppNet/AppNet.xcworkspace/contents.xcworkspacedata b/Examples/AppNet/AppNet.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index f5aaa2f7..00000000 --- a/Examples/AppNet/AppNet.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Examples/AppNet/AppNet/AppDelegate.swift b/Examples/AppNet/AppNet/AppDelegate.swift deleted file mode 100644 index e49a2849..00000000 --- a/Examples/AppNet/AppNet/AppDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -import UIKit -import CoreData -import DATAStack - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - lazy var dataStack: DATAStack = DATAStack() - - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { - application.setStatusBarStyle(UIStatusBarStyle.LightContent, animated: true) - - let appearance = UINavigationBar.appearance() - appearance.barTintColor = UIColor(red:0.83, green:0.43, blue:0.36, alpha:1) - appearance.titleTextAttributes = [NSFontAttributeName : UIFont(name: "AvenirNext-DemiBold", size: 20)!, - NSForegroundColorAttributeName : UIColor.whiteColor()] - - window = UIWindow(frame: UIScreen.mainScreen().bounds) - - let initialViewController = ViewController(dataStack: dataStack) - - window?.rootViewController = UINavigationController(rootViewController: initialViewController) - window?.makeKeyAndVisible() - - return true - } - - func applicationWillTerminate(application: UIApplication) { - dataStack.persistWithCompletion(nil) - } -} - diff --git a/Examples/AppNet/AppNet/AppNet.xcdatamodeld/.xccurrentversion b/Examples/AppNet/AppNet/AppNet.xcdatamodeld/.xccurrentversion deleted file mode 100644 index 7e91ee51..00000000 --- a/Examples/AppNet/AppNet/AppNet.xcdatamodeld/.xccurrentversion +++ /dev/null @@ -1,8 +0,0 @@ - - - - - _XCCurrentVersionName - AppNet.xcdatamodel - - diff --git a/Examples/AppNet/AppNet/AppNet.xcdatamodeld/AppNet.xcdatamodel/contents b/Examples/AppNet/AppNet/AppNet.xcdatamodeld/AppNet.xcdatamodel/contents deleted file mode 100644 index 32de8051..00000000 --- a/Examples/AppNet/AppNet/AppNet.xcdatamodeld/AppNet.xcdatamodel/contents +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Examples/AppNet/AppNet/Base.lproj/LaunchScreen.xib b/Examples/AppNet/AppNet/Base.lproj/LaunchScreen.xib deleted file mode 100755 index 105bf59f..00000000 --- a/Examples/AppNet/AppNet/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/Examples/AppNet/AppNet/Data.swift b/Examples/AppNet/AppNet/Data.swift deleted file mode 100644 index 573a9d89..00000000 --- a/Examples/AppNet/AppNet/Data.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Foundation -import CoreData - -@objc(Data) - -class Data: NSManagedObject { - - @NSManaged var text: String - @NSManaged var remoteID: String - @NSManaged var createdAt: NSTimeInterval - @NSManaged var user: User - -} diff --git a/Examples/AppNet/AppNet/Images.xcassets/AppIcon.appiconset/Contents.json b/Examples/AppNet/AppNet/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f7..00000000 --- a/Examples/AppNet/AppNet/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Examples/AppNet/AppNet/Images.xcassets/Contents.json b/Examples/AppNet/AppNet/Images.xcassets/Contents.json deleted file mode 100644 index da4a164c..00000000 --- a/Examples/AppNet/AppNet/Images.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Examples/AppNet/AppNet/Info.plist b/Examples/AppNet/AppNet/Info.plist deleted file mode 100644 index 2f297f47..00000000 --- a/Examples/AppNet/AppNet/Info.plist +++ /dev/null @@ -1,38 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - - UIViewControllerBasedStatusBarAppearance - - - diff --git a/Examples/AppNet/AppNet/Networking.swift b/Examples/AppNet/AppNet/Networking.swift deleted file mode 100644 index 7946c480..00000000 --- a/Examples/AppNet/AppNet/Networking.swift +++ /dev/null @@ -1,34 +0,0 @@ -import UIKit -import DATAStack -import Sync - -class Networking { - let AppNetURL = "https://api.app.net/posts/stream/global" - let dataStack: DATAStack - - required init(dataStack: DATAStack) { - self.dataStack = dataStack - } - - func fetchItems(completion: (NSError?) -> Void) { - - if let urlAppNet = NSURL(string: AppNetURL) { - let request = NSURLRequest(URL: urlAppNet) - let operationQueue = NSOperationQueue() - - NSURLConnection.sendAsynchronousRequest(request, queue: operationQueue) { [unowned self] _, data, error in - if let data = data, json = (try? NSJSONSerialization.JSONObjectWithData(data, - options: NSJSONReadingOptions.MutableContainers)) as? Dictionary { - Sync.changes(json["data"] as! Array, - inEntityNamed: "Data", - dataStack: self.dataStack, - completion: { error in - completion(error) - }) - } else { - completion(error) - } - } - } - } -} diff --git a/Examples/AppNet/AppNet/SYNCHeader-Bridge.h b/Examples/AppNet/AppNet/SYNCHeader-Bridge.h deleted file mode 100644 index 9b55780b..00000000 --- a/Examples/AppNet/AppNet/SYNCHeader-Bridge.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef AppNet_SYNCHeader_Bridge_h -#define AppNet_SYNCHeader_Bridge_h - -#import -#import -#import - -#endif diff --git a/Examples/AppNet/AppNet/User.swift b/Examples/AppNet/AppNet/User.swift deleted file mode 100644 index 20c175af..00000000 --- a/Examples/AppNet/AppNet/User.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Foundation -import CoreData - -@objc(User) - -class User: NSManagedObject { - - @NSManaged var name: String - @NSManaged var remoteID: String - @NSManaged var username: String - @NSManaged var data: NSSet - -} diff --git a/Examples/AppNet/AppNet/ViewController.swift b/Examples/AppNet/AppNet/ViewController.swift deleted file mode 100644 index 48926fc2..00000000 --- a/Examples/AppNet/AppNet/ViewController.swift +++ /dev/null @@ -1,76 +0,0 @@ -import UIKit -import DATAStack - -class ViewController: UITableViewController { - let CellIdentifier = "CellID" - - let dataStack: DATAStack - lazy var networking: Networking = { [unowned self] in Networking(dataStack: self.dataStack) }() - var items = [Data]() - - // MARK: Initializers - - required init(dataStack: DATAStack) { - self.dataStack = dataStack - super.init(nibName: nil, bundle: nil); - } - - required init!(coder aDecoder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - // MARK: View Lifecycle - - override func viewDidLoad() { - super.viewDidLoad() - - title = "AppNet" - tableView.registerClass(UITableViewCell.classForCoder(), forCellReuseIdentifier: CellIdentifier) - - setUpRefreshControl() - fetchCurrentObjects() - fetchNewData() - } - - func setUpRefreshControl() { - refreshControl = UIRefreshControl() - refreshControl?.addTarget(self, action: "fetchNewData", forControlEvents: .ValueChanged) - } - - // MARK: Networking methods - - func fetchNewData() { - networking.fetchItems { _ in - self.fetchCurrentObjects() - - self.refreshControl?.endRefreshing() - } - } - - // MARK: Model methods - - func fetchCurrentObjects() { - let request = NSFetchRequest(entityName: "Data") - request.sortDescriptors = [NSSortDescriptor(key: "createdAt", ascending: true)] - items = (try! dataStack.mainContext.executeFetchRequest(request)) as! [Data] - - tableView.reloadData() - } - - override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { - return items.count - } - - override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { - let cell = self.tableView.dequeueReusableCellWithIdentifier(CellIdentifier) - let data = self.items[indexPath.row] - cell?.textLabel?.text = data.text - - // Workaround: The proper value of `numberOfLines` should be 0 - // but there's a weird bug that causes UITableView to go crazy - cell?.textLabel?.numberOfLines = 1 - cell?.detailTextLabel?.text = data.user.username - - return cell! - } -} diff --git a/Examples/AppNet/Images/app.png b/Examples/AppNet/Images/app.png deleted file mode 100644 index 2560d881..00000000 Binary files a/Examples/AppNet/Images/app.png and /dev/null differ diff --git a/Examples/AppNet/Images/model.png b/Examples/AppNet/Images/model.png deleted file mode 100644 index 6ba2ebd6..00000000 Binary files a/Examples/AppNet/Images/model.png and /dev/null differ diff --git a/Examples/AppNet/Podfile b/Examples/AppNet/Podfile deleted file mode 100644 index 29135728..00000000 --- a/Examples/AppNet/Podfile +++ /dev/null @@ -1,6 +0,0 @@ -platform :ios, '8.0' - -use_frameworks! - -pod 'Sync' -pod 'DATASource' diff --git a/Examples/AppNet/README.md b/Examples/AppNet/README.md deleted file mode 100644 index 167da682..00000000 --- a/Examples/AppNet/README.md +++ /dev/null @@ -1,51 +0,0 @@ -## App - -[Reference (Swift)](https://github.com/hyperoslo/Sync/tree/master/Examples/AppNet) - -![Model](https://raw.githubusercontent.com/hyperoslo/Sync/master/Examples/AppNet/Images/app.png) - -## JSON - -[Reference](https://api.app.net/posts/stream/global) - -```json -{ - "meta":{ - "min_id":"57030525", - "code":200, - "max_id":"57030547", - "more":true - }, - "data":[ - { - "created_at":"2015-04-06T15:07:06Z", - "text":"Hello World!", - "id":"57030547", - "user":{ - "username":"albarjeel1", - "created_at":"2015-03-28T13:01:31Z", - "id":"347326" - } - } - ] -} -``` - -## Model - -![Model](https://raw.githubusercontent.com/hyperoslo/Sync/master/Examples/AppNet/Images/model.png) - -## Sync - -[Reference](https://github.com/hyperoslo/Sync/blob/master/Examples/AppNet/AppNet/Networking.swift#L32-L34) - -```swift -Sync.changes( - json["data"] as Array, - inEntityNamed: "Data", - dataStack: self.dataStack, - completion: { error in - completion() - } -) -``` diff --git a/Examples/DesignerNews/DesignerNews.xcodeproj/project.pbxproj b/Examples/DesignerNews/DesignerNews.xcodeproj/project.pbxproj deleted file mode 100644 index 2763d772..00000000 --- a/Examples/DesignerNews/DesignerNews.xcodeproj/project.pbxproj +++ /dev/null @@ -1,466 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 14615C6A1ACD55DB00FE93A0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C691ACD55DB00FE93A0 /* AppDelegate.m */; }; - 14615C741ACD55EC00FE93A0 /* _DNComment.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C6D1ACD55EC00FE93A0 /* _DNComment.m */; }; - 14615C751ACD55EC00FE93A0 /* _DNStory.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C6F1ACD55EC00FE93A0 /* _DNStory.m */; }; - 14615C761ACD55EC00FE93A0 /* DNComment.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C711ACD55EC00FE93A0 /* DNComment.m */; }; - 14615C771ACD55EC00FE93A0 /* DNStory.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C731ACD55EC00FE93A0 /* DNStory.m */; }; - 14615C831ACD560F00FE93A0 /* APIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C7A1ACD560F00FE93A0 /* APIClient.m */; }; - 14615C841ACD560F00FE93A0 /* StoriesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C7C1ACD560F00FE93A0 /* StoriesViewController.m */; }; - 14615C851ACD560F00FE93A0 /* StoryTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C7E1ACD560F00FE93A0 /* StoryTableViewCell.m */; }; - 14615C861ACD560F00FE93A0 /* StoryViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C801ACD560F00FE93A0 /* StoryViewController.m */; }; - 14615C871ACD560F00FE93A0 /* UIFont+DNStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = 14615C821ACD560F00FE93A0 /* UIFont+DNStyle.m */; }; - 14993F6B1BB4A2D70022E381 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 14993F691BB4A2D70022E381 /* LaunchScreen.xib */; settings = {ASSET_TAGS = (); }; }; - EF1F3E42F95828F2AAD5E839 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BA2B69DC4C60223CE7FBA4B6 /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; - F6ACF0041ABCA539001E5652 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F6ACF0031ABCA539001E5652 /* main.m */; }; - F6ACF00A1ABCA539001E5652 /* DesignerNews.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = F6ACF0081ABCA539001E5652 /* DesignerNews.xcdatamodeld */; }; - F6ACF0121ABCA539001E5652 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F6ACF0111ABCA539001E5652 /* Images.xcassets */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 14615C681ACD55DB00FE93A0 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 14615C691ACD55DB00FE93A0 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 14615C6C1ACD55EC00FE93A0 /* _DNComment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _DNComment.h; sourceTree = ""; }; - 14615C6D1ACD55EC00FE93A0 /* _DNComment.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = _DNComment.m; sourceTree = ""; }; - 14615C6E1ACD55EC00FE93A0 /* _DNStory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _DNStory.h; sourceTree = ""; }; - 14615C6F1ACD55EC00FE93A0 /* _DNStory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = _DNStory.m; sourceTree = ""; }; - 14615C701ACD55EC00FE93A0 /* DNComment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DNComment.h; sourceTree = ""; }; - 14615C711ACD55EC00FE93A0 /* DNComment.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DNComment.m; sourceTree = ""; }; - 14615C721ACD55EC00FE93A0 /* DNStory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DNStory.h; sourceTree = ""; }; - 14615C731ACD55EC00FE93A0 /* DNStory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DNStory.m; sourceTree = ""; }; - 14615C791ACD560F00FE93A0 /* APIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIClient.h; sourceTree = ""; }; - 14615C7A1ACD560F00FE93A0 /* APIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = APIClient.m; sourceTree = ""; }; - 14615C7B1ACD560F00FE93A0 /* StoriesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StoriesViewController.h; sourceTree = ""; }; - 14615C7C1ACD560F00FE93A0 /* StoriesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StoriesViewController.m; sourceTree = ""; }; - 14615C7D1ACD560F00FE93A0 /* StoryTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StoryTableViewCell.h; sourceTree = ""; }; - 14615C7E1ACD560F00FE93A0 /* StoryTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StoryTableViewCell.m; sourceTree = ""; }; - 14615C7F1ACD560F00FE93A0 /* StoryViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StoryViewController.h; sourceTree = ""; }; - 14615C801ACD560F00FE93A0 /* StoryViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StoryViewController.m; sourceTree = ""; }; - 14615C811ACD560F00FE93A0 /* UIFont+DNStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIFont+DNStyle.h"; sourceTree = ""; }; - 14615C821ACD560F00FE93A0 /* UIFont+DNStyle.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIFont+DNStyle.m"; sourceTree = ""; }; - 14993F6A1BB4A2D70022E381 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - B3CC52748EF0117319DEF380 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; - BA2B69DC4C60223CE7FBA4B6 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EAA395298F667B5F57922875 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; - F6ACEFFE1ABCA539001E5652 /* DesignerNews.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DesignerNews.app; sourceTree = BUILT_PRODUCTS_DIR; }; - F6ACF0021ABCA539001E5652 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F6ACF0031ABCA539001E5652 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - F6ACF0091ABCA539001E5652 /* DesignerNews.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = DesignerNews.xcdatamodel; sourceTree = ""; }; - F6ACF0111ABCA539001E5652 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - F6ACEFFB1ABCA539001E5652 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - EF1F3E42F95828F2AAD5E839 /* Pods.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 14615C671ACD55DB00FE93A0 /* AppDelegate */ = { - isa = PBXGroup; - children = ( - 14615C681ACD55DB00FE93A0 /* AppDelegate.h */, - 14615C691ACD55DB00FE93A0 /* AppDelegate.m */, - ); - path = AppDelegate; - sourceTree = ""; - }; - 14615C6B1ACD55EC00FE93A0 /* Model */ = { - isa = PBXGroup; - children = ( - 14615C881ACD561800FE93A0 /* Autogenerated */, - 14615C701ACD55EC00FE93A0 /* DNComment.h */, - 14615C711ACD55EC00FE93A0 /* DNComment.m */, - 14615C721ACD55EC00FE93A0 /* DNStory.h */, - 14615C731ACD55EC00FE93A0 /* DNStory.m */, - F6ACF0081ABCA539001E5652 /* DesignerNews.xcdatamodeld */, - ); - path = Model; - sourceTree = ""; - }; - 14615C781ACD560F00FE93A0 /* Source */ = { - isa = PBXGroup; - children = ( - 14615C791ACD560F00FE93A0 /* APIClient.h */, - 14615C7A1ACD560F00FE93A0 /* APIClient.m */, - 14615C7B1ACD560F00FE93A0 /* StoriesViewController.h */, - 14615C7C1ACD560F00FE93A0 /* StoriesViewController.m */, - 14615C7D1ACD560F00FE93A0 /* StoryTableViewCell.h */, - 14615C7E1ACD560F00FE93A0 /* StoryTableViewCell.m */, - 14615C7F1ACD560F00FE93A0 /* StoryViewController.h */, - 14615C801ACD560F00FE93A0 /* StoryViewController.m */, - 14615C811ACD560F00FE93A0 /* UIFont+DNStyle.h */, - 14615C821ACD560F00FE93A0 /* UIFont+DNStyle.m */, - ); - path = Source; - sourceTree = ""; - }; - 14615C881ACD561800FE93A0 /* Autogenerated */ = { - isa = PBXGroup; - children = ( - 14615C6C1ACD55EC00FE93A0 /* _DNComment.h */, - 14615C6D1ACD55EC00FE93A0 /* _DNComment.m */, - 14615C6E1ACD55EC00FE93A0 /* _DNStory.h */, - 14615C6F1ACD55EC00FE93A0 /* _DNStory.m */, - ); - name = Autogenerated; - sourceTree = ""; - }; - 709250F94E876559886BDDD8 /* Pods */ = { - isa = PBXGroup; - children = ( - EAA395298F667B5F57922875 /* Pods.debug.xcconfig */, - B3CC52748EF0117319DEF380 /* Pods.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - DD317DD9308A61D7089EE31B /* Frameworks */ = { - isa = PBXGroup; - children = ( - BA2B69DC4C60223CE7FBA4B6 /* Pods.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - F6ACEFF51ABCA539001E5652 = { - isa = PBXGroup; - children = ( - F6ACF0001ABCA539001E5652 /* DesignerNews */, - F6ACEFFF1ABCA539001E5652 /* Products */, - 709250F94E876559886BDDD8 /* Pods */, - DD317DD9308A61D7089EE31B /* Frameworks */, - ); - sourceTree = ""; - }; - F6ACEFFF1ABCA539001E5652 /* Products */ = { - isa = PBXGroup; - children = ( - F6ACEFFE1ABCA539001E5652 /* DesignerNews.app */, - ); - name = Products; - sourceTree = ""; - }; - F6ACF0001ABCA539001E5652 /* DesignerNews */ = { - isa = PBXGroup; - children = ( - 14615C671ACD55DB00FE93A0 /* AppDelegate */, - 14615C6B1ACD55EC00FE93A0 /* Model */, - 14615C781ACD560F00FE93A0 /* Source */, - F6ACF0011ABCA539001E5652 /* Supporting Files */, - ); - path = DesignerNews; - sourceTree = ""; - }; - F6ACF0011ABCA539001E5652 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 14993F691BB4A2D70022E381 /* LaunchScreen.xib */, - F6ACF0111ABCA539001E5652 /* Images.xcassets */, - F6ACF0021ABCA539001E5652 /* Info.plist */, - F6ACF0031ABCA539001E5652 /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - F6ACEFFD1ABCA539001E5652 /* DesignerNews */ = { - isa = PBXNativeTarget; - buildConfigurationList = F6ACF0241ABCA539001E5652 /* Build configuration list for PBXNativeTarget "DesignerNews" */; - buildPhases = ( - DB8022F37D9CD58812507E65 /* Check Pods Manifest.lock */, - F6ACEFFA1ABCA539001E5652 /* Sources */, - F6ACEFFB1ABCA539001E5652 /* Frameworks */, - F6ACEFFC1ABCA539001E5652 /* Resources */, - EAE5F99C026E23C0D7422FEC /* Copy Pods Resources */, - F8FC509A07981681DB9D6393 /* Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DesignerNews; - productName = DesignerNews; - productReference = F6ACEFFE1ABCA539001E5652 /* DesignerNews.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - F6ACEFF61ABCA539001E5652 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0700; - ORGANIZATIONNAME = Hyper; - TargetAttributes = { - F6ACEFFD1ABCA539001E5652 = { - CreatedOnToolsVersion = 6.2; - }; - }; - }; - buildConfigurationList = F6ACEFF91ABCA539001E5652 /* Build configuration list for PBXProject "DesignerNews" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = F6ACEFF51ABCA539001E5652; - productRefGroup = F6ACEFFF1ABCA539001E5652 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - F6ACEFFD1ABCA539001E5652 /* DesignerNews */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - F6ACEFFC1ABCA539001E5652 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 14993F6B1BB4A2D70022E381 /* LaunchScreen.xib in Resources */, - F6ACF0121ABCA539001E5652 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - DB8022F37D9CD58812507E65 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - EAE5F99C026E23C0D7422FEC /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - F8FC509A07981681DB9D6393 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - F6ACEFFA1ABCA539001E5652 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 14615C861ACD560F00FE93A0 /* StoryViewController.m in Sources */, - 14615C761ACD55EC00FE93A0 /* DNComment.m in Sources */, - 14615C841ACD560F00FE93A0 /* StoriesViewController.m in Sources */, - 14615C751ACD55EC00FE93A0 /* _DNStory.m in Sources */, - 14615C771ACD55EC00FE93A0 /* DNStory.m in Sources */, - F6ACF00A1ABCA539001E5652 /* DesignerNews.xcdatamodeld in Sources */, - 14615C871ACD560F00FE93A0 /* UIFont+DNStyle.m in Sources */, - 14615C741ACD55EC00FE93A0 /* _DNComment.m in Sources */, - 14615C6A1ACD55DB00FE93A0 /* AppDelegate.m in Sources */, - F6ACF0041ABCA539001E5652 /* main.m in Sources */, - 14615C831ACD560F00FE93A0 /* APIClient.m in Sources */, - 14615C851ACD560F00FE93A0 /* StoryTableViewCell.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 14993F691BB4A2D70022E381 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 14993F6A1BB4A2D70022E381 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - F6ACF0221ABCA539001E5652 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - F6ACF0231ABCA539001E5652 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - F6ACF0251ABCA539001E5652 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = EAA395298F667B5F57922875 /* Pods.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = DesignerNews/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.example.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - F6ACF0261ABCA539001E5652 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B3CC52748EF0117319DEF380 /* Pods.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = DesignerNews/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.example.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - F6ACEFF91ABCA539001E5652 /* Build configuration list for PBXProject "DesignerNews" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F6ACF0221ABCA539001E5652 /* Debug */, - F6ACF0231ABCA539001E5652 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F6ACF0241ABCA539001E5652 /* Build configuration list for PBXNativeTarget "DesignerNews" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F6ACF0251ABCA539001E5652 /* Debug */, - F6ACF0261ABCA539001E5652 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCVersionGroup section */ - F6ACF0081ABCA539001E5652 /* DesignerNews.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - F6ACF0091ABCA539001E5652 /* DesignerNews.xcdatamodel */, - ); - currentVersion = F6ACF0091ABCA539001E5652 /* DesignerNews.xcdatamodel */; - name = DesignerNews.xcdatamodeld; - path = ../DesignerNews.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; -/* End XCVersionGroup section */ - }; - rootObject = F6ACEFF61ABCA539001E5652 /* Project object */; -} diff --git a/Examples/DesignerNews/DesignerNews.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/DesignerNews/DesignerNews.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 95102fe4..00000000 --- a/Examples/DesignerNews/DesignerNews.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Examples/DesignerNews/DesignerNews.xcworkspace/contents.xcworkspacedata b/Examples/DesignerNews/DesignerNews.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 062f820c..00000000 --- a/Examples/DesignerNews/DesignerNews.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Examples/DesignerNews/DesignerNews/AppDelegate/AppDelegate.h b/Examples/DesignerNews/DesignerNews/AppDelegate/AppDelegate.h deleted file mode 100644 index 5928b246..00000000 --- a/Examples/DesignerNews/DesignerNews/AppDelegate/AppDelegate.h +++ /dev/null @@ -1,9 +0,0 @@ -@import UIKit; -@import CoreData; - -@interface AppDelegate : UIResponder - -@property (nonatomic) UIWindow *window; - -@end - diff --git a/Examples/DesignerNews/DesignerNews/AppDelegate/AppDelegate.m b/Examples/DesignerNews/DesignerNews/AppDelegate/AppDelegate.m deleted file mode 100644 index 9993ad16..00000000 --- a/Examples/DesignerNews/DesignerNews/AppDelegate/AppDelegate.m +++ /dev/null @@ -1,53 +0,0 @@ -#import "AppDelegate.h" - -#import "StoriesViewController.h" -#import "DATAStack.h" - -#import "UIFont+DNStyle.h" - -@interface AppDelegate () - -@property (nonatomic) DATAStack *dataStack; - -@end - -@implementation AppDelegate - -#pragma mark - Getters - -- (DATAStack *)dataStack -{ - if (_dataStack) return _dataStack; - - _dataStack = [[DATAStack alloc] initWithModelName:@"DesignerNews"]; - - return _dataStack; -} - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; - - [UINavigationBar appearance].barTintColor = [UIColor colorWithRed:0.2 green:0.46 blue:0.84 alpha:1]; - - [UINavigationBar appearance].titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor], - NSFontAttributeName : [UIFont appTitleFont]}; - - self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; - - StoriesViewController *mainController = [[StoriesViewController alloc] initWithDataStack:self.dataStack]; - UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:mainController]; - self.window.rootViewController = navigationController; - [self.window makeKeyAndVisible]; - - return YES; -} - -#pragma mark - Core Data stack - -- (void)applicationWillTerminate:(UIApplication *)application -{ - [self.dataStack persistWithCompletion:nil]; -} - -@end diff --git a/Examples/DesignerNews/DesignerNews/Base.lproj/LaunchScreen.xib b/Examples/DesignerNews/DesignerNews/Base.lproj/LaunchScreen.xib deleted file mode 100755 index 105bf59f..00000000 --- a/Examples/DesignerNews/DesignerNews/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/Examples/DesignerNews/DesignerNews/CommentsViewController.m b/Examples/DesignerNews/DesignerNews/CommentsViewController.m deleted file mode 100644 index 8f938476..00000000 --- a/Examples/DesignerNews/DesignerNews/CommentsViewController.m +++ /dev/null @@ -1,78 +0,0 @@ -#import "CommentsViewController.h" -#import "UIFont+DNStyle.h" - -static const CGFloat HYPIndentationWidthSubcomment = 20.0f; -static const CGFloat HYPIndentationWidthComment = 0.0f; - -static NSString * const CellIdentifier = @"Cell"; - -@interface CommentsViewController () - -@property (nonatomic) NSMutableArray *arrayWithComments; -@property (nonatomic) NSMutableArray *arrayWithSubcommentPositions; - -@end - -@implementation CommentsViewController - -#pragma mark - UITableViewMethods - -- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section -{ - return self.arrayWithComments.count; -} - -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath -{ - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; - - cell.indentationLevel = 1; - - if ([self.arrayWithSubcommentPositions[indexPath.row] boolValue]) { - cell.indentationWidth = HYPIndentationWidthSubcomment; - } else { - cell.indentationWidth = HYPIndentationWidthComment; - } - - cell.textLabel.text = self.arrayWithComments[indexPath.row]; - cell.textLabel.numberOfLines = 1000; - cell.textLabel.font = [UIFont commentFont]; - - return cell; -} - -#pragma mark - View lifecycle - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:CellIdentifier]; - self.tableView.delegate = self; - self.tableView.allowsSelection = NO; -} - -- (void)viewWillAppear:(BOOL)animated -{ - [super viewWillAppear:animated]; - - self.title = self.story.title; - - self.arrayWithComments = [NSMutableArray new]; - self.arrayWithSubcommentPositions = [NSMutableArray new]; - - for (NSDictionary *dictionary in [NSKeyedUnarchiver unarchiveObjectWithData:self.story.comments]) { - [self.arrayWithComments addObject:dictionary[@"body"]]; - - [self.arrayWithSubcommentPositions addObject:@0]; - - for (NSDictionary *subDictionary in dictionary[@"comments"]) { - [self.arrayWithComments addObject:subDictionary[@"body"]]; - [self.arrayWithSubcommentPositions addObject:@1]; - } - } - - [self.tableView reloadData]; -} - -@end diff --git a/Examples/DesignerNews/DesignerNews/DesignerNews.xcdatamodeld/.xccurrentversion b/Examples/DesignerNews/DesignerNews/DesignerNews.xcdatamodeld/.xccurrentversion deleted file mode 100644 index ccdb4c12..00000000 --- a/Examples/DesignerNews/DesignerNews/DesignerNews.xcdatamodeld/.xccurrentversion +++ /dev/null @@ -1,8 +0,0 @@ - - - - - _XCCurrentVersionName - DesignerNews.xcdatamodel - - diff --git a/Examples/DesignerNews/DesignerNews/DesignerNews.xcdatamodeld/DesignerNews.xcdatamodel/contents b/Examples/DesignerNews/DesignerNews/DesignerNews.xcdatamodeld/DesignerNews.xcdatamodel/contents deleted file mode 100644 index eb107e8c..00000000 --- a/Examples/DesignerNews/DesignerNews/DesignerNews.xcdatamodeld/DesignerNews.xcdatamodel/contents +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Examples/DesignerNews/DesignerNews/DesignerNewsTableViewCell.h b/Examples/DesignerNews/DesignerNews/DesignerNewsTableViewCell.h deleted file mode 100644 index 6b1ce6ab..00000000 --- a/Examples/DesignerNews/DesignerNews/DesignerNewsTableViewCell.h +++ /dev/null @@ -1,13 +0,0 @@ -@import UIKit; - -@class Stories; - -static NSString * const CellIdentifier = @"Cell"; - -@interface DesignerNewsTableViewCell : UITableViewCell - -@property (nonatomic) Stories *story; - -- (void)updateWithStory:(Stories *)story; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Images.xcassets/AppIcon.appiconset/Contents.json b/Examples/DesignerNews/DesignerNews/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f7..00000000 --- a/Examples/DesignerNews/DesignerNews/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Examples/DesignerNews/DesignerNews/Images.xcassets/Contents.json b/Examples/DesignerNews/DesignerNews/Images.xcassets/Contents.json deleted file mode 100644 index da4a164c..00000000 --- a/Examples/DesignerNews/DesignerNews/Images.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Examples/DesignerNews/DesignerNews/Info.plist b/Examples/DesignerNews/DesignerNews/Info.plist deleted file mode 100644 index 2f297f47..00000000 --- a/Examples/DesignerNews/DesignerNews/Info.plist +++ /dev/null @@ -1,38 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - - UIViewControllerBasedStatusBarAppearance - - - diff --git a/Examples/DesignerNews/DesignerNews/Model/DNComment.h b/Examples/DesignerNews/DesignerNews/Model/DNComment.h deleted file mode 100644 index 7ff5e4d2..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/DNComment.h +++ /dev/null @@ -1,5 +0,0 @@ -#import "_DNComment.h" - -@interface DNComment : _DNComment {} - -@end diff --git a/Examples/DesignerNews/DesignerNews/Model/DNComment.m b/Examples/DesignerNews/DesignerNews/Model/DNComment.m deleted file mode 100644 index f666c1ab..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/DNComment.m +++ /dev/null @@ -1,9 +0,0 @@ -#import "DNComment.h" - -@interface DNComment () - -@end - -@implementation DNComment - -@end diff --git a/Examples/DesignerNews/DesignerNews/Model/DNStory.h b/Examples/DesignerNews/DesignerNews/Model/DNStory.h deleted file mode 100644 index fb854041..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/DNStory.h +++ /dev/null @@ -1,5 +0,0 @@ -#import "_DNStory.h" - -@interface DNStory : _DNStory {} - -@end diff --git a/Examples/DesignerNews/DesignerNews/Model/DNStory.m b/Examples/DesignerNews/DesignerNews/Model/DNStory.m deleted file mode 100644 index 2ecf980f..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/DNStory.m +++ /dev/null @@ -1,9 +0,0 @@ -#import "DNStory.h" - -@interface DNStory () - -@end - -@implementation DNStory - -@end diff --git a/Examples/DesignerNews/DesignerNews/Model/_DNComment.h b/Examples/DesignerNews/DesignerNews/Model/_DNComment.h deleted file mode 100644 index 187f9312..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/_DNComment.h +++ /dev/null @@ -1,98 +0,0 @@ -// DO NOT EDIT. This file is machine-generated and constantly overwritten. -// Make changes to DNComment.h instead. - -#import - -extern const struct DNCommentAttributes { - __unsafe_unretained NSString *body; - __unsafe_unretained NSString *depth; - __unsafe_unretained NSString *upvotesCount; - __unsafe_unretained NSString *userDisplayName; -} DNCommentAttributes; - -extern const struct DNCommentRelationships { - __unsafe_unretained NSString *comments; - __unsafe_unretained NSString *story; -} DNCommentRelationships; - -@class DNComment; -@class DNStory; - -@interface DNCommentID : NSManagedObjectID {} -@end - -@interface _DNComment : NSManagedObject {} -+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_; -+ (NSString*)entityName; -+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_; -@property (nonatomic, readonly) DNCommentID* objectID; - -@property (nonatomic) NSString* body; - -//- (BOOL)validateBody:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSNumber* depth; - -@property (atomic) int16_t depthValue; -- (int16_t)depthValue; -- (void)setDepthValue:(int16_t)value_; - -//- (BOOL)validateDepth:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSNumber* upvotesCount; - -@property (atomic) int32_t upvotesCountValue; -- (int32_t)upvotesCountValue; -- (void)setUpvotesCountValue:(int32_t)value_; - -//- (BOOL)validateUpvotesCount:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSString* userDisplayName; - -//- (BOOL)validateUserDisplayName:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSSet *comments; - -- (NSMutableSet*)commentsSet; - -@property (nonatomic) DNStory *story; - -//- (BOOL)validateStory:(id*)value_ error:(NSError**)error_; - -@end - -@interface _DNComment (CommentsCoreDataGeneratedAccessors) -- (void)addComments:(NSSet*)value_; -- (void)removeComments:(NSSet*)value_; -- (void)addCommentsObject:(DNComment*)value_; -- (void)removeCommentsObject:(DNComment*)value_; - -@end - -@interface _DNComment (CoreDataGeneratedPrimitiveAccessors) - -- (NSString*)primitiveBody; -- (void)setPrimitiveBody:(NSString*)value; - -- (NSNumber*)primitiveDepth; -- (void)setPrimitiveDepth:(NSNumber*)value; - -- (int16_t)primitiveDepthValue; -- (void)setPrimitiveDepthValue:(int16_t)value_; - -- (NSNumber*)primitiveUpvotesCount; -- (void)setPrimitiveUpvotesCount:(NSNumber*)value; - -- (int32_t)primitiveUpvotesCountValue; -- (void)setPrimitiveUpvotesCountValue:(int32_t)value_; - -- (NSString*)primitiveUserDisplayName; -- (void)setPrimitiveUserDisplayName:(NSString*)value; - -- (NSMutableSet*)primitiveComments; -- (void)setPrimitiveComments:(NSMutableSet*)value; - -- (DNStory*)primitiveStory; -- (void)setPrimitiveStory:(DNStory*)value; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Model/_DNComment.m b/Examples/DesignerNews/DesignerNews/Model/_DNComment.m deleted file mode 100644 index 93d6fc4c..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/_DNComment.m +++ /dev/null @@ -1,116 +0,0 @@ -// DO NOT EDIT. This file is machine-generated and constantly overwritten. -// Make changes to DNComment.m instead. - -#import "_DNComment.h" - -const struct DNCommentAttributes DNCommentAttributes = { - .body = @"body", - .depth = @"depth", - .upvotesCount = @"upvotesCount", - .userDisplayName = @"userDisplayName", -}; - -const struct DNCommentRelationships DNCommentRelationships = { - .comments = @"comments", - .story = @"story", -}; - -@implementation DNCommentID -@end - -@implementation _DNComment - -+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_ { - NSParameterAssert(moc_); - return [NSEntityDescription insertNewObjectForEntityForName:@"Comment" inManagedObjectContext:moc_]; -} - -+ (NSString*)entityName { - return @"Comment"; -} - -+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_ { - NSParameterAssert(moc_); - return [NSEntityDescription entityForName:@"Comment" inManagedObjectContext:moc_]; -} - -- (DNCommentID*)objectID { - return (DNCommentID*)[super objectID]; -} - -+ (NSSet*)keyPathsForValuesAffectingValueForKey:(NSString*)key { - NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key]; - - if ([key isEqualToString:@"depthValue"]) { - NSSet *affectingKey = [NSSet setWithObject:@"depth"]; - keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey]; - return keyPaths; - } - if ([key isEqualToString:@"upvotesCountValue"]) { - NSSet *affectingKey = [NSSet setWithObject:@"upvotesCount"]; - keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey]; - return keyPaths; - } - - return keyPaths; -} - -@dynamic body; - -@dynamic depth; - -- (int16_t)depthValue { - NSNumber *result = [self depth]; - return [result shortValue]; -} - -- (void)setDepthValue:(int16_t)value_ { - [self setDepth:[NSNumber numberWithShort:value_]]; -} - -- (int16_t)primitiveDepthValue { - NSNumber *result = [self primitiveDepth]; - return [result shortValue]; -} - -- (void)setPrimitiveDepthValue:(int16_t)value_ { - [self setPrimitiveDepth:[NSNumber numberWithShort:value_]]; -} - -@dynamic upvotesCount; - -- (int32_t)upvotesCountValue { - NSNumber *result = [self upvotesCount]; - return [result intValue]; -} - -- (void)setUpvotesCountValue:(int32_t)value_ { - [self setUpvotesCount:[NSNumber numberWithInt:value_]]; -} - -- (int32_t)primitiveUpvotesCountValue { - NSNumber *result = [self primitiveUpvotesCount]; - return [result intValue]; -} - -- (void)setPrimitiveUpvotesCountValue:(int32_t)value_ { - [self setPrimitiveUpvotesCount:[NSNumber numberWithInt:value_]]; -} - -@dynamic userDisplayName; - -@dynamic comments; - -- (NSMutableSet*)commentsSet { - [self willAccessValueForKey:@"comments"]; - - NSMutableSet *result = (NSMutableSet*)[self mutableSetValueForKey:@"comments"]; - - [self didAccessValueForKey:@"comments"]; - return result; -} - -@dynamic story; - -@end - diff --git a/Examples/DesignerNews/DesignerNews/Model/_DNStory.h b/Examples/DesignerNews/DesignerNews/Model/_DNStory.h deleted file mode 100644 index 09b56105..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/_DNStory.h +++ /dev/null @@ -1,89 +0,0 @@ -// DO NOT EDIT. This file is machine-generated and constantly overwritten. -// Make changes to DNStory.h instead. - -#import - -extern const struct DNStoryAttributes { - __unsafe_unretained NSString *commentsCount; - __unsafe_unretained NSString *createdAt; - __unsafe_unretained NSString *remoteID; - __unsafe_unretained NSString *title; -} DNStoryAttributes; - -extern const struct DNStoryRelationships { - __unsafe_unretained NSString *comments; -} DNStoryRelationships; - -@class DNComment; - -@interface DNStoryID : NSManagedObjectID {} -@end - -@interface _DNStory : NSManagedObject {} -+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_; -+ (NSString*)entityName; -+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_; -@property (nonatomic, readonly) DNStoryID* objectID; - -@property (nonatomic) NSNumber* commentsCount; - -@property (atomic) int32_t commentsCountValue; -- (int32_t)commentsCountValue; -- (void)setCommentsCountValue:(int32_t)value_; - -//- (BOOL)validateCommentsCount:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSDate* createdAt; - -//- (BOOL)validateCreatedAt:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSNumber* remoteID; - -@property (atomic) int32_t remoteIDValue; -- (int32_t)remoteIDValue; -- (void)setRemoteIDValue:(int32_t)value_; - -//- (BOOL)validateRemoteID:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSString* title; - -//- (BOOL)validateTitle:(id*)value_ error:(NSError**)error_; - -@property (nonatomic) NSSet *comments; - -- (NSMutableSet*)commentsSet; - -@end - -@interface _DNStory (CommentsCoreDataGeneratedAccessors) -- (void)addComments:(NSSet*)value_; -- (void)removeComments:(NSSet*)value_; -- (void)addCommentsObject:(DNComment*)value_; -- (void)removeCommentsObject:(DNComment*)value_; - -@end - -@interface _DNStory (CoreDataGeneratedPrimitiveAccessors) - -- (NSNumber*)primitiveCommentsCount; -- (void)setPrimitiveCommentsCount:(NSNumber*)value; - -- (int32_t)primitiveCommentsCountValue; -- (void)setPrimitiveCommentsCountValue:(int32_t)value_; - -- (NSDate*)primitiveCreatedAt; -- (void)setPrimitiveCreatedAt:(NSDate*)value; - -- (NSNumber*)primitiveRemoteID; -- (void)setPrimitiveRemoteID:(NSNumber*)value; - -- (int32_t)primitiveRemoteIDValue; -- (void)setPrimitiveRemoteIDValue:(int32_t)value_; - -- (NSString*)primitiveTitle; -- (void)setPrimitiveTitle:(NSString*)value; - -- (NSMutableSet*)primitiveComments; -- (void)setPrimitiveComments:(NSMutableSet*)value; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Model/_DNStory.m b/Examples/DesignerNews/DesignerNews/Model/_DNStory.m deleted file mode 100644 index c827ff20..00000000 --- a/Examples/DesignerNews/DesignerNews/Model/_DNStory.m +++ /dev/null @@ -1,113 +0,0 @@ -// DO NOT EDIT. This file is machine-generated and constantly overwritten. -// Make changes to DNStory.m instead. - -#import "_DNStory.h" - -const struct DNStoryAttributes DNStoryAttributes = { - .commentsCount = @"commentsCount", - .createdAt = @"createdAt", - .remoteID = @"remoteID", - .title = @"title", -}; - -const struct DNStoryRelationships DNStoryRelationships = { - .comments = @"comments", -}; - -@implementation DNStoryID -@end - -@implementation _DNStory - -+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_ { - NSParameterAssert(moc_); - return [NSEntityDescription insertNewObjectForEntityForName:@"Story" inManagedObjectContext:moc_]; -} - -+ (NSString*)entityName { - return @"Story"; -} - -+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_ { - NSParameterAssert(moc_); - return [NSEntityDescription entityForName:@"Story" inManagedObjectContext:moc_]; -} - -- (DNStoryID*)objectID { - return (DNStoryID*)[super objectID]; -} - -+ (NSSet*)keyPathsForValuesAffectingValueForKey:(NSString*)key { - NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key]; - - if ([key isEqualToString:@"commentsCountValue"]) { - NSSet *affectingKey = [NSSet setWithObject:@"commentsCount"]; - keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey]; - return keyPaths; - } - if ([key isEqualToString:@"remoteIDValue"]) { - NSSet *affectingKey = [NSSet setWithObject:@"remoteID"]; - keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey]; - return keyPaths; - } - - return keyPaths; -} - -@dynamic commentsCount; - -- (int32_t)commentsCountValue { - NSNumber *result = [self commentsCount]; - return [result intValue]; -} - -- (void)setCommentsCountValue:(int32_t)value_ { - [self setCommentsCount:[NSNumber numberWithInt:value_]]; -} - -- (int32_t)primitiveCommentsCountValue { - NSNumber *result = [self primitiveCommentsCount]; - return [result intValue]; -} - -- (void)setPrimitiveCommentsCountValue:(int32_t)value_ { - [self setPrimitiveCommentsCount:[NSNumber numberWithInt:value_]]; -} - -@dynamic createdAt; - -@dynamic remoteID; - -- (int32_t)remoteIDValue { - NSNumber *result = [self remoteID]; - return [result intValue]; -} - -- (void)setRemoteIDValue:(int32_t)value_ { - [self setRemoteID:[NSNumber numberWithInt:value_]]; -} - -- (int32_t)primitiveRemoteIDValue { - NSNumber *result = [self primitiveRemoteID]; - return [result intValue]; -} - -- (void)setPrimitiveRemoteIDValue:(int32_t)value_ { - [self setPrimitiveRemoteID:[NSNumber numberWithInt:value_]]; -} - -@dynamic title; - -@dynamic comments; - -- (NSMutableSet*)commentsSet { - [self willAccessValueForKey:@"comments"]; - - NSMutableSet *result = (NSMutableSet*)[self mutableSetValueForKey:@"comments"]; - - [self didAccessValueForKey:@"comments"]; - return result; -} - -@end - diff --git a/Examples/DesignerNews/DesignerNews/Source/APIClient.h b/Examples/DesignerNews/DesignerNews/Source/APIClient.h deleted file mode 100644 index ee518595..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/APIClient.h +++ /dev/null @@ -1,8 +0,0 @@ -@import Foundation; -#import "DATAStack.h" - -@interface APIClient : NSObject - -- (void)fetchStoryUsingDataStack:(DATAStack *)dataStack; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/APIClient.m b/Examples/DesignerNews/DesignerNews/Source/APIClient.m deleted file mode 100644 index 265ae5fa..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/APIClient.m +++ /dev/null @@ -1,46 +0,0 @@ -#import "APIClient.h" -#import "Sync.h" -@import UIKit; - -static NSString * const HYPBaseURL = @"https://www.designernews.co/?format=json"; - -@interface APIClient () - -@property (nonatomic, weak) DATAStack *dataStack; - -@end - -@implementation APIClient - -- (void)fetchStoryUsingDataStack:(DATAStack *)dataStack -{ - [UIApplication sharedApplication].networkActivityIndicatorVisible = YES; - - NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:HYPBaseURL]]; - NSOperationQueue *queue = [NSOperationQueue new]; - [NSURLConnection sendAsynchronousRequest:urlRequest - queue:queue - completionHandler:^(NSURLResponse *response, NSData *data, NSError *connectionError) { - if (connectionError) { - NSLog(@"There was an error: %@", connectionError); - } else { - NSError *serializationError = nil; - NSJSONSerialization *JSON = [NSJSONSerialization JSONObjectWithData:data - options:NSJSONReadingMutableContainers - error:&serializationError]; - - if (serializationError) { - NSLog(@"Error serializing JSON: %@", serializationError); - } else { - [Sync changes:[JSON valueForKey:@"stories"] - inEntityNamed:@"Story" - dataStack:dataStack - completion:^(NSError *error) { - [UIApplication sharedApplication].networkActivityIndicatorVisible = NO; - }]; - } - } - }]; -} - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/StoriesViewController.h b/Examples/DesignerNews/DesignerNews/Source/StoriesViewController.h deleted file mode 100644 index 12650644..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/StoriesViewController.h +++ /dev/null @@ -1,11 +0,0 @@ -@import UIKit; -@import CoreData; - -@class DATAStack; - -@interface StoriesViewController : UITableViewController - -- (instancetype)initWithDataStack:(DATAStack *)dataStack; - -@end - diff --git a/Examples/DesignerNews/DesignerNews/Source/StoriesViewController.m b/Examples/DesignerNews/DesignerNews/Source/StoriesViewController.m deleted file mode 100644 index 0c62e86a..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/StoriesViewController.m +++ /dev/null @@ -1,93 +0,0 @@ -#import "StoriesViewController.h" -#import "StoryViewController.h" -#import "StoryTableViewCell.h" -#import "DATAStack.h" -#import "APIClient.h" -#import "DATASource.h" -#import "DNStory.h" - -@interface StoriesViewController () - -@property (nonatomic, weak) DATAStack *dataStack; -@property (nonatomic) DATASource *dataSource; - -@end - -@implementation StoriesViewController - -#pragma mark - Initializers - -- (instancetype)initWithDataStack:(DATAStack *)dataStack -{ - self = [super initWithStyle:UITableViewStylePlain]; - if (!self) return nil; - - _dataStack = dataStack; - - return self; -} - -#pragma mark - Getters - -- (DATASource *)dataSource -{ - if (_dataSource) return _dataSource; - - NSFetchRequest *request = [NSFetchRequest fetchRequestWithEntityName:@"Story"]; - request.sortDescriptors = @[[NSSortDescriptor sortDescriptorWithKey:@"createdAt" - ascending:NO]]; - - _dataSource = [[DATASource alloc] initWithTableView:self.tableView - fetchRequest:request - sectionName:nil - cellIdentifier:StoryTableViewCellIdentifier - mainContext:self.dataStack.mainContext - configuration:^(StoryTableViewCell *cell, - DNStory *story, - NSIndexPath *indexPath) { - [cell updateWithStory:story]; - }]; - - return _dataSource; -} - -#pragma mark - View lifecycle - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - APIClient *client = [APIClient new]; - [client fetchStoryUsingDataStack:self.dataStack]; - - [self.tableView registerClass:[StoryTableViewCell class] - forCellReuseIdentifier:StoryTableViewCellIdentifier]; - self.tableView.dataSource = self.dataSource; - self.tableView.rowHeight = StoryTableViewCellHeight; - - self.navigationController.navigationBar.tintColor = [UIColor whiteColor]; - - self.title = @"Designer News"; -} - -#pragma mark - UIViewController - -- (UIStatusBarStyle)preferredStatusBarStyle -{ - return UIStatusBarStyleLightContent; -} - -#pragma mark - UITableViewDataSource - -- (void)tableView:(UITableView *)tableView -didSelectRowAtIndexPath:(NSIndexPath *)indexPath -{ - DNStory *story = [self.dataSource.fetchedResultsController objectAtIndexPath:indexPath]; - StoryViewController *viewController = [[StoryViewController alloc] initWithStory:story - andDataStack:self.dataStack]; - [self.navigationController pushViewController:viewController - animated:YES]; -} - - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/StoryTableViewCell.h b/Examples/DesignerNews/DesignerNews/Source/StoryTableViewCell.h deleted file mode 100644 index 4e843297..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/StoryTableViewCell.h +++ /dev/null @@ -1,12 +0,0 @@ -@import UIKit; - -@class DNStory; - -static NSString * const StoryTableViewCellIdentifier = @"StoryTableViewCellIdentifier"; -static const CGFloat StoryTableViewCellHeight = 65.0; - -@interface StoryTableViewCell : UITableViewCell - -- (void)updateWithStory:(DNStory *)story; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/StoryTableViewCell.m b/Examples/DesignerNews/DesignerNews/Source/StoryTableViewCell.m deleted file mode 100644 index 35d23c33..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/StoryTableViewCell.m +++ /dev/null @@ -1,128 +0,0 @@ -#import "StoryTableViewCell.h" - -#import "DNStory.h" - -#import "UIFont+DNStyle.h" - -static const CGFloat HYPTitleLabelMargin = 10.0; -static const CGFloat HYPTitleLabelHeight = 30.0; - -static const CGFloat HYPUpdatedLabelHeight = 30.0; -static const CGFloat HYPUpdatedLabelWidth = 90.0; -static const CGFloat HYPUpdatedLabelTopMargin = 10.0; - -static const CGFloat HYPCommentsCountMargin = 10.0; -static const CGFloat HYPCommentsCountHeight = 20.0; - -@interface StoryTableViewCell () - -@property (nonatomic) UILabel *titleLabel; -@property (nonatomic) UILabel *updatedLabel; -@property (nonatomic) UILabel *commentCountLabel; -@end - -@implementation StoryTableViewCell - -#pragma mark - Initializers - -- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier -{ - self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; - if (!self) return nil; - - [self.contentView addSubview:self.titleLabel]; - [self.contentView addSubview:self.updatedLabel]; - [self.contentView addSubview:self.commentCountLabel]; - - return self; -} - -#pragma mark - Getters - -- (UILabel *)titleLabel -{ - if (_titleLabel) return _titleLabel; - - _titleLabel = [UILabel new]; - _titleLabel.font = [UIFont headerFont]; - - return _titleLabel; -} - -- (UILabel *)updatedLabel -{ - if (_updatedLabel) return _updatedLabel; - - _updatedLabel = [UILabel new]; - _updatedLabel.font = [UIFont asideFont]; - _updatedLabel.textAlignment = NSTextAlignmentCenter; - - return _updatedLabel; -} - -- (UILabel *)commentCountLabel -{ - if (_commentCountLabel) return _commentCountLabel; - - _commentCountLabel = [UILabel new]; - _commentCountLabel.font = [UIFont subtitleFont]; - - return _commentCountLabel; -} - -#pragma mark - Public methods - -- (void)updateWithStory:(DNStory *)story -{ - static dispatch_once_t onceToken; - static NSDateFormatter *formatter = nil; - dispatch_once(&onceToken, ^{ - formatter = [NSDateFormatter new]; - formatter.dateStyle = NSDateFormatterLongStyle; - formatter.timeStyle = NSDateFormatterNoStyle; - }); - - self.titleLabel.text = story.title; - self.commentCountLabel.text = [NSString stringWithFormat:@"%@ comments", story.commentsCount]; - self.updatedLabel.text = [formatter stringFromDate:story.createdAt]; -} - -#pragma mark - Layout - -- (CGRect)titleLabelFrame -{ - CGRect screenFrame = [UIScreen mainScreen].bounds; - return CGRectMake(HYPTitleLabelMargin, - HYPTitleLabelMargin, - CGRectGetWidth(screenFrame) - HYPUpdatedLabelWidth - HYPTitleLabelMargin, - HYPTitleLabelHeight); -} - -- (CGRect)updatedLabelFrame -{ - CGRect screenFrame = [UIScreen mainScreen].bounds; - return CGRectMake(CGRectGetWidth(screenFrame) - HYPUpdatedLabelWidth, - HYPUpdatedLabelTopMargin, - HYPUpdatedLabelWidth, - HYPUpdatedLabelHeight); -} - -- (CGRect)commentCountLabelFrame -{ - CGRect screenFrame = [UIScreen mainScreen].bounds; - return CGRectMake(HYPCommentsCountMargin, - CGRectGetMaxY(self.updatedLabel.frame), - CGRectGetWidth(screenFrame) - HYPCommentsCountMargin * 2.0f, - HYPCommentsCountHeight); -} - -- (void)setNeedsLayout -{ - [super setNeedsLayout]; - - self.titleLabel.frame = [self titleLabelFrame]; - self.updatedLabel.frame = [self updatedLabelFrame]; - self.commentCountLabel.frame = [self commentCountLabelFrame]; -} - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/StoryViewController.h b/Examples/DesignerNews/DesignerNews/Source/StoryViewController.h deleted file mode 100644 index 563c5342..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/StoryViewController.h +++ /dev/null @@ -1,11 +0,0 @@ -@import UIKit; - -@class DNStory; -@class DATAStack; - -@interface StoryViewController : UITableViewController - -- (instancetype)initWithStory:(DNStory *)story - andDataStack:(DATAStack *)dataStack; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/StoryViewController.m b/Examples/DesignerNews/DesignerNews/Source/StoryViewController.m deleted file mode 100644 index 607d6cc6..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/StoryViewController.m +++ /dev/null @@ -1,88 +0,0 @@ -#import "StoryViewController.h" - -#import "DNStory.h" -#import "DNComment.h" -#import "DATAStack.h" -#import "DATASource.h" - -#import "NSString+ANDYSizes.h" -#import "UIFont+DNStyle.h" - -static NSString * const CommentTableViewCellIdentifier = @"CommentTableViewCellIdentifier"; -static const CGFloat CommentTableViewCellHeight = 70.0; -static const CGFloat CommentTableViewCellOffset = 40.0; - -@interface StoryViewController () - -@property (nonatomic, weak) DNStory *story; -@property (nonatomic, weak) DATAStack *dataStack; -@property (nonatomic) DATASource *dataSource; - -@end - -@implementation StoryViewController - -#pragma mark - Initializers - -- (instancetype)initWithStory:(DNStory *)story - andDataStack:(DATAStack *)dataStack -{ - self = [super initWithStyle:UITableViewStylePlain]; - if (!self) return nil; - - _story = story; - _dataStack = dataStack; - - return self; -} - -#pragma mark - Getters - -- (DATASource *)dataSource -{ - if (_dataSource) return _dataSource; - - NSFetchRequest *request = [NSFetchRequest fetchRequestWithEntityName:@"Comment"]; - request.sortDescriptors = @[[NSSortDescriptor sortDescriptorWithKey:@"upvotesCount" - ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"body" - ascending:NO]]; - request.predicate = [NSPredicate predicateWithFormat:@"story = %@", self.story]; - - _dataSource = [[DATASource alloc] initWithTableView:self.tableView - fetchRequest:request - sectionName:nil - cellIdentifier:CommentTableViewCellIdentifier - mainContext:self.dataStack.mainContext - configuration:^(UITableViewCell *cell, - DNComment *comment, - NSIndexPath *indexPath) { - cell.textLabel.text = comment.body; - cell.textLabel.font = [UIFont commentFont]; - cell.textLabel.numberOfLines = 0; - }]; - - return _dataSource; -} - -#pragma mark - View lifecycle - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - self.title = self.story.title; - self.tableView.dataSource = self.dataSource; - self.tableView.rowHeight = CommentTableViewCellHeight; - [self.tableView registerClass:[UITableViewCell class] - forCellReuseIdentifier:CommentTableViewCellIdentifier]; -} - -- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath -{ - DNComment *comment = [self.dataSource.fetchedResultsController objectAtIndexPath:indexPath]; - return [comment.body heightUsingFont:[UIFont commentFont] - andWidth:[[UIScreen mainScreen] bounds].size.width] + CommentTableViewCellOffset; -} - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/UIFont+DNStyle.h b/Examples/DesignerNews/DesignerNews/Source/UIFont+DNStyle.h deleted file mode 100644 index 0ab98da3..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/UIFont+DNStyle.h +++ /dev/null @@ -1,11 +0,0 @@ -@import UIKit; - -@interface UIFont (DNStyle) - -+ (UIFont *)appTitleFont; -+ (UIFont *)commentFont; -+ (UIFont *)headerFont; -+ (UIFont *)subtitleFont; -+ (UIFont *)asideFont; - -@end diff --git a/Examples/DesignerNews/DesignerNews/Source/UIFont+DNStyle.m b/Examples/DesignerNews/DesignerNews/Source/UIFont+DNStyle.m deleted file mode 100644 index b8c64b55..00000000 --- a/Examples/DesignerNews/DesignerNews/Source/UIFont+DNStyle.m +++ /dev/null @@ -1,30 +0,0 @@ -#import "UIFont+DNStyle.h" - -@implementation UIFont (DNStyle) - -+ (UIFont *)appTitleFont -{ - return [UIFont fontWithName:@"Avenir-Medium" size:20.0f];; -} - -+ (UIFont *)commentFont -{ - return [UIFont fontWithName:@"Avenir-Medium" size:14.0f];; -} - -+ (UIFont *)headerFont -{ - return [UIFont fontWithName:@"Avenir-Medium" size:16.0f];; -} - -+ (UIFont *)subtitleFont -{ - return [UIFont fontWithName:@"Avenir-Medium" size:13.0f]; -} - -+ (UIFont *)asideFont -{ - return [UIFont fontWithName:@"Avenir-Light" size:11.0f]; -} - -@end diff --git a/Examples/DesignerNews/DesignerNews/main.m b/Examples/DesignerNews/DesignerNews/main.m deleted file mode 100644 index 1db1e5c7..00000000 --- a/Examples/DesignerNews/DesignerNews/main.m +++ /dev/null @@ -1,8 +0,0 @@ -@import UIKit; -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/Examples/DesignerNews/Images/app.png b/Examples/DesignerNews/Images/app.png deleted file mode 100644 index c1da2a3c..00000000 Binary files a/Examples/DesignerNews/Images/app.png and /dev/null differ diff --git a/Examples/DesignerNews/Images/model.png b/Examples/DesignerNews/Images/model.png deleted file mode 100644 index 7b4ad477..00000000 Binary files a/Examples/DesignerNews/Images/model.png and /dev/null differ diff --git a/Examples/DesignerNews/Podfile b/Examples/DesignerNews/Podfile deleted file mode 100644 index 7003ac78..00000000 --- a/Examples/DesignerNews/Podfile +++ /dev/null @@ -1,7 +0,0 @@ -platform :ios, '8.0' - -use_frameworks! - -pod 'Sync' -pod 'DATASource' -pod 'NSString-ANDYSizes' diff --git a/Examples/DesignerNews/README.md b/Examples/DesignerNews/README.md deleted file mode 100644 index 34db6195..00000000 --- a/Examples/DesignerNews/README.md +++ /dev/null @@ -1,53 +0,0 @@ -## App - -[Reference](https://github.com/hyperoslo/Sync/tree/master/Examples/DesignerNews) - -![Model](https://raw.githubusercontent.com/hyperoslo/Sync/master/Examples/DesignerNews/Images/app.png) - -## JSON - -[Reference](https://news.layervault.com/?format=json) - -```json -{ - "stories":[ - { - "id":47333, - "title":"Site Design: Aquest", - "vote_count":6, - "created_at":"2015-04-06T13:16:36Z", - "num_comments":6, - "submitter_display_name":"Chris A.", - "comments":[ - { - "body":"Beautiful.", - "created_at":"2015-04-06T13:45:20Z", - "depth":0, - "user_display_name":"Sam M.", - "upvotes_count":0, - "comments":[ - - ] - } - ] - } - ] -} -``` - -## Model - -![Model](https://raw.githubusercontent.com/hyperoslo/Sync/master/Examples/DesignerNews/Images/model.png) - -## Sync - -[Reference](https://github.com/hyperoslo/Sync/blob/master/Examples/DesignerNews/DesignerNews/Source/APIClient.m#L35-L40) - -```objc -[Sync changes:JSON[@"stories"] -inEntityNamed:@"Story" - dataStack:dataStack - completion:^(NSError *error) { - [UIApplication sharedApplication].networkActivityIndicatorVisible = NO; - }]; -``` diff --git a/Examples/README.md b/Examples/README.md deleted file mode 100644 index 733acd12..00000000 --- a/Examples/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Examples - -## Building - -Run `pod install` in each sample project directory to set up their -dependencies. - -## License - -> This files provided by Hyper Interaktiv AS are for non-commercial testing and evaluation -> purposes only. -> Hyper Interaktiv AS reserves all rights not expressly granted. -> See the [LICENSE](https://github.com/hyperoslo/Sync/blob/master/LICENSE.md) file for more info. diff --git a/LICENSE.md b/LICENSE.md old mode 100755 new mode 100644 index a592775e..da4372f9 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,8 +1,6 @@ Licensed under the **MIT** license -> Copyright (c) 2015 [Hyper Interaktiv AS](http://www.hyper.no/) -> -> Copyright (c) 2015 [Elvis Nuñez](https://github.com/3lvis) +> Copyright (c) 2015 Hyper Interaktiv > > Permission is hereby granted, free of charge, to any person obtaining > a copy of this software and associated documentation files (the diff --git a/Podfile b/Podfile new file mode 100644 index 00000000..4289dc3e --- /dev/null +++ b/Podfile @@ -0,0 +1,7 @@ +use_frameworks! + +# When using more than one target in your project +# link_with 'DemoProject', 'Tests' + +pod 'Sync', path: "." +pod 'NSJSONSerialization-ANDYJSONFile' \ No newline at end of file diff --git a/Tests/Tests/Helpers/BaseTestCase.h b/Tests/Helpers/BaseTestCase.h similarity index 100% rename from Tests/Tests/Helpers/BaseTestCase.h rename to Tests/Helpers/BaseTestCase.h diff --git a/Tests/Tests/Helpers/BaseTestCase.m b/Tests/Helpers/BaseTestCase.m similarity index 100% rename from Tests/Tests/Helpers/BaseTestCase.m rename to Tests/Helpers/BaseTestCase.m diff --git a/Tests/Tests/Info.plist b/Tests/Info.plist old mode 100755 new mode 100644 similarity index 100% rename from Tests/Tests/Info.plist rename to Tests/Info.plist diff --git a/Tests/Tests/JSONs/bug-113-comments-no-id.json b/Tests/JSONs/bug-113-comments-no-id.json similarity index 100% rename from Tests/Tests/JSONs/bug-113-comments-no-id.json rename to Tests/JSONs/bug-113-comments-no-id.json diff --git a/Tests/Tests/JSONs/bug-113-custom_relationship_key_to_one.json b/Tests/JSONs/bug-113-custom_relationship_key_to_one.json similarity index 100% rename from Tests/Tests/JSONs/bug-113-custom_relationship_key_to_one.json rename to Tests/JSONs/bug-113-custom_relationship_key_to_one.json diff --git a/Tests/Tests/JSONs/bug-113-stories-comments-no-ids.json b/Tests/JSONs/bug-113-stories-comments-no-ids.json similarity index 100% rename from Tests/Tests/JSONs/bug-113-stories-comments-no-ids.json rename to Tests/JSONs/bug-113-stories-comments-no-ids.json diff --git a/Tests/Tests/JSONs/bug-125-light.json b/Tests/JSONs/bug-125-light.json similarity index 100% rename from Tests/Tests/JSONs/bug-125-light.json rename to Tests/JSONs/bug-125-light.json diff --git a/Tests/Tests/JSONs/bug-125.json b/Tests/JSONs/bug-125.json similarity index 100% rename from Tests/Tests/JSONs/bug-125.json rename to Tests/JSONs/bug-125.json diff --git a/Tests/Tests/JSONs/bug-number-84.json b/Tests/JSONs/bug-number-84.json similarity index 100% rename from Tests/Tests/JSONs/bug-number-84.json rename to Tests/JSONs/bug-number-84.json diff --git a/Tests/Tests/JSONs/comments-no-id.json b/Tests/JSONs/comments-no-id.json similarity index 100% rename from Tests/Tests/JSONs/comments-no-id.json rename to Tests/JSONs/comments-no-id.json diff --git a/Tests/Tests/JSONs/custom_relationship_key_to_many.json b/Tests/JSONs/custom_relationship_key_to_many.json similarity index 100% rename from Tests/Tests/JSONs/custom_relationship_key_to_many.json rename to Tests/JSONs/custom_relationship_key_to_many.json diff --git a/Tests/Tests/JSONs/custom_relationship_key_to_one.json b/Tests/JSONs/custom_relationship_key_to_one.json similarity index 100% rename from Tests/Tests/JSONs/custom_relationship_key_to_one.json rename to Tests/JSONs/custom_relationship_key_to_one.json diff --git a/Tests/Tests/JSONs/images.json b/Tests/JSONs/images.json similarity index 100% rename from Tests/Tests/JSONs/images.json rename to Tests/JSONs/images.json diff --git a/Tests/Tests/JSONs/markets_items.json b/Tests/JSONs/markets_items.json similarity index 100% rename from Tests/Tests/JSONs/markets_items.json rename to Tests/JSONs/markets_items.json diff --git a/Tests/Tests/JSONs/notes_for_user_a.json b/Tests/JSONs/notes_for_user_a.json similarity index 100% rename from Tests/Tests/JSONs/notes_for_user_a.json rename to Tests/JSONs/notes_for_user_a.json diff --git a/Tests/Tests/JSONs/numbers.json b/Tests/JSONs/numbers.json similarity index 100% rename from Tests/Tests/JSONs/numbers.json rename to Tests/JSONs/numbers.json diff --git a/Tests/Tests/JSONs/numbers_in_collection.json b/Tests/JSONs/numbers_in_collection.json similarity index 100% rename from Tests/Tests/JSONs/numbers_in_collection.json rename to Tests/JSONs/numbers_in_collection.json diff --git a/Tests/Tests/JSONs/organizations-tree.json b/Tests/JSONs/organizations-tree.json similarity index 100% rename from Tests/Tests/JSONs/organizations-tree.json rename to Tests/JSONs/organizations-tree.json diff --git a/Tests/Tests/JSONs/patients.json b/Tests/JSONs/patients.json similarity index 100% rename from Tests/Tests/JSONs/patients.json rename to Tests/JSONs/patients.json diff --git a/Tests/Tests/JSONs/stories-comments-no-ids.json b/Tests/JSONs/stories-comments-no-ids.json similarity index 100% rename from Tests/Tests/JSONs/stories-comments-no-ids.json rename to Tests/JSONs/stories-comments-no-ids.json diff --git a/Tests/Tests/JSONs/story-summarize.json b/Tests/JSONs/story-summarize.json similarity index 100% rename from Tests/Tests/JSONs/story-summarize.json rename to Tests/JSONs/story-summarize.json diff --git a/Tests/Tests/JSONs/tagged_notes.json b/Tests/JSONs/tagged_notes.json similarity index 100% rename from Tests/Tests/JSONs/tagged_notes.json rename to Tests/JSONs/tagged_notes.json diff --git a/Tests/Tests/JSONs/unique.json b/Tests/JSONs/unique.json similarity index 100% rename from Tests/Tests/JSONs/unique.json rename to Tests/JSONs/unique.json diff --git a/Tests/Tests/JSONs/users_a.json b/Tests/JSONs/users_a.json similarity index 100% rename from Tests/Tests/JSONs/users_a.json rename to Tests/JSONs/users_a.json diff --git a/Tests/Tests/JSONs/users_b.json b/Tests/JSONs/users_b.json similarity index 100% rename from Tests/Tests/JSONs/users_b.json rename to Tests/JSONs/users_b.json diff --git a/Tests/Tests/JSONs/users_c.json b/Tests/JSONs/users_c.json similarity index 100% rename from Tests/Tests/JSONs/users_c.json rename to Tests/JSONs/users_c.json diff --git a/Tests/Tests/JSONs/users_company.json b/Tests/JSONs/users_company.json similarity index 100% rename from Tests/Tests/JSONs/users_company.json rename to Tests/JSONs/users_company.json diff --git a/Tests/Tests/JSONs/users_notes.json b/Tests/JSONs/users_notes.json similarity index 100% rename from Tests/Tests/JSONs/users_notes.json rename to Tests/JSONs/users_notes.json diff --git a/Tests/Tests/Models/Bug113.xcdatamodeld/.xccurrentversion b/Tests/Models/Bug113.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Bug113.xcdatamodeld/.xccurrentversion rename to Tests/Models/Bug113.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Bug113.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Bug113.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Bug113.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Bug113.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Bug125-simplified.xcdatamodeld/.xccurrentversion b/Tests/Models/Bug125-simplified.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Bug125-simplified.xcdatamodeld/.xccurrentversion rename to Tests/Models/Bug125-simplified.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Bug125-simplified.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Bug125-simplified.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Bug125-simplified.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Bug125-simplified.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Bug125.xcdatamodeld/.xccurrentversion b/Tests/Models/Bug125.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Bug125.xcdatamodeld/.xccurrentversion rename to Tests/Models/Bug125.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Bug125.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Bug125.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Bug125.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Bug125.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Bug84.xcdatamodeld/.xccurrentversion b/Tests/Models/Bug84.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Bug84.xcdatamodeld/.xccurrentversion rename to Tests/Models/Bug84.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Bug84.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Bug84.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Bug84.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Bug84.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Contacts.xcdatamodeld/.xccurrentversion b/Tests/Models/Contacts.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Contacts.xcdatamodeld/.xccurrentversion rename to Tests/Models/Contacts.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Contacts.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Contacts.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Contacts.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Contacts.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Markets.xcdatamodeld/.xccurrentversion b/Tests/Models/Markets.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Markets.xcdatamodeld/.xccurrentversion rename to Tests/Models/Markets.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Markets.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Markets.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Markets.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Markets.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Notes.xcdatamodeld/.xccurrentversion b/Tests/Models/Notes.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Notes.xcdatamodeld/.xccurrentversion rename to Tests/Models/Notes.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Notes.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Notes.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Notes.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Notes.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Organizations.xcdatamodeld/Organizations.xcdatamodel/contents b/Tests/Models/Organizations.xcdatamodeld/Organizations.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Organizations.xcdatamodeld/Organizations.xcdatamodel/contents rename to Tests/Models/Organizations.xcdatamodeld/Organizations.xcdatamodel/contents diff --git a/Tests/Tests/Models/Patients.xcdatamodeld/.xccurrentversion b/Tests/Models/Patients.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Patients.xcdatamodeld/.xccurrentversion rename to Tests/Models/Patients.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Patients.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Patients.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Patients.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Patients.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Recursive.xcdatamodeld/.xccurrentversion b/Tests/Models/Recursive.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Recursive.xcdatamodeld/.xccurrentversion rename to Tests/Models/Recursive.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Recursive.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Recursive.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Recursive.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Recursive.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Social.xcdatamodeld/.xccurrentversion b/Tests/Models/Social.xcdatamodeld/.xccurrentversion similarity index 100% rename from Tests/Tests/Models/Social.xcdatamodeld/.xccurrentversion rename to Tests/Models/Social.xcdatamodeld/.xccurrentversion diff --git a/Tests/Tests/Models/Social.xcdatamodeld/Demo.xcdatamodel/contents b/Tests/Models/Social.xcdatamodeld/Demo.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Social.xcdatamodeld/Demo.xcdatamodel/contents rename to Tests/Models/Social.xcdatamodeld/Demo.xcdatamodel/contents diff --git a/Tests/Tests/Models/Unique.xcdatamodeld/Unique.xcdatamodel/contents b/Tests/Models/Unique.xcdatamodeld/Unique.xcdatamodel/contents similarity index 100% rename from Tests/Tests/Models/Unique.xcdatamodeld/Unique.xcdatamodel/contents rename to Tests/Models/Unique.xcdatamodeld/Unique.xcdatamodel/contents diff --git a/Tests/Tests/NSArray+Sync_Tests.m b/Tests/NSArray+Sync_Tests.m similarity index 100% rename from Tests/Tests/NSArray+Sync_Tests.m rename to Tests/NSArray+Sync_Tests.m diff --git a/Tests/Podfile b/Tests/Podfile deleted file mode 100644 index 4d6c9be4..00000000 --- a/Tests/Podfile +++ /dev/null @@ -1,10 +0,0 @@ -use_frameworks! - -platform :ios, '8.0' - -pod 'DATAFilter' -pod 'DATAStack', git: 'git@github.com:3lvis/DATAStack.git' -pod 'NSDictionary-ANDYSafeValue' -pod 'NSEntityDescription-SYNCPrimaryKey' -pod 'NSJSONSerialization-ANDYJSONFile' -pod 'NSManagedObject-HYPPropertyMapper' diff --git a/Tests/Tests/SyncTests.m b/Tests/SyncTests.m similarity index 100% rename from Tests/Tests/SyncTests.m rename to Tests/SyncTests.m diff --git a/Tests/Tests.xcodeproj/project.pbxproj b/Tests/Tests.xcodeproj/project.pbxproj deleted file mode 100755 index 3cf36b23..00000000 --- a/Tests/Tests.xcodeproj/project.pbxproj +++ /dev/null @@ -1,718 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0374412F80C6B8D5200C882C /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6C99E9E23EA886944E25CF9 /* Pods.framework */; }; - 141603011BC32307007D0600 /* NSArray+Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 141603001BC32307007D0600 /* NSArray+Sync.m */; settings = {ASSET_TAGS = (); }; }; - 141603031BC32425007D0600 /* NSArray+Sync_Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 141603021BC32425007D0600 /* NSArray+Sync_Tests.m */; settings = {ASSET_TAGS = (); }; }; - 14584B041B7EE38600293841 /* Bug113.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 14584B021B7EE38600293841 /* Bug113.xcdatamodeld */; }; - 14584B061B7EE4E900293841 /* bug-113-comments-no-id.json in Resources */ = {isa = PBXBuildFile; fileRef = 14584B051B7EE4E900293841 /* bug-113-comments-no-id.json */; }; - 14584B081B7EE50000293841 /* bug-113-stories-comments-no-ids.json in Resources */ = {isa = PBXBuildFile; fileRef = 14584B071B7EE50000293841 /* bug-113-stories-comments-no-ids.json */; }; - 14584B0A1B7EE53000293841 /* bug-113-custom_relationship_key_to_one.json in Resources */ = {isa = PBXBuildFile; fileRef = 14584B091B7EE53000293841 /* bug-113-custom_relationship_key_to_one.json */; }; - 145F712E1BC3289200023F7B /* BaseTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = 145F712D1BC3289200023F7B /* BaseTestCase.m */; settings = {ASSET_TAGS = (); }; }; - 14632D4F1BC4A3A4003E3168 /* story-summarize.json in Resources */ = {isa = PBXBuildFile; fileRef = 14632D4E1BC4A3A4003E3168 /* story-summarize.json */; settings = {ASSET_TAGS = (); }; }; - 148517C31BC5C89B0061320B /* Bug125-simplified.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 148517C11BC5C89B0061320B /* Bug125-simplified.xcdatamodeld */; settings = {ASSET_TAGS = (); }; }; - 14A718551BB931A700E708E6 /* Patients.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 14A718531BB931A700E708E6 /* Patients.xcdatamodeld */; settings = {ASSET_TAGS = (); }; }; - 14A718571BB9370100E708E6 /* patients.json in Resources */ = {isa = PBXBuildFile; fileRef = 14A718561BB9370100E708E6 /* patients.json */; settings = {ASSET_TAGS = (); }; }; - 14ADDF411AE434A100C389AD /* NSManagedObject+Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 14ADDF401AE434A100C389AD /* NSManagedObject+Sync.m */; }; - 14B39D8E1A9BCCB300D3D01B /* Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 14B39D8D1A9BCCB300D3D01B /* Sync.m */; }; - 14B564731A06D87B00342CDA /* .travis.yml in Resources */ = {isa = PBXBuildFile; fileRef = 14B564721A06D87B00342CDA /* .travis.yml */; }; - 14C4182E1A01919C00636FD6 /* SyncTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 14C4182D1A01919C00636FD6 /* SyncTests.m */; }; - 14C4183D1A019A1500636FD6 /* LICENSE.md in Resources */ = {isa = PBXBuildFile; fileRef = 14C418391A019A1500636FD6 /* LICENSE.md */; }; - 14C4183E1A019A1500636FD6 /* Sync.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 14C4183A1A019A1500636FD6 /* Sync.podspec */; }; - 14CF861F1BC2F98B001CF9C1 /* Bug125.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 14CF861D1BC2F98B001CF9C1 /* Bug125.xcdatamodeld */; settings = {ASSET_TAGS = (); }; }; - 14CF86211BC2FE2B001CF9C1 /* bug-125.json in Resources */ = {isa = PBXBuildFile; fileRef = 14CF86201BC2FE2B001CF9C1 /* bug-125.json */; settings = {ASSET_TAGS = (); }; }; - 14F208251BC5887B00C31AC2 /* bug-125-light.json in Resources */ = {isa = PBXBuildFile; fileRef = 14F208241BC5887B00C31AC2 /* bug-125-light.json */; settings = {ASSET_TAGS = (); }; }; - 446866981AFCBC7A0006A32B /* NSEntityDescription+Sync.m in Sources */ = {isa = PBXBuildFile; fileRef = 446866971AFCBC7A0006A32B /* NSEntityDescription+Sync.m */; }; - 4468669B1AFCBC870006A32B /* Organizations.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 446866991AFCBC870006A32B /* Organizations.xcdatamodeld */; }; - 4468669D1AFCBC910006A32B /* organizations-tree.json in Resources */ = {isa = PBXBuildFile; fileRef = 4468669C1AFCBC910006A32B /* organizations-tree.json */; }; - 44B072B81AEA364D00ACD275 /* comments-no-id.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072A81AEA364D00ACD275 /* comments-no-id.json */; }; - 44B072B91AEA364D00ACD275 /* custom_relationship_key_to_many.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072A91AEA364D00ACD275 /* custom_relationship_key_to_many.json */; }; - 44B072BA1AEA364D00ACD275 /* custom_relationship_key_to_one.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072AA1AEA364D00ACD275 /* custom_relationship_key_to_one.json */; }; - 44B072BB1AEA364D00ACD275 /* images.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072AB1AEA364D00ACD275 /* images.json */; }; - 44B072BC1AEA364D00ACD275 /* markets_items.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072AC1AEA364D00ACD275 /* markets_items.json */; }; - 44B072BD1AEA364D00ACD275 /* notes_for_user_a.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072AD1AEA364D00ACD275 /* notes_for_user_a.json */; }; - 44B072BE1AEA364D00ACD275 /* numbers.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072AE1AEA364D00ACD275 /* numbers.json */; }; - 44B072BF1AEA364D00ACD275 /* numbers_in_collection.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072AF1AEA364D00ACD275 /* numbers_in_collection.json */; }; - 44B072C01AEA364D00ACD275 /* stories-comments-no-ids.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B01AEA364D00ACD275 /* stories-comments-no-ids.json */; }; - 44B072C11AEA364D00ACD275 /* tagged_notes.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B11AEA364D00ACD275 /* tagged_notes.json */; }; - 44B072C21AEA364D00ACD275 /* users_a.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B21AEA364D00ACD275 /* users_a.json */; }; - 44B072C31AEA364D00ACD275 /* users_b.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B31AEA364D00ACD275 /* users_b.json */; }; - 44B072C41AEA364D00ACD275 /* users_c.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B41AEA364D00ACD275 /* users_c.json */; }; - 44B072C51AEA364D00ACD275 /* users_company.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B51AEA364D00ACD275 /* users_company.json */; }; - 44B072C61AEA364D00ACD275 /* users_notes.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072B61AEA364D00ACD275 /* users_notes.json */; }; - 44B072D21AEA366B00ACD275 /* Contacts.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 44B072C81AEA366B00ACD275 /* Contacts.xcdatamodeld */; }; - 44B072D31AEA366B00ACD275 /* Markets.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 44B072CA1AEA366B00ACD275 /* Markets.xcdatamodeld */; }; - 44B072D41AEA366B00ACD275 /* Notes.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 44B072CC1AEA366B00ACD275 /* Notes.xcdatamodeld */; }; - 44B072D51AEA366B00ACD275 /* Recursive.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 44B072CE1AEA366B00ACD275 /* Recursive.xcdatamodeld */; }; - 44B072D61AEA366B00ACD275 /* Social.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 44B072D01AEA366B00ACD275 /* Social.xcdatamodeld */; }; - 44B072D81AEA36A700ACD275 /* bug-number-84.json in Resources */ = {isa = PBXBuildFile; fileRef = 44B072D71AEA36A700ACD275 /* bug-number-84.json */; }; - 44B072DB1AEA36D300ACD275 /* Bug84.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 44B072D91AEA36D300ACD275 /* Bug84.xcdatamodeld */; }; - B5A4E1811AFB7E7D00A250F2 /* Unique.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = B5A4E17F1AFB7E7D00A250F2 /* Unique.xcdatamodeld */; }; - B5A4E1831AFB801C00A250F2 /* unique.json in Resources */ = {isa = PBXBuildFile; fileRef = B5A4E1821AFB801C00A250F2 /* unique.json */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 141602FF1BC32307007D0600 /* NSArray+Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+Sync.h"; sourceTree = ""; }; - 141603001BC32307007D0600 /* NSArray+Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+Sync.m"; sourceTree = ""; }; - 141603021BC32425007D0600 /* NSArray+Sync_Tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+Sync_Tests.m"; sourceTree = ""; }; - 14584B031B7EE38600293841 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 14584B051B7EE4E900293841 /* bug-113-comments-no-id.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-113-comments-no-id.json"; sourceTree = ""; }; - 14584B071B7EE50000293841 /* bug-113-stories-comments-no-ids.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-113-stories-comments-no-ids.json"; sourceTree = ""; }; - 14584B091B7EE53000293841 /* bug-113-custom_relationship_key_to_one.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-113-custom_relationship_key_to_one.json"; sourceTree = ""; }; - 145F712C1BC3289200023F7B /* BaseTestCase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseTestCase.h; sourceTree = ""; }; - 145F712D1BC3289200023F7B /* BaseTestCase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseTestCase.m; sourceTree = ""; }; - 14632D4E1BC4A3A4003E3168 /* story-summarize.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "story-summarize.json"; sourceTree = ""; }; - 148517C21BC5C89B0061320B /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 14A718541BB931A700E708E6 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 14A718561BB9370100E708E6 /* patients.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = patients.json; sourceTree = ""; }; - 14ADDF3F1AE434A100C389AD /* NSManagedObject+Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSManagedObject+Sync.h"; sourceTree = ""; }; - 14ADDF401AE434A100C389AD /* NSManagedObject+Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSManagedObject+Sync.m"; sourceTree = ""; }; - 14B39D8C1A9BCCB300D3D01B /* Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sync.h; sourceTree = ""; }; - 14B39D8D1A9BCCB300D3D01B /* Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Sync.m; sourceTree = ""; }; - 14B564721A06D87B00342CDA /* .travis.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = .travis.yml; path = ../.travis.yml; sourceTree = ""; }; - 14C418261A01919C00636FD6 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 14C4182C1A01919C00636FD6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 14C4182D1A01919C00636FD6 /* SyncTests.m */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; path = SyncTests.m; sourceTree = ""; tabWidth = 4; }; - 14C418381A019A1500636FD6 /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTING.md; path = ../CONTRIBUTING.md; sourceTree = ""; }; - 14C418391A019A1500636FD6 /* LICENSE.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = LICENSE.md; path = ../LICENSE.md; sourceTree = ""; }; - 14C4183A1A019A1500636FD6 /* Sync.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; fileEncoding = 4; name = Sync.podspec; path = ../Sync.podspec; sourceTree = ""; }; - 14C4183B1A019A1500636FD6 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 14CF861E1BC2F98B001CF9C1 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 14CF86201BC2FE2B001CF9C1 /* bug-125.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-125.json"; sourceTree = ""; }; - 14F208241BC5887B00C31AC2 /* bug-125-light.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-125-light.json"; sourceTree = ""; }; - 446866961AFCBC7A0006A32B /* NSEntityDescription+Sync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSEntityDescription+Sync.h"; sourceTree = ""; }; - 446866971AFCBC7A0006A32B /* NSEntityDescription+Sync.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSEntityDescription+Sync.m"; sourceTree = ""; }; - 4468669A1AFCBC870006A32B /* Organizations.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Organizations.xcdatamodel; sourceTree = ""; }; - 4468669C1AFCBC910006A32B /* organizations-tree.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "organizations-tree.json"; sourceTree = ""; }; - 44B072A81AEA364D00ACD275 /* comments-no-id.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "comments-no-id.json"; sourceTree = ""; }; - 44B072A91AEA364D00ACD275 /* custom_relationship_key_to_many.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = custom_relationship_key_to_many.json; sourceTree = ""; }; - 44B072AA1AEA364D00ACD275 /* custom_relationship_key_to_one.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = custom_relationship_key_to_one.json; sourceTree = ""; }; - 44B072AB1AEA364D00ACD275 /* images.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = images.json; sourceTree = ""; }; - 44B072AC1AEA364D00ACD275 /* markets_items.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = markets_items.json; sourceTree = ""; }; - 44B072AD1AEA364D00ACD275 /* notes_for_user_a.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = notes_for_user_a.json; sourceTree = ""; }; - 44B072AE1AEA364D00ACD275 /* numbers.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = numbers.json; sourceTree = ""; }; - 44B072AF1AEA364D00ACD275 /* numbers_in_collection.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = numbers_in_collection.json; sourceTree = ""; }; - 44B072B01AEA364D00ACD275 /* stories-comments-no-ids.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stories-comments-no-ids.json"; sourceTree = ""; }; - 44B072B11AEA364D00ACD275 /* tagged_notes.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = tagged_notes.json; sourceTree = ""; }; - 44B072B21AEA364D00ACD275 /* users_a.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_a.json; sourceTree = ""; }; - 44B072B31AEA364D00ACD275 /* users_b.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_b.json; sourceTree = ""; }; - 44B072B41AEA364D00ACD275 /* users_c.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_c.json; sourceTree = ""; }; - 44B072B51AEA364D00ACD275 /* users_company.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_company.json; sourceTree = ""; }; - 44B072B61AEA364D00ACD275 /* users_notes.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = users_notes.json; sourceTree = ""; }; - 44B072C91AEA366B00ACD275 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 44B072CB1AEA366B00ACD275 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 44B072CD1AEA366B00ACD275 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 44B072CF1AEA366B00ACD275 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 44B072D11AEA366B00ACD275 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 44B072D71AEA36A700ACD275 /* bug-number-84.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "bug-number-84.json"; sourceTree = ""; }; - 44B072DA1AEA36D300ACD275 /* Demo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Demo.xcdatamodel; sourceTree = ""; }; - 7C067778DC962B70CDF74EA5 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; - 91F302F02821DE7BE3BF6336 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; - B5A4E1801AFB7E7D00A250F2 /* Unique.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Unique.xcdatamodel; sourceTree = ""; }; - B5A4E1821AFB801C00A250F2 /* unique.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = unique.json; sourceTree = ""; }; - F6C99E9E23EA886944E25CF9 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 14C418231A01919C00636FD6 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0374412F80C6B8D5200C882C /* Pods.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1083371E17615964016F8C80 /* Pods */ = { - isa = PBXGroup; - children = ( - 91F302F02821DE7BE3BF6336 /* Pods.debug.xcconfig */, - 7C067778DC962B70CDF74EA5 /* Pods.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - 145F712B1BC3289200023F7B /* Helpers */ = { - isa = PBXGroup; - children = ( - 145F712C1BC3289200023F7B /* BaseTestCase.h */, - 145F712D1BC3289200023F7B /* BaseTestCase.m */, - ); - path = Helpers; - sourceTree = ""; - }; - 14C418111A01919C00636FD6 = { - isa = PBXGroup; - children = ( - 14C418401A019A1B00636FD6 /* Metadata */, - 14C418371A01974300636FD6 /* Source */, - 14C4182A1A01919C00636FD6 /* Tests */, - 14C4181C1A01919C00636FD6 /* Products */, - 1083371E17615964016F8C80 /* Pods */, - 8D108A3917155A7C32CD56A4 /* Frameworks */, - ); - indentWidth = 4; - sourceTree = ""; - tabWidth = 4; - }; - 14C4181C1A01919C00636FD6 /* Products */ = { - isa = PBXGroup; - children = ( - 14C418261A01919C00636FD6 /* Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 14C4182A1A01919C00636FD6 /* Tests */ = { - isa = PBXGroup; - children = ( - 145F712B1BC3289200023F7B /* Helpers */, - 44B072C71AEA366B00ACD275 /* Models */, - 44B072A61AEA364D00ACD275 /* JSONs */, - 14C4182D1A01919C00636FD6 /* SyncTests.m */, - 141603021BC32425007D0600 /* NSArray+Sync_Tests.m */, - 14C4182B1A01919C00636FD6 /* Supporting Files */, - ); - path = Tests; - sourceTree = ""; - }; - 14C4182B1A01919C00636FD6 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 14C4182C1A01919C00636FD6 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 14C418371A01974300636FD6 /* Source */ = { - isa = PBXGroup; - children = ( - 14B39D8C1A9BCCB300D3D01B /* Sync.h */, - 14B39D8D1A9BCCB300D3D01B /* Sync.m */, - 14ADDF3F1AE434A100C389AD /* NSManagedObject+Sync.h */, - 14ADDF401AE434A100C389AD /* NSManagedObject+Sync.m */, - 446866961AFCBC7A0006A32B /* NSEntityDescription+Sync.h */, - 446866971AFCBC7A0006A32B /* NSEntityDescription+Sync.m */, - 141602FF1BC32307007D0600 /* NSArray+Sync.h */, - 141603001BC32307007D0600 /* NSArray+Sync.m */, - ); - name = Source; - path = ../Source; - sourceTree = ""; - }; - 14C418401A019A1B00636FD6 /* Metadata */ = { - isa = PBXGroup; - children = ( - 14B564721A06D87B00342CDA /* .travis.yml */, - 14C418381A019A1500636FD6 /* CONTRIBUTING.md */, - 14C418391A019A1500636FD6 /* LICENSE.md */, - 14C4183A1A019A1500636FD6 /* Sync.podspec */, - 14C4183B1A019A1500636FD6 /* README.md */, - ); - name = Metadata; - sourceTree = ""; - }; - 44B072A61AEA364D00ACD275 /* JSONs */ = { - isa = PBXGroup; - children = ( - 14F208241BC5887B00C31AC2 /* bug-125-light.json */, - 14632D4E1BC4A3A4003E3168 /* story-summarize.json */, - 14CF86201BC2FE2B001CF9C1 /* bug-125.json */, - 14584B051B7EE4E900293841 /* bug-113-comments-no-id.json */, - 14584B071B7EE50000293841 /* bug-113-stories-comments-no-ids.json */, - 14584B091B7EE53000293841 /* bug-113-custom_relationship_key_to_one.json */, - 44B072D71AEA36A700ACD275 /* bug-number-84.json */, - 44B072A81AEA364D00ACD275 /* comments-no-id.json */, - 44B072A91AEA364D00ACD275 /* custom_relationship_key_to_many.json */, - 44B072AA1AEA364D00ACD275 /* custom_relationship_key_to_one.json */, - 44B072AB1AEA364D00ACD275 /* images.json */, - 44B072AC1AEA364D00ACD275 /* markets_items.json */, - 44B072AD1AEA364D00ACD275 /* notes_for_user_a.json */, - 44B072AF1AEA364D00ACD275 /* numbers_in_collection.json */, - 44B072AE1AEA364D00ACD275 /* numbers.json */, - 4468669C1AFCBC910006A32B /* organizations-tree.json */, - 44B072B01AEA364D00ACD275 /* stories-comments-no-ids.json */, - 44B072B11AEA364D00ACD275 /* tagged_notes.json */, - B5A4E1821AFB801C00A250F2 /* unique.json */, - 44B072B21AEA364D00ACD275 /* users_a.json */, - 44B072B31AEA364D00ACD275 /* users_b.json */, - 44B072B41AEA364D00ACD275 /* users_c.json */, - 44B072B51AEA364D00ACD275 /* users_company.json */, - 44B072B61AEA364D00ACD275 /* users_notes.json */, - 14A718561BB9370100E708E6 /* patients.json */, - ); - path = JSONs; - sourceTree = ""; - }; - 44B072C71AEA366B00ACD275 /* Models */ = { - isa = PBXGroup; - children = ( - 148517C11BC5C89B0061320B /* Bug125-simplified.xcdatamodeld */, - 14CF861D1BC2F98B001CF9C1 /* Bug125.xcdatamodeld */, - 44B072D91AEA36D300ACD275 /* Bug84.xcdatamodeld */, - 14584B021B7EE38600293841 /* Bug113.xcdatamodeld */, - 44B072C81AEA366B00ACD275 /* Contacts.xcdatamodeld */, - 44B072CA1AEA366B00ACD275 /* Markets.xcdatamodeld */, - 44B072CC1AEA366B00ACD275 /* Notes.xcdatamodeld */, - 446866991AFCBC870006A32B /* Organizations.xcdatamodeld */, - 44B072CE1AEA366B00ACD275 /* Recursive.xcdatamodeld */, - 44B072D01AEA366B00ACD275 /* Social.xcdatamodeld */, - B5A4E17F1AFB7E7D00A250F2 /* Unique.xcdatamodeld */, - 14A718531BB931A700E708E6 /* Patients.xcdatamodeld */, - ); - path = Models; - sourceTree = ""; - }; - 8D108A3917155A7C32CD56A4 /* Frameworks */ = { - isa = PBXGroup; - children = ( - F6C99E9E23EA886944E25CF9 /* Pods.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 14C418251A01919C00636FD6 /* Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 14C418341A01919C00636FD6 /* Build configuration list for PBXNativeTarget "Tests" */; - buildPhases = ( - 91BDE4BBBCEDFDF4378DB760 /* Check Pods Manifest.lock */, - 14C418221A01919C00636FD6 /* Sources */, - 14C418231A01919C00636FD6 /* Frameworks */, - 14C418241A01919C00636FD6 /* Resources */, - 252DF1D1C50771166A2129C1 /* Copy Pods Resources */, - FDDBE3F81E8E3170A95722FA /* Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Tests; - productName = DemoTests; - productReference = 14C418261A01919C00636FD6 /* Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 14C418121A01919C00636FD6 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0700; - ORGANIZATIONNAME = Hyper; - TargetAttributes = { - 14C418251A01919C00636FD6 = { - CreatedOnToolsVersion = 6.1; - }; - }; - }; - buildConfigurationList = 14C418151A01919C00636FD6 /* Build configuration list for PBXProject "Tests" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 14C418111A01919C00636FD6; - productRefGroup = 14C4181C1A01919C00636FD6 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 14C418251A01919C00636FD6 /* Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 14C418241A01919C00636FD6 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 44B072BD1AEA364D00ACD275 /* notes_for_user_a.json in Resources */, - 14B564731A06D87B00342CDA /* .travis.yml in Resources */, - 44B072C51AEA364D00ACD275 /* users_company.json in Resources */, - 14CF86211BC2FE2B001CF9C1 /* bug-125.json in Resources */, - 44B072BB1AEA364D00ACD275 /* images.json in Resources */, - 44B072BF1AEA364D00ACD275 /* numbers_in_collection.json in Resources */, - 14C4183D1A019A1500636FD6 /* LICENSE.md in Resources */, - 44B072C61AEA364D00ACD275 /* users_notes.json in Resources */, - 44B072C41AEA364D00ACD275 /* users_c.json in Resources */, - 44B072C01AEA364D00ACD275 /* stories-comments-no-ids.json in Resources */, - 44B072BA1AEA364D00ACD275 /* custom_relationship_key_to_one.json in Resources */, - 44B072C31AEA364D00ACD275 /* users_b.json in Resources */, - 44B072BE1AEA364D00ACD275 /* numbers.json in Resources */, - 14A718571BB9370100E708E6 /* patients.json in Resources */, - 44B072BC1AEA364D00ACD275 /* markets_items.json in Resources */, - 44B072C11AEA364D00ACD275 /* tagged_notes.json in Resources */, - 44B072C21AEA364D00ACD275 /* users_a.json in Resources */, - 14584B0A1B7EE53000293841 /* bug-113-custom_relationship_key_to_one.json in Resources */, - B5A4E1831AFB801C00A250F2 /* unique.json in Resources */, - 44B072B91AEA364D00ACD275 /* custom_relationship_key_to_many.json in Resources */, - 4468669D1AFCBC910006A32B /* organizations-tree.json in Resources */, - 14584B061B7EE4E900293841 /* bug-113-comments-no-id.json in Resources */, - 14F208251BC5887B00C31AC2 /* bug-125-light.json in Resources */, - 44B072B81AEA364D00ACD275 /* comments-no-id.json in Resources */, - 14C4183E1A019A1500636FD6 /* Sync.podspec in Resources */, - 14584B081B7EE50000293841 /* bug-113-stories-comments-no-ids.json in Resources */, - 44B072D81AEA36A700ACD275 /* bug-number-84.json in Resources */, - 14632D4F1BC4A3A4003E3168 /* story-summarize.json in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 252DF1D1C50771166A2129C1 /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 91BDE4BBBCEDFDF4378DB760 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - FDDBE3F81E8E3170A95722FA /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 14C418221A01919C00636FD6 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 44B072D21AEA366B00ACD275 /* Contacts.xcdatamodeld in Sources */, - 141603011BC32307007D0600 /* NSArray+Sync.m in Sources */, - 145F712E1BC3289200023F7B /* BaseTestCase.m in Sources */, - 14A718551BB931A700E708E6 /* Patients.xcdatamodeld in Sources */, - 446866981AFCBC7A0006A32B /* NSEntityDescription+Sync.m in Sources */, - 44B072D41AEA366B00ACD275 /* Notes.xcdatamodeld in Sources */, - 14CF861F1BC2F98B001CF9C1 /* Bug125.xcdatamodeld in Sources */, - 14584B041B7EE38600293841 /* Bug113.xcdatamodeld in Sources */, - 14B39D8E1A9BCCB300D3D01B /* Sync.m in Sources */, - 44B072DB1AEA36D300ACD275 /* Bug84.xcdatamodeld in Sources */, - 44B072D31AEA366B00ACD275 /* Markets.xcdatamodeld in Sources */, - 141603031BC32425007D0600 /* NSArray+Sync_Tests.m in Sources */, - 148517C31BC5C89B0061320B /* Bug125-simplified.xcdatamodeld in Sources */, - 14C4182E1A01919C00636FD6 /* SyncTests.m in Sources */, - 44B072D51AEA366B00ACD275 /* Recursive.xcdatamodeld in Sources */, - 44B072D61AEA366B00ACD275 /* Social.xcdatamodeld in Sources */, - B5A4E1811AFB7E7D00A250F2 /* Unique.xcdatamodeld in Sources */, - 4468669B1AFCBC870006A32B /* Organizations.xcdatamodeld in Sources */, - 14ADDF411AE434A100C389AD /* NSManagedObject+Sync.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 14C4182F1A01919C00636FD6 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_CODE_COVERAGE = NO; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_GENERATE_TEST_COVERAGE_FILES = NO; - GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 14C418301A01919C00636FD6 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_CODE_COVERAGE = NO; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = YES; - CURRENT_PROJECT_VERSION = 1; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_GENERATE_TEST_COVERAGE_FILES = NO; - GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 14C418351A01919C00636FD6 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 91F302F02821DE7BE3BF6336 /* Pods.debug.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 14C418361A01919C00636FD6 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7C067778DC962B70CDF74EA5 /* Pods.release.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ""; - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 14C418151A01919C00636FD6 /* Build configuration list for PBXProject "Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 14C4182F1A01919C00636FD6 /* Debug */, - 14C418301A01919C00636FD6 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 14C418341A01919C00636FD6 /* Build configuration list for PBXNativeTarget "Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 14C418351A01919C00636FD6 /* Debug */, - 14C418361A01919C00636FD6 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCVersionGroup section */ - 14584B021B7EE38600293841 /* Bug113.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 14584B031B7EE38600293841 /* Demo.xcdatamodel */, - ); - currentVersion = 14584B031B7EE38600293841 /* Demo.xcdatamodel */; - path = Bug113.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 148517C11BC5C89B0061320B /* Bug125-simplified.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 148517C21BC5C89B0061320B /* Demo.xcdatamodel */, - ); - currentVersion = 148517C21BC5C89B0061320B /* Demo.xcdatamodel */; - path = "Bug125-simplified.xcdatamodeld"; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 14A718531BB931A700E708E6 /* Patients.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 14A718541BB931A700E708E6 /* Demo.xcdatamodel */, - ); - currentVersion = 14A718541BB931A700E708E6 /* Demo.xcdatamodel */; - path = Patients.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 14CF861D1BC2F98B001CF9C1 /* Bug125.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 14CF861E1BC2F98B001CF9C1 /* Demo.xcdatamodel */, - ); - currentVersion = 14CF861E1BC2F98B001CF9C1 /* Demo.xcdatamodel */; - path = Bug125.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 446866991AFCBC870006A32B /* Organizations.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 4468669A1AFCBC870006A32B /* Organizations.xcdatamodel */, - ); - currentVersion = 4468669A1AFCBC870006A32B /* Organizations.xcdatamodel */; - path = Organizations.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 44B072C81AEA366B00ACD275 /* Contacts.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 44B072C91AEA366B00ACD275 /* Demo.xcdatamodel */, - ); - currentVersion = 44B072C91AEA366B00ACD275 /* Demo.xcdatamodel */; - path = Contacts.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 44B072CA1AEA366B00ACD275 /* Markets.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 44B072CB1AEA366B00ACD275 /* Demo.xcdatamodel */, - ); - currentVersion = 44B072CB1AEA366B00ACD275 /* Demo.xcdatamodel */; - path = Markets.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 44B072CC1AEA366B00ACD275 /* Notes.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 44B072CD1AEA366B00ACD275 /* Demo.xcdatamodel */, - ); - currentVersion = 44B072CD1AEA366B00ACD275 /* Demo.xcdatamodel */; - path = Notes.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 44B072CE1AEA366B00ACD275 /* Recursive.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 44B072CF1AEA366B00ACD275 /* Demo.xcdatamodel */, - ); - currentVersion = 44B072CF1AEA366B00ACD275 /* Demo.xcdatamodel */; - path = Recursive.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 44B072D01AEA366B00ACD275 /* Social.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 44B072D11AEA366B00ACD275 /* Demo.xcdatamodel */, - ); - currentVersion = 44B072D11AEA366B00ACD275 /* Demo.xcdatamodel */; - path = Social.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - 44B072D91AEA36D300ACD275 /* Bug84.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - 44B072DA1AEA36D300ACD275 /* Demo.xcdatamodel */, - ); - currentVersion = 44B072DA1AEA36D300ACD275 /* Demo.xcdatamodel */; - path = Bug84.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; - B5A4E17F1AFB7E7D00A250F2 /* Unique.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - B5A4E1801AFB7E7D00A250F2 /* Unique.xcdatamodel */, - ); - currentVersion = B5A4E1801AFB7E7D00A250F2 /* Unique.xcdatamodel */; - path = Unique.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; -/* End XCVersionGroup section */ - }; - rootObject = 14C418121A01919C00636FD6 /* Project object */; -}