diff --git a/.gitignore b/.gitignore index 33a6a59..c7aaca7 100644 --- a/.gitignore +++ b/.gitignore @@ -48,7 +48,7 @@ playground.xcworkspace # Carthage # # Add this line if you want to avoid checking in source code from Carthage dependencies. -# Carthage/Checkouts +Carthage/Checkouts Carthage/Build diff --git a/Cartfile b/Cartfile new file mode 100644 index 0000000..1ca46e0 --- /dev/null +++ b/Cartfile @@ -0,0 +1,3 @@ +github "ReactiveX/RxSwift" +github "RxSwiftCommunity/RxDataSources" +github "RxSwiftCommunity/RxRealm" diff --git a/Cartfile.resolved b/Cartfile.resolved new file mode 100644 index 0000000..82c966c --- /dev/null +++ b/Cartfile.resolved @@ -0,0 +1,5 @@ +github "ReactiveX/RxSwift" "4.4.0" +github "RxSwiftCommunity/RxDataSources" "3.1.0" +github "RxSwiftCommunity/RxRealm" "0.7.6" +github "RxSwiftCommunity/RxRealmDataSources" "0.2.10" +github "realm/realm-cocoa" "v3.11.1" diff --git a/Example/Podfile b/Example/Podfile index 1c01718..5a44156 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -5,7 +5,7 @@ abstract_target 'Demo' do pod 'RxSwift', '~> 4.0' pod 'RxCocoa', '~> 4.0' pod 'RxRealm', '~> 0.7.6' - pod 'RxRealmDataSources', :path => '../' + pod 'RxRealmDataSources' target 'RxRealmDataSources_Example' do platform :ios, '9.0' diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..3cdfe51 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,49 @@ +PODS: + - Realm (3.11.1): + - Realm/Headers (= 3.11.1) + - Realm/Headers (3.11.1) + - RealmSwift (3.11.1): + - Realm (= 3.11.1) + - RxAtomic (4.4.0) + - RxCocoa (4.4.0): + - RxSwift (~> 4.0) + - RxRealm (0.7.6): + - RealmSwift (~> 3.0) + - RxSwift (~> 4.0) + - RxRealmDataSources (0.2.10): + - RealmSwift (~> 3.10) + - RxCocoa (~> 4.0) + - RxRealm (~> 0.7.6) + - RxSwift (~> 4.0) + - RxSwift (4.4.0): + - RxAtomic (~> 4.4) + +DEPENDENCIES: + - RealmSwift (~> 3.11) + - RxCocoa (~> 4.0) + - RxRealm (~> 0.7.6) + - RxRealmDataSources + - RxSwift (~> 4.0) + +SPEC REPOS: + https://github.com/cocoapods/specs.git: + - Realm + - RealmSwift + - RxAtomic + - RxCocoa + - RxRealm + - RxRealmDataSources + - RxSwift + +SPEC CHECKSUMS: + Realm: 037c5919b9ceb59d6beed5d3b031096856b119b3 + RealmSwift: c9580133e73ef40ed340401af2dbc9a5790dfea7 + RxAtomic: eacf60db868c96bfd63320e28619fe29c179656f + RxCocoa: df63ebf7b9a70d6b4eeea407ed5dd4efc8979749 + RxRealm: 5379eddd74f8d617ca7681d1f8d144af25b432b0 + RxRealmDataSources: 89b61c0d3edf7769da2a6bf4dcf317bc713394db + RxSwift: 5976ecd04fc2fefd648827c23de5e11157faa973 + +PODFILE CHECKSUM: a3180491ccbeabcb907d3fdf5ac86fc27095ec4e + +COCOAPODS: 1.5.3 diff --git a/Example/RxRealmDataSources.xcodeproj/project.pbxproj b/Example/RxRealmDataSources.xcodeproj/project.pbxproj index 1774c79..90a2cb7 100644 --- a/Example/RxRealmDataSources.xcodeproj/project.pbxproj +++ b/Example/RxRealmDataSources.xcodeproj/project.pbxproj @@ -427,6 +427,7 @@ "${SRCROOT}/Pods/Target Support Files/Pods-Demo-RxRealmDataSources_MacExample/Pods-Demo-RxRealmDataSources_MacExample-frameworks.sh", "${BUILT_PRODUCTS_DIR}/Realm-macOS/Realm.framework", "${BUILT_PRODUCTS_DIR}/RealmSwift-macOS/RealmSwift.framework", + "${BUILT_PRODUCTS_DIR}/RxAtomic-macOS/RxAtomic.framework", "${BUILT_PRODUCTS_DIR}/RxCocoa-macOS/RxCocoa.framework", "${BUILT_PRODUCTS_DIR}/RxRealm-macOS/RxRealm.framework", "${BUILT_PRODUCTS_DIR}/RxRealmDataSources-macOS/RxRealmDataSources.framework", @@ -436,6 +437,7 @@ outputPaths = ( "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxAtomic.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRealm.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRealmDataSources.framework", @@ -455,6 +457,7 @@ "${SRCROOT}/Pods/Target Support Files/Pods-Demo-RxRealmDataSources_Example/Pods-Demo-RxRealmDataSources_Example-frameworks.sh", "${BUILT_PRODUCTS_DIR}/Realm-iOS/Realm.framework", "${BUILT_PRODUCTS_DIR}/RealmSwift-iOS/RealmSwift.framework", + "${BUILT_PRODUCTS_DIR}/RxAtomic-iOS/RxAtomic.framework", "${BUILT_PRODUCTS_DIR}/RxCocoa-iOS/RxCocoa.framework", "${BUILT_PRODUCTS_DIR}/RxRealm-iOS/RxRealm.framework", "${BUILT_PRODUCTS_DIR}/RxRealmDataSources-iOS/RxRealmDataSources.framework", @@ -464,6 +467,7 @@ outputPaths = ( "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxAtomic.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRealm.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRealmDataSources.framework", diff --git a/Example/RxRealmDataSources.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/RxRealmDataSources.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/RxRealmDataSources.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/RxRealmDataSources/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/RxRealmDataSources/Images.xcassets/AppIcon.appiconset/Contents.json index d3942e9..19882d5 100644 --- a/Example/RxRealmDataSources/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/RxRealmDataSources/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", @@ -29,10 +39,15 @@ "idiom" : "iphone", "size" : "60x60", "scale" : "3x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" } ], "info" : { "version" : 1, "author" : "xcode" } -} +} \ No newline at end of file diff --git a/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.pbxproj b/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.pbxproj new file mode 100644 index 0000000..435f42e --- /dev/null +++ b/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.pbxproj @@ -0,0 +1,436 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + F97B00102195E1F20093113C /* Differentiator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97B00002195E1EB0093113C /* Differentiator.framework */; }; + F97B00112195E1F20093113C /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97B00052195E1EB0093113C /* Realm.framework */; }; + F97B00122195E1F20093113C /* RealmSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97B00032195E1EB0093113C /* RealmSwift.framework */; }; + F97B00132195E1F20093113C /* RxAtomic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97B00042195E1EB0093113C /* RxAtomic.framework */; }; + F97B00142195E1F20093113C /* RxBlocking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97B00022195E1EB0093113C /* RxBlocking.framework */; }; + F97B00152195E1F20093113C /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97BFFFE2195E1EB0093113C /* RxCocoa.framework */; }; + F97B00162195E1F20093113C /* RxDataSources.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97BFFFC2195E1EB0093113C /* RxDataSources.framework */; }; + F97B00172195E1F20093113C /* RxRealm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97B00012195E1EB0093113C /* RxRealm.framework */; }; + F97B00182195E1F20093113C /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97BFFFF2195E1EB0093113C /* RxSwift.framework */; }; + F97BFFD72195DD890093113C /* RxRealmDataSources.h in Headers */ = {isa = PBXBuildFile; fileRef = F97BFFD52195DD890093113C /* RxRealmDataSources.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F97BFFE22195DDA00093113C /* RxTableViewRealmDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = F97BFFDE2195DDA00093113C /* RxTableViewRealmDataSource.swift */; }; + F97BFFE32195DDA00093113C /* RxCollectionViewRealmDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = F97BFFDF2195DDA00093113C /* RxCollectionViewRealmDataSource.swift */; }; + F97BFFE42195DDA00093113C /* Reactive+RxRealmDataSources.swift in Sources */ = {isa = PBXBuildFile; fileRef = F97BFFE02195DDA00093113C /* Reactive+RxRealmDataSources.swift */; }; + F97BFFE52195DDA00093113C /* RealmBindObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = F97BFFE12195DDA00093113C /* RealmBindObserver.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + F97B00002195E1EB0093113C /* Differentiator.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Differentiator.framework; path = ../../Carthage/Build/iOS/Differentiator.framework; sourceTree = ""; }; + F97B00012195E1EB0093113C /* RxRealm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxRealm.framework; path = ../../Carthage/Build/iOS/RxRealm.framework; sourceTree = ""; }; + F97B00022195E1EB0093113C /* RxBlocking.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxBlocking.framework; path = ../../Carthage/Build/iOS/RxBlocking.framework; sourceTree = ""; }; + F97B00032195E1EB0093113C /* RealmSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RealmSwift.framework; path = ../../Carthage/Build/iOS/RealmSwift.framework; sourceTree = ""; }; + F97B00042195E1EB0093113C /* RxAtomic.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxAtomic.framework; path = ../../Carthage/Build/iOS/RxAtomic.framework; sourceTree = ""; }; + F97B00052195E1EB0093113C /* Realm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Realm.framework; path = ../../Carthage/Build/iOS/Realm.framework; sourceTree = ""; }; + F97BFFD22195DD890093113C /* RxRealmDataSources.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RxRealmDataSources.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F97BFFD52195DD890093113C /* RxRealmDataSources.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RxRealmDataSources.h; sourceTree = ""; }; + F97BFFD62195DD890093113C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + F97BFFDE2195DDA00093113C /* RxTableViewRealmDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RxTableViewRealmDataSource.swift; sourceTree = ""; }; + F97BFFDF2195DDA00093113C /* RxCollectionViewRealmDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RxCollectionViewRealmDataSource.swift; sourceTree = ""; }; + F97BFFE02195DDA00093113C /* Reactive+RxRealmDataSources.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Reactive+RxRealmDataSources.swift"; sourceTree = ""; }; + F97BFFE12195DDA00093113C /* RealmBindObserver.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealmBindObserver.swift; sourceTree = ""; }; + F97BFFE72195E1D70093113C /* RealmSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RealmSwift.framework; path = ../Carthage/Build/iOS/RealmSwift.framework; sourceTree = ""; }; + F97BFFE82195E1D70093113C /* RxDataSources.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxDataSources.framework; path = ../Carthage/Build/iOS/RxDataSources.framework; sourceTree = ""; }; + F97BFFE92195E1D70093113C /* RxRealm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxRealm.framework; path = ../Carthage/Build/iOS/RxRealm.framework; sourceTree = ""; }; + F97BFFEA2195E1D70093113C /* Differentiator.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Differentiator.framework; path = ../Carthage/Build/iOS/Differentiator.framework; sourceTree = ""; }; + F97BFFEB2195E1D70093113C /* RxAtomic.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxAtomic.framework; path = ../Carthage/Build/iOS/RxAtomic.framework; sourceTree = ""; }; + F97BFFEC2195E1D70093113C /* RxBlocking.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxBlocking.framework; path = ../Carthage/Build/iOS/RxBlocking.framework; sourceTree = ""; }; + F97BFFED2195E1D70093113C /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = ../Carthage/Build/iOS/RxSwift.framework; sourceTree = ""; }; + F97BFFEE2195E1D70093113C /* RxTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxTest.framework; path = ../Carthage/Build/iOS/RxTest.framework; sourceTree = ""; }; + F97BFFEF2195E1D70093113C /* RxCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxCocoa.framework; path = ../Carthage/Build/iOS/RxCocoa.framework; sourceTree = ""; }; + F97BFFF02195E1D70093113C /* Realm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Realm.framework; path = ../Carthage/Build/iOS/Realm.framework; sourceTree = ""; }; + F97BFFFC2195E1EB0093113C /* RxDataSources.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxDataSources.framework; path = ../../Carthage/Build/iOS/RxDataSources.framework; sourceTree = ""; }; + F97BFFFE2195E1EB0093113C /* RxCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxCocoa.framework; path = ../../Carthage/Build/iOS/RxCocoa.framework; sourceTree = ""; }; + F97BFFFF2195E1EB0093113C /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = ../../Carthage/Build/iOS/RxSwift.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + F97BFFCF2195DD890093113C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + F97B00102195E1F20093113C /* Differentiator.framework in Frameworks */, + F97B00112195E1F20093113C /* Realm.framework in Frameworks */, + F97B00122195E1F20093113C /* RealmSwift.framework in Frameworks */, + F97B00132195E1F20093113C /* RxAtomic.framework in Frameworks */, + F97B00142195E1F20093113C /* RxBlocking.framework in Frameworks */, + F97B00152195E1F20093113C /* RxCocoa.framework in Frameworks */, + F97B00162195E1F20093113C /* RxDataSources.framework in Frameworks */, + F97B00172195E1F20093113C /* RxRealm.framework in Frameworks */, + F97B00182195E1F20093113C /* RxSwift.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + F97BFFC82195DD890093113C = { + isa = PBXGroup; + children = ( + F97BFFFB2195E1E20093113C /* Frameworks */, + F97BFFDD2195DDA00093113C /* Classes */, + F97BFFD42195DD890093113C /* RxRealmDataSources */, + F97BFFD32195DD890093113C /* Products */, + F97BFFE62195E1D70093113C /* Frameworks */, + ); + sourceTree = ""; + }; + F97BFFD32195DD890093113C /* Products */ = { + isa = PBXGroup; + children = ( + F97BFFD22195DD890093113C /* RxRealmDataSources.framework */, + ); + name = Products; + sourceTree = ""; + }; + F97BFFD42195DD890093113C /* RxRealmDataSources */ = { + isa = PBXGroup; + children = ( + F97BFFD52195DD890093113C /* RxRealmDataSources.h */, + F97BFFD62195DD890093113C /* Info.plist */, + ); + path = RxRealmDataSources; + sourceTree = ""; + }; + F97BFFDD2195DDA00093113C /* Classes */ = { + isa = PBXGroup; + children = ( + F97BFFDE2195DDA00093113C /* RxTableViewRealmDataSource.swift */, + F97BFFDF2195DDA00093113C /* RxCollectionViewRealmDataSource.swift */, + F97BFFE02195DDA00093113C /* Reactive+RxRealmDataSources.swift */, + F97BFFE12195DDA00093113C /* RealmBindObserver.swift */, + ); + name = Classes; + path = ../Pod/Classes; + sourceTree = ""; + }; + F97BFFE62195E1D70093113C /* Frameworks */ = { + isa = PBXGroup; + children = ( + F97BFFEA2195E1D70093113C /* Differentiator.framework */, + F97BFFF02195E1D70093113C /* Realm.framework */, + F97BFFE72195E1D70093113C /* RealmSwift.framework */, + F97BFFEB2195E1D70093113C /* RxAtomic.framework */, + F97BFFEC2195E1D70093113C /* RxBlocking.framework */, + F97BFFEF2195E1D70093113C /* RxCocoa.framework */, + F97BFFE82195E1D70093113C /* RxDataSources.framework */, + F97BFFE92195E1D70093113C /* RxRealm.framework */, + F97BFFED2195E1D70093113C /* RxSwift.framework */, + F97BFFEE2195E1D70093113C /* RxTest.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + F97BFFFB2195E1E20093113C /* Frameworks */ = { + isa = PBXGroup; + children = ( + F97B00002195E1EB0093113C /* Differentiator.framework */, + F97B00052195E1EB0093113C /* Realm.framework */, + F97B00032195E1EB0093113C /* RealmSwift.framework */, + F97B00042195E1EB0093113C /* RxAtomic.framework */, + F97B00022195E1EB0093113C /* RxBlocking.framework */, + F97BFFFE2195E1EB0093113C /* RxCocoa.framework */, + F97BFFFC2195E1EB0093113C /* RxDataSources.framework */, + F97B00012195E1EB0093113C /* RxRealm.framework */, + F97BFFFF2195E1EB0093113C /* RxSwift.framework */, + ); + path = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + F97BFFCD2195DD890093113C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F97BFFD72195DD890093113C /* RxRealmDataSources.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + F97BFFD12195DD890093113C /* RxRealmDataSources */ = { + isa = PBXNativeTarget; + buildConfigurationList = F97BFFDA2195DD890093113C /* Build configuration list for PBXNativeTarget "RxRealmDataSources" */; + buildPhases = ( + F97BFFCD2195DD890093113C /* Headers */, + F97BFFCE2195DD890093113C /* Sources */, + F97BFFCF2195DD890093113C /* Frameworks */, + F97BFFD02195DD890093113C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = RxRealmDataSources; + productName = RxRealmDataSources; + productReference = F97BFFD22195DD890093113C /* RxRealmDataSources.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + F97BFFC92195DD890093113C /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1010; + ORGANIZATIONNAME = RxSwiftCommunity; + TargetAttributes = { + F97BFFD12195DD890093113C = { + CreatedOnToolsVersion = 10.1; + }; + }; + }; + buildConfigurationList = F97BFFCC2195DD890093113C /* Build configuration list for PBXProject "RxRealmDataSources" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = F97BFFC82195DD890093113C; + productRefGroup = F97BFFD32195DD890093113C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + F97BFFD12195DD890093113C /* RxRealmDataSources */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + F97BFFD02195DD890093113C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + F97BFFCE2195DD890093113C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F97BFFE52195DDA00093113C /* RealmBindObserver.swift in Sources */, + F97BFFE42195DDA00093113C /* Reactive+RxRealmDataSources.swift in Sources */, + F97BFFE22195DDA00093113C /* RxTableViewRealmDataSource.swift in Sources */, + F97BFFE32195DDA00093113C /* RxCollectionViewRealmDataSource.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + F97BFFD82195DD890093113C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/../Carthage/Build/iOS\""; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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 = 12.1; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + F97BFFD92195DD890093113C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/../Carthage/Build/iOS\""; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + 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 = 12.1; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + F97BFFDB2195DD890093113C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = RxRealmDataSources/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = RxSwiftCommunity.RxRealmDataSources; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + F97BFFDC2195DD890093113C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = RxRealmDataSources/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = RxSwiftCommunity.RxRealmDataSources; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + F97BFFCC2195DD890093113C /* Build configuration list for PBXProject "RxRealmDataSources" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F97BFFD82195DD890093113C /* Debug */, + F97BFFD92195DD890093113C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F97BFFDA2195DD890093113C /* Build configuration list for PBXNativeTarget "RxRealmDataSources" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F97BFFDB2195DD890093113C /* Debug */, + F97BFFDC2195DD890093113C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = F97BFFC92195DD890093113C /* Project object */; +} diff --git a/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..45db376 --- /dev/null +++ b/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/RxRealmDataSources/RxRealmDataSources.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/RxRealmDataSources/RxRealmDataSources.xcodeproj/xcshareddata/xcschemes/RxRealmDataSources.xcscheme b/RxRealmDataSources/RxRealmDataSources.xcodeproj/xcshareddata/xcschemes/RxRealmDataSources.xcscheme new file mode 100644 index 0000000..b4ca520 --- /dev/null +++ b/RxRealmDataSources/RxRealmDataSources.xcodeproj/xcshareddata/xcschemes/RxRealmDataSources.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/RxRealmDataSources/RxRealmDataSources/Info.plist b/RxRealmDataSources/RxRealmDataSources/Info.plist new file mode 100644 index 0000000..e1fe4cf --- /dev/null +++ b/RxRealmDataSources/RxRealmDataSources/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/RxRealmDataSources/RxRealmDataSources/RxRealmDataSources.h b/RxRealmDataSources/RxRealmDataSources/RxRealmDataSources.h new file mode 100644 index 0000000..481e5e0 --- /dev/null +++ b/RxRealmDataSources/RxRealmDataSources/RxRealmDataSources.h @@ -0,0 +1,19 @@ +// +// RxRealmDataSources.h +// RxRealmDataSources +// +// Created by Pierre Perrin on 09/11/2018. +// Copyright © 2018 RxSwiftCommunity. All rights reserved. +// + +#import + +//! Project version number for RxRealmDataSources. +FOUNDATION_EXPORT double RxRealmDataSourcesVersionNumber; + +//! Project version string for RxRealmDataSources. +FOUNDATION_EXPORT const unsigned char RxRealmDataSourcesVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +