diff --git a/MDBSocials.xcodeproj/project.pbxproj b/MDBSocials.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1eabcf3 --- /dev/null +++ b/MDBSocials.xcodeproj/project.pbxproj @@ -0,0 +1,687 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 151AEDF61DA5A41F006FD875 /* EventTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 151AEDF51DA5A41F006FD875 /* EventTableViewCell.swift */; }; + 151AEDF81DA5AFA9006FD875 /* CreateEventViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 151AEDF71DA5AFA9006FD875 /* CreateEventViewController.swift */; }; + 152094A61DBAB0F700991C5E /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152094A51DBAB0F700991C5E /* User.swift */; }; + 152094A81DBACA4700991C5E /* EventTableViewCellDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152094A71DBACA4700991C5E /* EventTableViewCellDelegate.swift */; }; + 152094AA1DBACBF400991C5E /* MDBSocialsUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152094A91DBACBF400991C5E /* MDBSocialsUtils.swift */; }; + 1526B3101DAF62A200C153C0 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1526B30F1DAF62A200C153C0 /* GoogleService-Info.plist */; }; + 1528DC211DADD327000BE7D7 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1528DC201DADD327000BE7D7 /* Constants.swift */; }; + 152F0AE21DA2454C00CB7D34 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0AE11DA2454C00CB7D34 /* AppDelegate.swift */; }; + 152F0AE41DA2454C00CB7D34 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0AE31DA2454C00CB7D34 /* ViewController.swift */; }; + 152F0AE71DA2454C00CB7D34 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 152F0AE51DA2454C00CB7D34 /* Main.storyboard */; }; + 152F0AE91DA2454C00CB7D34 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 152F0AE81DA2454C00CB7D34 /* Assets.xcassets */; }; + 152F0AEC1DA2454C00CB7D34 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 152F0AEA1DA2454C00CB7D34 /* LaunchScreen.storyboard */; }; + 152F0AF71DA2454C00CB7D34 /* MDBSocialsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0AF61DA2454C00CB7D34 /* MDBSocialsTests.swift */; }; + 152F0B021DA2454C00CB7D34 /* MDBSocialsUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0B011DA2454C00CB7D34 /* MDBSocialsUITests.swift */; }; + 152F0B141DA393B700CB7D34 /* LoginViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0B131DA393B700CB7D34 /* LoginViewController.swift */; }; + 152F0B161DA3942C00CB7D34 /* SignupViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0B151DA3942C00CB7D34 /* SignupViewController.swift */; }; + 152F0B1F1DA4C07E00CB7D34 /* FeedViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152F0B1E1DA4C07E00CB7D34 /* FeedViewController.swift */; }; + 1544CFBC1DB0939C0004C424 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1544CFBB1DB0939C0004C424 /* Event.swift */; }; + 40B8662B4D846F5E0940E654 /* libPods-MDBSocials.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CE170A06BEFCF6798623FF80 /* libPods-MDBSocials.a */; }; + 8B4351D31DB9E5690023F0FB /* ModalViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B4351D21DB9E5690023F0FB /* ModalViewController.swift */; }; + 8B4351D51DB9EEBE0023F0FB /* DisplayNameTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B4351D41DB9EEBE0023F0FB /* DisplayNameTableViewCell.swift */; }; + 8BA986351DB09ABA00870C77 /* BEBAS___.TTF in Resources */ = {isa = PBXBuildFile; fileRef = 1544CFBA1DB07C1D0004C424 /* BEBAS___.TTF */; }; + 8BE4B3DC1DAE249E00248437 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BE4B3DB1DAE249E00248437 /* DetailViewController.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 152F0AF31DA2454C00CB7D34 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 152F0AD61DA2454C00CB7D34 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 152F0ADD1DA2454C00CB7D34; + remoteInfo = MDBSocials; + }; + 152F0AFE1DA2454C00CB7D34 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 152F0AD61DA2454C00CB7D34 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 152F0ADD1DA2454C00CB7D34; + remoteInfo = MDBSocials; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 151AEDF51DA5A41F006FD875 /* EventTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventTableViewCell.swift; sourceTree = ""; }; + 151AEDF71DA5AFA9006FD875 /* CreateEventViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CreateEventViewController.swift; sourceTree = ""; }; + 152094A51DBAB0F700991C5E /* User.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = ""; }; + 152094A71DBACA4700991C5E /* EventTableViewCellDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventTableViewCellDelegate.swift; sourceTree = ""; }; + 152094A91DBACBF400991C5E /* MDBSocialsUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MDBSocialsUtils.swift; sourceTree = ""; }; + 1526B30F1DAF62A200C153C0 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; + 1528DC201DADD327000BE7D7 /* Constants.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; }; + 152F0ADE1DA2454C00CB7D34 /* MDBSocials.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MDBSocials.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 152F0AE11DA2454C00CB7D34 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 152F0AE31DA2454C00CB7D34 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 152F0AE61DA2454C00CB7D34 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 152F0AE81DA2454C00CB7D34 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 152F0AEB1DA2454C00CB7D34 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 152F0AED1DA2454C00CB7D34 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 152F0AF21DA2454C00CB7D34 /* MDBSocialsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MDBSocialsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 152F0AF61DA2454C00CB7D34 /* MDBSocialsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MDBSocialsTests.swift; sourceTree = ""; }; + 152F0AF81DA2454C00CB7D34 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 152F0AFD1DA2454C00CB7D34 /* MDBSocialsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MDBSocialsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 152F0B011DA2454C00CB7D34 /* MDBSocialsUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MDBSocialsUITests.swift; sourceTree = ""; }; + 152F0B031DA2454C00CB7D34 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 152F0B131DA393B700CB7D34 /* LoginViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoginViewController.swift; sourceTree = ""; }; + 152F0B151DA3942C00CB7D34 /* SignupViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignupViewController.swift; sourceTree = ""; }; + 152F0B1D1DA4BBD400CB7D34 /* MDBSocials.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = MDBSocials.entitlements; sourceTree = ""; }; + 152F0B1E1DA4C07E00CB7D34 /* FeedViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeedViewController.swift; sourceTree = ""; }; + 1544CFBA1DB07C1D0004C424 /* BEBAS___.TTF */ = {isa = PBXFileReference; lastKnownFileType = file; path = "BEBAS___.TTF"; sourceTree = ""; }; + 1544CFBB1DB0939C0004C424 /* Event.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; + 8B4351D21DB9E5690023F0FB /* ModalViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ModalViewController.swift; sourceTree = ""; }; + 8B4351D41DB9EEBE0023F0FB /* DisplayNameTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DisplayNameTableViewCell.swift; sourceTree = ""; }; + 8BE4B3DB1DAE249E00248437 /* DetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DetailViewController.swift; sourceTree = ""; }; + CE170A06BEFCF6798623FF80 /* libPods-MDBSocials.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-MDBSocials.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + DA34923A6B3B759E79C98A89 /* Pods-MDBSocials.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MDBSocials.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.debug.xcconfig"; sourceTree = ""; }; + F90091B7045A153976FE4541 /* Pods-MDBSocials.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MDBSocials.release.xcconfig"; path = "Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 152F0ADB1DA2454C00CB7D34 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 40B8662B4D846F5E0940E654 /* libPods-MDBSocials.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 152F0AEF1DA2454C00CB7D34 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 152F0AFA1DA2454C00CB7D34 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 152F0AD51DA2454C00CB7D34 = { + isa = PBXGroup; + children = ( + 152F0AE01DA2454C00CB7D34 /* MDBSocials */, + 152F0AF51DA2454C00CB7D34 /* MDBSocialsTests */, + 152F0B001DA2454C00CB7D34 /* MDBSocialsUITests */, + 152F0ADF1DA2454C00CB7D34 /* Products */, + F4135069E1524256C7C1F3BA /* Pods */, + D6437970FB097774CABB5D01 /* Frameworks */, + ); + sourceTree = ""; + }; + 152F0ADF1DA2454C00CB7D34 /* Products */ = { + isa = PBXGroup; + children = ( + 152F0ADE1DA2454C00CB7D34 /* MDBSocials.app */, + 152F0AF21DA2454C00CB7D34 /* MDBSocialsTests.xctest */, + 152F0AFD1DA2454C00CB7D34 /* MDBSocialsUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 152F0AE01DA2454C00CB7D34 /* MDBSocials */ = { + isa = PBXGroup; + children = ( + 1544CFBA1DB07C1D0004C424 /* BEBAS___.TTF */, + 152F0B1D1DA4BBD400CB7D34 /* MDBSocials.entitlements */, + 152F0AE11DA2454C00CB7D34 /* AppDelegate.swift */, + 152F0AE31DA2454C00CB7D34 /* ViewController.swift */, + 152F0AE51DA2454C00CB7D34 /* Main.storyboard */, + 152F0AE81DA2454C00CB7D34 /* Assets.xcassets */, + 152F0B131DA393B700CB7D34 /* LoginViewController.swift */, + 152F0B1E1DA4C07E00CB7D34 /* FeedViewController.swift */, + 151AEDF71DA5AFA9006FD875 /* CreateEventViewController.swift */, + 1528DC201DADD327000BE7D7 /* Constants.swift */, + 1544CFBB1DB0939C0004C424 /* Event.swift */, + 151AEDF51DA5A41F006FD875 /* EventTableViewCell.swift */, + 152094A71DBACA4700991C5E /* EventTableViewCellDelegate.swift */, + 1526B30F1DAF62A200C153C0 /* GoogleService-Info.plist */, + 152F0AEA1DA2454C00CB7D34 /* LaunchScreen.storyboard */, + 152F0B151DA3942C00CB7D34 /* SignupViewController.swift */, + 8BE4B3DB1DAE249E00248437 /* DetailViewController.swift */, + 152094A91DBACBF400991C5E /* MDBSocialsUtils.swift */, + 152094A51DBAB0F700991C5E /* User.swift */, + 8B4351D21DB9E5690023F0FB /* ModalViewController.swift */, + 8B4351D41DB9EEBE0023F0FB /* DisplayNameTableViewCell.swift */, + 152F0AED1DA2454C00CB7D34 /* Info.plist */, + ); + path = MDBSocials; + sourceTree = ""; + }; + 152F0AF51DA2454C00CB7D34 /* MDBSocialsTests */ = { + isa = PBXGroup; + children = ( + 152F0AF61DA2454C00CB7D34 /* MDBSocialsTests.swift */, + 152F0AF81DA2454C00CB7D34 /* Info.plist */, + ); + path = MDBSocialsTests; + sourceTree = ""; + }; + 152F0B001DA2454C00CB7D34 /* MDBSocialsUITests */ = { + isa = PBXGroup; + children = ( + 152F0B011DA2454C00CB7D34 /* MDBSocialsUITests.swift */, + 152F0B031DA2454C00CB7D34 /* Info.plist */, + ); + path = MDBSocialsUITests; + sourceTree = ""; + }; + D6437970FB097774CABB5D01 /* Frameworks */ = { + isa = PBXGroup; + children = ( + CE170A06BEFCF6798623FF80 /* libPods-MDBSocials.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + F4135069E1524256C7C1F3BA /* Pods */ = { + isa = PBXGroup; + children = ( + DA34923A6B3B759E79C98A89 /* Pods-MDBSocials.debug.xcconfig */, + F90091B7045A153976FE4541 /* Pods-MDBSocials.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 152F0ADD1DA2454C00CB7D34 /* MDBSocials */ = { + isa = PBXNativeTarget; + buildConfigurationList = 152F0B061DA2454C00CB7D34 /* Build configuration list for PBXNativeTarget "MDBSocials" */; + buildPhases = ( + F6952C47761D47649A8D1A41 /* [CP] Check Pods Manifest.lock */, + 152F0ADA1DA2454C00CB7D34 /* Sources */, + 152F0ADB1DA2454C00CB7D34 /* Frameworks */, + 152F0ADC1DA2454C00CB7D34 /* Resources */, + DF73E7C7399152748A9EB566 /* [CP] Embed Pods Frameworks */, + 903C2208985887C204059136 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MDBSocials; + productName = MDBSocials; + productReference = 152F0ADE1DA2454C00CB7D34 /* MDBSocials.app */; + productType = "com.apple.product-type.application"; + }; + 152F0AF11DA2454C00CB7D34 /* MDBSocialsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 152F0B091DA2454C00CB7D34 /* Build configuration list for PBXNativeTarget "MDBSocialsTests" */; + buildPhases = ( + 152F0AEE1DA2454C00CB7D34 /* Sources */, + 152F0AEF1DA2454C00CB7D34 /* Frameworks */, + 152F0AF01DA2454C00CB7D34 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 152F0AF41DA2454C00CB7D34 /* PBXTargetDependency */, + ); + name = MDBSocialsTests; + productName = MDBSocialsTests; + productReference = 152F0AF21DA2454C00CB7D34 /* MDBSocialsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 152F0AFC1DA2454C00CB7D34 /* MDBSocialsUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 152F0B0C1DA2454C00CB7D34 /* Build configuration list for PBXNativeTarget "MDBSocialsUITests" */; + buildPhases = ( + 152F0AF91DA2454C00CB7D34 /* Sources */, + 152F0AFA1DA2454C00CB7D34 /* Frameworks */, + 152F0AFB1DA2454C00CB7D34 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 152F0AFF1DA2454C00CB7D34 /* PBXTargetDependency */, + ); + name = MDBSocialsUITests; + productName = MDBSocialsUITests; + productReference = 152F0AFD1DA2454C00CB7D34 /* MDBSocialsUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 152F0AD61DA2454C00CB7D34 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0800; + LastUpgradeCheck = 0800; + ORGANIZATIONNAME = "Eliot Han"; + TargetAttributes = { + 152F0ADD1DA2454C00CB7D34 = { + CreatedOnToolsVersion = 8.0; + DevelopmentTeam = 5KB7MTX8J4; + LastSwiftMigration = 0800; + ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.Keychain = { + enabled = 1; + }; + }; + }; + 152F0AF11DA2454C00CB7D34 = { + CreatedOnToolsVersion = 8.0; + LastSwiftMigration = 0800; + ProvisioningStyle = Automatic; + TestTargetID = 152F0ADD1DA2454C00CB7D34; + }; + 152F0AFC1DA2454C00CB7D34 = { + CreatedOnToolsVersion = 8.0; + LastSwiftMigration = 0800; + ProvisioningStyle = Automatic; + TestTargetID = 152F0ADD1DA2454C00CB7D34; + }; + }; + }; + buildConfigurationList = 152F0AD91DA2454C00CB7D34 /* Build configuration list for PBXProject "MDBSocials" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 152F0AD51DA2454C00CB7D34; + productRefGroup = 152F0ADF1DA2454C00CB7D34 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 152F0ADD1DA2454C00CB7D34 /* MDBSocials */, + 152F0AF11DA2454C00CB7D34 /* MDBSocialsTests */, + 152F0AFC1DA2454C00CB7D34 /* MDBSocialsUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 152F0ADC1DA2454C00CB7D34 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 152F0AEC1DA2454C00CB7D34 /* LaunchScreen.storyboard in Resources */, + 152F0AE91DA2454C00CB7D34 /* Assets.xcassets in Resources */, + 1526B3101DAF62A200C153C0 /* GoogleService-Info.plist in Resources */, + 8BA986351DB09ABA00870C77 /* BEBAS___.TTF in Resources */, + 152F0AE71DA2454C00CB7D34 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 152F0AF01DA2454C00CB7D34 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 152F0AFB1DA2454C00CB7D34 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 903C2208985887C204059136 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + DF73E7C7399152748A9EB566 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + F6952C47761D47649A8D1A41 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] 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; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 152F0ADA1DA2454C00CB7D34 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8BE4B3DC1DAE249E00248437 /* DetailViewController.swift in Sources */, + 152094AA1DBACBF400991C5E /* MDBSocialsUtils.swift in Sources */, + 151AEDF61DA5A41F006FD875 /* EventTableViewCell.swift in Sources */, + 152F0B141DA393B700CB7D34 /* LoginViewController.swift in Sources */, + 8B4351D31DB9E5690023F0FB /* ModalViewController.swift in Sources */, + 152F0AE41DA2454C00CB7D34 /* ViewController.swift in Sources */, + 1544CFBC1DB0939C0004C424 /* Event.swift in Sources */, + 151AEDF81DA5AFA9006FD875 /* CreateEventViewController.swift in Sources */, + 8B4351D51DB9EEBE0023F0FB /* DisplayNameTableViewCell.swift in Sources */, + 152F0B1F1DA4C07E00CB7D34 /* FeedViewController.swift in Sources */, + 152094A61DBAB0F700991C5E /* User.swift in Sources */, + 152F0B161DA3942C00CB7D34 /* SignupViewController.swift in Sources */, + 152F0AE21DA2454C00CB7D34 /* AppDelegate.swift in Sources */, + 152094A81DBACA4700991C5E /* EventTableViewCellDelegate.swift in Sources */, + 1528DC211DADD327000BE7D7 /* Constants.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 152F0AEE1DA2454C00CB7D34 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 152F0AF71DA2454C00CB7D34 /* MDBSocialsTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 152F0AF91DA2454C00CB7D34 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 152F0B021DA2454C00CB7D34 /* MDBSocialsUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 152F0AF41DA2454C00CB7D34 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 152F0ADD1DA2454C00CB7D34 /* MDBSocials */; + targetProxy = 152F0AF31DA2454C00CB7D34 /* PBXContainerItemProxy */; + }; + 152F0AFF1DA2454C00CB7D34 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 152F0ADD1DA2454C00CB7D34 /* MDBSocials */; + targetProxy = 152F0AFE1DA2454C00CB7D34 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 152F0AE51DA2454C00CB7D34 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 152F0AE61DA2454C00CB7D34 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 152F0AEA1DA2454C00CB7D34 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 152F0AEB1DA2454C00CB7D34 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 152F0B041DA2454C00CB7D34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_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_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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 = 10.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 152F0B051DA2454C00CB7D34 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_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_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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 = 10.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 152F0B071DA2454C00CB7D34 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DA34923A6B3B759E79C98A89 /* Pods-MDBSocials.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = MDBSocials/MDBSocials.entitlements; + DEVELOPMENT_TEAM = 5KB7MTX8J4; + INFOPLIST_FILE = MDBSocials/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.eliothan.MDBSocials; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 152F0B081DA2454C00CB7D34 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F90091B7045A153976FE4541 /* Pods-MDBSocials.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = MDBSocials/MDBSocials.entitlements; + DEVELOPMENT_TEAM = 5KB7MTX8J4; + INFOPLIST_FILE = MDBSocials/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.eliothan.MDBSocials; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; + 152F0B0A1DA2454C00CB7D34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = MDBSocialsTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.eliothan.MDBSocialsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MDBSocials.app/MDBSocials"; + }; + name = Debug; + }; + 152F0B0B1DA2454C00CB7D34 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = MDBSocialsTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.eliothan.MDBSocialsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MDBSocials.app/MDBSocials"; + }; + name = Release; + }; + 152F0B0D1DA2454C00CB7D34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + INFOPLIST_FILE = MDBSocialsUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.eliothan.MDBSocialsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_TARGET_NAME = MDBSocials; + }; + name = Debug; + }; + 152F0B0E1DA2454C00CB7D34 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + INFOPLIST_FILE = MDBSocialsUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.eliothan.MDBSocialsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_TARGET_NAME = MDBSocials; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 152F0AD91DA2454C00CB7D34 /* Build configuration list for PBXProject "MDBSocials" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 152F0B041DA2454C00CB7D34 /* Debug */, + 152F0B051DA2454C00CB7D34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 152F0B061DA2454C00CB7D34 /* Build configuration list for PBXNativeTarget "MDBSocials" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 152F0B071DA2454C00CB7D34 /* Debug */, + 152F0B081DA2454C00CB7D34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 152F0B091DA2454C00CB7D34 /* Build configuration list for PBXNativeTarget "MDBSocialsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 152F0B0A1DA2454C00CB7D34 /* Debug */, + 152F0B0B1DA2454C00CB7D34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 152F0B0C1DA2454C00CB7D34 /* Build configuration list for PBXNativeTarget "MDBSocialsUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 152F0B0D1DA2454C00CB7D34 /* Debug */, + 152F0B0E1DA2454C00CB7D34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 152F0AD61DA2454C00CB7D34 /* Project object */; +} diff --git a/MDBSocials.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MDBSocials.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..cf2e05c --- /dev/null +++ b/MDBSocials.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MDBSocials.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/MDBSocials.xcscheme b/MDBSocials.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/MDBSocials.xcscheme new file mode 100644 index 0000000..d60f442 --- /dev/null +++ b/MDBSocials.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/MDBSocials.xcscheme @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MDBSocials.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/xcschememanagement.plist b/MDBSocials.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..0b55605 --- /dev/null +++ b/MDBSocials.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + MDBSocials.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 152F0ADD1DA2454C00CB7D34 + + primary + + + 152F0AF11DA2454C00CB7D34 + + primary + + + 152F0AFC1DA2454C00CB7D34 + + primary + + + + + diff --git a/MDBSocials.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/MDBSocials.xcscheme b/MDBSocials.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/MDBSocials.xcscheme new file mode 100644 index 0000000..089fa9f --- /dev/null +++ b/MDBSocials.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/MDBSocials.xcscheme @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MDBSocials.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/xcschememanagement.plist b/MDBSocials.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..0b55605 --- /dev/null +++ b/MDBSocials.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + MDBSocials.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 152F0ADD1DA2454C00CB7D34 + + primary + + + 152F0AF11DA2454C00CB7D34 + + primary + + + 152F0AFC1DA2454C00CB7D34 + + primary + + + + + diff --git a/MDBSocials.xcworkspace/contents.xcworkspacedata b/MDBSocials.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..288c5d7 --- /dev/null +++ b/MDBSocials.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/MDBSocials.xcworkspace/xcuserdata/eliothan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/MDBSocials.xcworkspace/xcuserdata/eliothan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..33a911e --- /dev/null +++ b/MDBSocials.xcworkspace/xcuserdata/eliothan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/MDBSocials.xcworkspace/xcuserdata/rochelleshen.xcuserdatad/UserInterfaceState.xcuserstate b/MDBSocials.xcworkspace/xcuserdata/rochelleshen.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..4666cd7 Binary files /dev/null and b/MDBSocials.xcworkspace/xcuserdata/rochelleshen.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/MDBSocials.xcworkspace/xcuserdata/rochelleshen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/MDBSocials.xcworkspace/xcuserdata/rochelleshen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..d7a3511 --- /dev/null +++ b/MDBSocials.xcworkspace/xcuserdata/rochelleshen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MDBSocials/AppDelegate.swift b/MDBSocials/AppDelegate.swift new file mode 100644 index 0000000..c36df0a --- /dev/null +++ b/MDBSocials/AppDelegate.swift @@ -0,0 +1,50 @@ +// +// AppDelegate.swift +// MDBSocials +// +// Created by Eliot Han on 10/3/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseAuth + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + FIRApp.configure() + + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader.png b/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader.png new file mode 100644 index 0000000..a3bce0e Binary files /dev/null and b/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader.png differ diff --git a/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader@2x.png b/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader@2x.png new file mode 100644 index 0000000..099014d Binary files /dev/null and b/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader@2x.png differ diff --git a/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader@3x.png b/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader@3x.png new file mode 100644 index 0000000..524cd2d Binary files /dev/null and b/MDBSocials/Assets.xcassets/AboutHeader.imageset/AboutHeader@3x.png differ diff --git a/MDBSocials/Assets.xcassets/AboutHeader.imageset/Contents.json b/MDBSocials/Assets.xcassets/AboutHeader.imageset/Contents.json new file mode 100644 index 0000000..a37fd6e --- /dev/null +++ b/MDBSocials/Assets.xcassets/AboutHeader.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "AboutHeader.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "AboutHeader@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "AboutHeader@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/AppIcon.appiconset/Contents.json b/MDBSocials/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..1d060ed --- /dev/null +++ b/MDBSocials/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,93 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "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" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Bar.imageset/Bar.png b/MDBSocials/Assets.xcassets/Bar.imageset/Bar.png new file mode 100644 index 0000000..62f771c Binary files /dev/null and b/MDBSocials/Assets.xcassets/Bar.imageset/Bar.png differ diff --git a/MDBSocials/Assets.xcassets/Bar.imageset/Bar@2x.png b/MDBSocials/Assets.xcassets/Bar.imageset/Bar@2x.png new file mode 100644 index 0000000..4b0e7e6 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Bar.imageset/Bar@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Bar.imageset/Bar@3x.png b/MDBSocials/Assets.xcassets/Bar.imageset/Bar@3x.png new file mode 100644 index 0000000..0516973 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Bar.imageset/Bar@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Bar.imageset/Contents.json b/MDBSocials/Assets.xcassets/Bar.imageset/Contents.json new file mode 100644 index 0000000..85eebfd --- /dev/null +++ b/MDBSocials/Assets.xcassets/Bar.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Bar.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Bar@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Bar@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon.png b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon.png new file mode 100644 index 0000000..0a45bfc Binary files /dev/null and b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon.png differ diff --git a/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon@2x.png b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon@2x.png new file mode 100644 index 0000000..a882712 Binary files /dev/null and b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon@2x.png differ diff --git a/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon@3x.png b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon@3x.png new file mode 100644 index 0000000..21eefe9 Binary files /dev/null and b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/CalendarIcon@3x.png differ diff --git a/MDBSocials/Assets.xcassets/CalendarIcon.imageset/Contents.json b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/Contents.json new file mode 100644 index 0000000..cc5cf3a --- /dev/null +++ b/MDBSocials/Assets.xcassets/CalendarIcon.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "CalendarIcon.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "CalendarIcon@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "CalendarIcon@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg.png b/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg.png new file mode 100644 index 0000000..6998763 Binary files /dev/null and b/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg.png differ diff --git a/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg@2x.png b/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg@2x.png new file mode 100644 index 0000000..f2590ee Binary files /dev/null and b/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg@2x.png differ diff --git a/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg@3x.png b/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg@3x.png new file mode 100644 index 0000000..789e38d Binary files /dev/null and b/MDBSocials/Assets.xcassets/CancelReg.imageset/CancelReg@3x.png differ diff --git a/MDBSocials/Assets.xcassets/CancelReg.imageset/Contents.json b/MDBSocials/Assets.xcassets/CancelReg.imageset/Contents.json new file mode 100644 index 0000000..c7ed564 --- /dev/null +++ b/MDBSocials/Assets.xcassets/CancelReg.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "CancelReg.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "CancelReg@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "CancelReg@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking.png b/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking.png new file mode 100644 index 0000000..cc6165c Binary files /dev/null and b/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking.png differ diff --git a/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking@2x.png b/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking@2x.png new file mode 100644 index 0000000..3cfdb41 Binary files /dev/null and b/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking@2x.png differ diff --git a/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking@3x.png b/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking@3x.png new file mode 100644 index 0000000..63ecde2 Binary files /dev/null and b/MDBSocials/Assets.xcassets/ClearBacking.imageset/ClearBacking@3x.png differ diff --git a/MDBSocials/Assets.xcassets/ClearBacking.imageset/Contents.json b/MDBSocials/Assets.xcassets/ClearBacking.imageset/Contents.json new file mode 100644 index 0000000..24567e6 --- /dev/null +++ b/MDBSocials/Assets.xcassets/ClearBacking.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "ClearBacking.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "ClearBacking@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "ClearBacking@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox.png b/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox.png new file mode 100644 index 0000000..bf42fb0 Binary files /dev/null and b/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox.png differ diff --git a/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox@2x.png b/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox@2x.png new file mode 100644 index 0000000..e80c5bb Binary files /dev/null and b/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox@2x.png differ diff --git a/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox@3x.png b/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox@3x.png new file mode 100644 index 0000000..853fcc6 Binary files /dev/null and b/MDBSocials/Assets.xcassets/ClearBox.imageset/ClearBox@3x.png differ diff --git a/MDBSocials/Assets.xcassets/ClearBox.imageset/Contents.json b/MDBSocials/Assets.xcassets/ClearBox.imageset/Contents.json new file mode 100644 index 0000000..0d959f9 --- /dev/null +++ b/MDBSocials/Assets.xcassets/ClearBox.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "ClearBox.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "ClearBox@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "ClearBox@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Contents.json b/MDBSocials/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/MDBSocials/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/Contents.json b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/Contents.json new file mode 100644 index 0000000..a1a161b --- /dev/null +++ b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "CreateEventBanner.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "CreateEventBanner@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "CreateEventBanner@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner.png b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner.png new file mode 100644 index 0000000..eb63068 Binary files /dev/null and b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner.png differ diff --git a/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner@2x.png b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner@2x.png new file mode 100644 index 0000000..7cea8e4 Binary files /dev/null and b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner@2x.png differ diff --git a/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner@3x.png b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner@3x.png new file mode 100644 index 0000000..0c95cc3 Binary files /dev/null and b/MDBSocials/Assets.xcassets/CreateEventBanner.imageset/CreateEventBanner@3x.png differ diff --git a/MDBSocials/Assets.xcassets/DateEventTF.imageset/Contents.json b/MDBSocials/Assets.xcassets/DateEventTF.imageset/Contents.json new file mode 100644 index 0000000..6382f95 --- /dev/null +++ b/MDBSocials/Assets.xcassets/DateEventTF.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "DateEventTF.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "DateEventTF@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "DateEventTF@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF.png b/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF.png new file mode 100644 index 0000000..127e048 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF.png differ diff --git a/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF@2x.png b/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF@2x.png new file mode 100644 index 0000000..4db9e88 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF@2x.png differ diff --git a/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF@3x.png b/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF@3x.png new file mode 100644 index 0000000..f73c2d0 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DateEventTF.imageset/DateEventTF@3x.png differ diff --git a/MDBSocials/Assets.xcassets/DefaultTextView.imageset/Contents.json b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/Contents.json new file mode 100644 index 0000000..1a77fc7 --- /dev/null +++ b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "DefaultTextView.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "DefaultTextView@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "DefaultTextView@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView.png b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView.png new file mode 100644 index 0000000..bb3493b Binary files /dev/null and b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView.png differ diff --git a/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView@2x.png b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView@2x.png new file mode 100644 index 0000000..b18a4a4 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView@2x.png differ diff --git a/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView@3x.png b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView@3x.png new file mode 100644 index 0000000..8ad6634 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DefaultTextView.imageset/DefaultTextView@3x.png differ diff --git a/MDBSocials/Assets.xcassets/DescriptionTF.imageset/Contents.json b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/Contents.json new file mode 100644 index 0000000..c08fdf4 --- /dev/null +++ b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "DescriptionTF.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "DescriptionTF@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "DescriptionTF@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF.png b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF.png new file mode 100644 index 0000000..d9a2878 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF.png differ diff --git a/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF@2x.png b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF@2x.png new file mode 100644 index 0000000..65fdd6e Binary files /dev/null and b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF@2x.png differ diff --git a/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF@3x.png b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF@3x.png new file mode 100644 index 0000000..142f4a0 Binary files /dev/null and b/MDBSocials/Assets.xcassets/DescriptionTF.imageset/DescriptionTF@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Email.imageset/Contents.json b/MDBSocials/Assets.xcassets/Email.imageset/Contents.json new file mode 100644 index 0000000..d90e6b2 --- /dev/null +++ b/MDBSocials/Assets.xcassets/Email.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Email.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Email@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Email@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Email.imageset/Email.png b/MDBSocials/Assets.xcassets/Email.imageset/Email.png new file mode 100644 index 0000000..f79007a Binary files /dev/null and b/MDBSocials/Assets.xcassets/Email.imageset/Email.png differ diff --git a/MDBSocials/Assets.xcassets/Email.imageset/Email@2x.png b/MDBSocials/Assets.xcassets/Email.imageset/Email@2x.png new file mode 100644 index 0000000..21784b2 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Email.imageset/Email@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Email.imageset/Email@3x.png b/MDBSocials/Assets.xcassets/Email.imageset/Email@3x.png new file mode 100644 index 0000000..e5a7d76 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Email.imageset/Email@3x.png differ diff --git a/MDBSocials/Assets.xcassets/FLNameBox.imageset/Contents.json b/MDBSocials/Assets.xcassets/FLNameBox.imageset/Contents.json new file mode 100644 index 0000000..24bf56d --- /dev/null +++ b/MDBSocials/Assets.xcassets/FLNameBox.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "FLNameBox.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "FLNameBox@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "FLNameBox@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox.png b/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox.png new file mode 100644 index 0000000..57ff826 Binary files /dev/null and b/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox.png differ diff --git a/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox@2x.png b/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox@2x.png new file mode 100644 index 0000000..7efd618 Binary files /dev/null and b/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox@2x.png differ diff --git a/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox@3x.png b/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox@3x.png new file mode 100644 index 0000000..b677fdf Binary files /dev/null and b/MDBSocials/Assets.xcassets/FLNameBox.imageset/FLNameBox@3x.png differ diff --git a/MDBSocials/Assets.xcassets/FirstName.imageset/Contents.json b/MDBSocials/Assets.xcassets/FirstName.imageset/Contents.json new file mode 100644 index 0000000..4ceac93 --- /dev/null +++ b/MDBSocials/Assets.xcassets/FirstName.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "FirstName.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "FirstName@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "FirstName@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName.png b/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName.png new file mode 100644 index 0000000..467f8ef Binary files /dev/null and b/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName.png differ diff --git a/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName@2x.png b/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName@2x.png new file mode 100644 index 0000000..fea039a Binary files /dev/null and b/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName@2x.png differ diff --git a/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName@3x.png b/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName@3x.png new file mode 100644 index 0000000..9ebac4c Binary files /dev/null and b/MDBSocials/Assets.xcassets/FirstName.imageset/FirstName@3x.png differ diff --git a/MDBSocials/Assets.xcassets/LastName.imageset/Contents.json b/MDBSocials/Assets.xcassets/LastName.imageset/Contents.json new file mode 100644 index 0000000..03c7683 --- /dev/null +++ b/MDBSocials/Assets.xcassets/LastName.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LastName.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LastName@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LastName@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/LastName.imageset/LastName.png b/MDBSocials/Assets.xcassets/LastName.imageset/LastName.png new file mode 100644 index 0000000..f34ec86 Binary files /dev/null and b/MDBSocials/Assets.xcassets/LastName.imageset/LastName.png differ diff --git a/MDBSocials/Assets.xcassets/LastName.imageset/LastName@2x.png b/MDBSocials/Assets.xcassets/LastName.imageset/LastName@2x.png new file mode 100644 index 0000000..a08779c Binary files /dev/null and b/MDBSocials/Assets.xcassets/LastName.imageset/LastName@2x.png differ diff --git a/MDBSocials/Assets.xcassets/LastName.imageset/LastName@3x.png b/MDBSocials/Assets.xcassets/LastName.imageset/LastName@3x.png new file mode 100644 index 0000000..6c70258 Binary files /dev/null and b/MDBSocials/Assets.xcassets/LastName.imageset/LastName@3x.png differ diff --git a/MDBSocials/Assets.xcassets/LockIcon.imageset/Contents.json b/MDBSocials/Assets.xcassets/LockIcon.imageset/Contents.json new file mode 100644 index 0000000..e04e981 --- /dev/null +++ b/MDBSocials/Assets.xcassets/LockIcon.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LockIcon.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LockIcon@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LockIcon@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon.png b/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon.png new file mode 100644 index 0000000..d0c86f2 Binary files /dev/null and b/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon.png differ diff --git a/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon@2x.png b/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon@2x.png new file mode 100644 index 0000000..33eef3d Binary files /dev/null and b/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon@2x.png differ diff --git a/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon@3x.png b/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon@3x.png new file mode 100644 index 0000000..4bff0e9 Binary files /dev/null and b/MDBSocials/Assets.xcassets/LockIcon.imageset/LockIcon@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Login.imageset/Contents.json b/MDBSocials/Assets.xcassets/Login.imageset/Contents.json new file mode 100644 index 0000000..818deb4 --- /dev/null +++ b/MDBSocials/Assets.xcassets/Login.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Login.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Login@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Login@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Login.imageset/Login.png b/MDBSocials/Assets.xcassets/Login.imageset/Login.png new file mode 100644 index 0000000..39c61f3 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Login.imageset/Login.png differ diff --git a/MDBSocials/Assets.xcassets/Login.imageset/Login@2x.png b/MDBSocials/Assets.xcassets/Login.imageset/Login@2x.png new file mode 100644 index 0000000..f6001b1 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Login.imageset/Login@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Login.imageset/Login@3x.png b/MDBSocials/Assets.xcassets/Login.imageset/Login@3x.png new file mode 100644 index 0000000..7526c45 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Login.imageset/Login@3x.png differ diff --git a/MDBSocials/Assets.xcassets/MainBG.imageset/Contents.json b/MDBSocials/Assets.xcassets/MainBG.imageset/Contents.json new file mode 100644 index 0000000..e8df20f --- /dev/null +++ b/MDBSocials/Assets.xcassets/MainBG.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "MainBG.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "MainBG@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "MainBG@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG.png b/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG.png new file mode 100644 index 0000000..b6bfa5d Binary files /dev/null and b/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG.png differ diff --git a/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG@2x.png b/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG@2x.png new file mode 100644 index 0000000..838f475 Binary files /dev/null and b/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG@2x.png differ diff --git a/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG@3x.png b/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG@3x.png new file mode 100644 index 0000000..151c40b Binary files /dev/null and b/MDBSocials/Assets.xcassets/MainBG.imageset/MainBG@3x.png differ diff --git a/MDBSocials/Assets.xcassets/MobileTitle.imageset/Contents.json b/MDBSocials/Assets.xcassets/MobileTitle.imageset/Contents.json new file mode 100644 index 0000000..cd6ef78 --- /dev/null +++ b/MDBSocials/Assets.xcassets/MobileTitle.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "MobileTitle.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "MobileTitle@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "MobileTitle@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle.png b/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle.png new file mode 100644 index 0000000..827594d Binary files /dev/null and b/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle.png differ diff --git a/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle@2x.png b/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle@2x.png new file mode 100644 index 0000000..15c890d Binary files /dev/null and b/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle@2x.png differ diff --git a/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle@3x.png b/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle@3x.png new file mode 100644 index 0000000..2df8e4e Binary files /dev/null and b/MDBSocials/Assets.xcassets/MobileTitle.imageset/MobileTitle@3x.png differ diff --git a/MDBSocials/Assets.xcassets/NameEventTF.imageset/Contents.json b/MDBSocials/Assets.xcassets/NameEventTF.imageset/Contents.json new file mode 100644 index 0000000..579f610 --- /dev/null +++ b/MDBSocials/Assets.xcassets/NameEventTF.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "NameEventTF.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "NameEventTF@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "NameEventTF@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF.png b/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF.png new file mode 100644 index 0000000..eb588c4 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF.png differ diff --git a/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF@2x.png b/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF@2x.png new file mode 100644 index 0000000..02766c7 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF@2x.png differ diff --git a/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF@3x.png b/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF@3x.png new file mode 100644 index 0000000..eacb8da Binary files /dev/null and b/MDBSocials/Assets.xcassets/NameEventTF.imageset/NameEventTF@3x.png differ diff --git a/MDBSocials/Assets.xcassets/NewAcc.imageset/Contents.json b/MDBSocials/Assets.xcassets/NewAcc.imageset/Contents.json new file mode 100644 index 0000000..a093cb1 --- /dev/null +++ b/MDBSocials/Assets.xcassets/NewAcc.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "NewAcc.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "NewAcc@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "NewAcc@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc.png b/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc.png new file mode 100644 index 0000000..03fec31 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc.png differ diff --git a/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc@2x.png b/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc@2x.png new file mode 100644 index 0000000..90bd4a4 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc@2x.png differ diff --git a/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc@3x.png b/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc@3x.png new file mode 100644 index 0000000..cd393f6 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NewAcc.imageset/NewAcc@3x.png differ diff --git a/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/Contents.json b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/Contents.json new file mode 100644 index 0000000..bbe70c6 --- /dev/null +++ b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "NotYetRsvp.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "NotYetRsvp@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "NotYetRsvp@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp.png b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp.png new file mode 100644 index 0000000..b1a3e8b Binary files /dev/null and b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp.png differ diff --git a/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp@2x.png b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp@2x.png new file mode 100644 index 0000000..376fd08 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp@2x.png differ diff --git a/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp@3x.png b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp@3x.png new file mode 100644 index 0000000..b6c4428 Binary files /dev/null and b/MDBSocials/Assets.xcassets/NotYetRsvp.imageset/NotYetRsvp@3x.png differ diff --git a/MDBSocials/Assets.xcassets/OpenSocials.imageset/Contents.json b/MDBSocials/Assets.xcassets/OpenSocials.imageset/Contents.json new file mode 100644 index 0000000..a5b5429 --- /dev/null +++ b/MDBSocials/Assets.xcassets/OpenSocials.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "OpenSocials.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "OpenSocials@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "OpenSocials@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials.png b/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials.png new file mode 100644 index 0000000..be25f5d Binary files /dev/null and b/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials.png differ diff --git a/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials@2x.png b/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials@2x.png new file mode 100644 index 0000000..3f35ed0 Binary files /dev/null and b/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials@2x.png differ diff --git a/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials@3x.png b/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials@3x.png new file mode 100644 index 0000000..1de49ad Binary files /dev/null and b/MDBSocials/Assets.xcassets/OpenSocials.imageset/OpenSocials@3x.png differ diff --git a/MDBSocials/Assets.xcassets/PassTF.imageset/Contents.json b/MDBSocials/Assets.xcassets/PassTF.imageset/Contents.json new file mode 100644 index 0000000..e28df79 --- /dev/null +++ b/MDBSocials/Assets.xcassets/PassTF.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "PassTF.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "PassTF@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "PassTF@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF.png b/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF.png new file mode 100644 index 0000000..1d800d3 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF.png differ diff --git a/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF@2x.png b/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF@2x.png new file mode 100644 index 0000000..8abd40d Binary files /dev/null and b/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF@2x.png differ diff --git a/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF@3x.png b/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF@3x.png new file mode 100644 index 0000000..46972bd Binary files /dev/null and b/MDBSocials/Assets.xcassets/PassTF.imageset/PassTF@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Password.imageset/Contents.json b/MDBSocials/Assets.xcassets/Password.imageset/Contents.json new file mode 100644 index 0000000..b2f7e6d --- /dev/null +++ b/MDBSocials/Assets.xcassets/Password.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Password.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Password@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Password@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Password.imageset/Password.png b/MDBSocials/Assets.xcassets/Password.imageset/Password.png new file mode 100644 index 0000000..c274c22 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Password.imageset/Password.png differ diff --git a/MDBSocials/Assets.xcassets/Password.imageset/Password@2x.png b/MDBSocials/Assets.xcassets/Password.imageset/Password@2x.png new file mode 100644 index 0000000..7cd7c83 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Password.imageset/Password@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Password.imageset/Password@3x.png b/MDBSocials/Assets.xcassets/Password.imageset/Password@3x.png new file mode 100644 index 0000000..ef2fc90 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Password.imageset/Password@3x.png differ diff --git a/MDBSocials/Assets.xcassets/PeopleIcon.imageset/Contents.json b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/Contents.json new file mode 100644 index 0000000..fae2632 --- /dev/null +++ b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "PeopleIcon.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "PeopleIcon@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "PeopleIcon@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon.png b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon.png new file mode 100644 index 0000000..711b32e Binary files /dev/null and b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon.png differ diff --git a/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon@2x.png b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon@2x.png new file mode 100644 index 0000000..51d4c12 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon@2x.png differ diff --git a/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon@3x.png b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon@3x.png new file mode 100644 index 0000000..4ff917f Binary files /dev/null and b/MDBSocials/Assets.xcassets/PeopleIcon.imageset/PeopleIcon@3x.png differ diff --git a/MDBSocials/Assets.xcassets/PeopleInterested.imageset/Contents.json b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/Contents.json new file mode 100644 index 0000000..06e78f9 --- /dev/null +++ b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "PeopleInterested.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "PeopleInterested@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "PeopleInterested@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested.png b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested.png new file mode 100644 index 0000000..382133a Binary files /dev/null and b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested.png differ diff --git a/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested@2x.png b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested@2x.png new file mode 100644 index 0000000..10fa40b Binary files /dev/null and b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested@2x.png differ diff --git a/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested@3x.png b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested@3x.png new file mode 100644 index 0000000..88f4e67 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PeopleInterested.imageset/PeopleInterested@3x.png differ diff --git a/MDBSocials/Assets.xcassets/PostIcon.imageset/Contents.json b/MDBSocials/Assets.xcassets/PostIcon.imageset/Contents.json new file mode 100644 index 0000000..be688eb --- /dev/null +++ b/MDBSocials/Assets.xcassets/PostIcon.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "PostIcon.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "PostIcon@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "PostIcon@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon.png b/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon.png new file mode 100644 index 0000000..b67557a Binary files /dev/null and b/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon.png differ diff --git a/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon@2x.png b/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon@2x.png new file mode 100644 index 0000000..ce6a252 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon@2x.png differ diff --git a/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon@3x.png b/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon@3x.png new file mode 100644 index 0000000..20d96b3 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PostIcon.imageset/PostIcon@3x.png differ diff --git a/MDBSocials/Assets.xcassets/PostedBy.imageset/Contents.json b/MDBSocials/Assets.xcassets/PostedBy.imageset/Contents.json new file mode 100644 index 0000000..b8123c8 --- /dev/null +++ b/MDBSocials/Assets.xcassets/PostedBy.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "PostedBy.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "PostedBy@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "PostedBy@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy.png b/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy.png new file mode 100644 index 0000000..9c38e08 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy.png differ diff --git a/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy@2x.png b/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy@2x.png new file mode 100644 index 0000000..3db694d Binary files /dev/null and b/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy@2x.png differ diff --git a/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy@3x.png b/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy@3x.png new file mode 100644 index 0000000..9a87d23 Binary files /dev/null and b/MDBSocials/Assets.xcassets/PostedBy.imageset/PostedBy@3x.png differ diff --git a/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/Contents.json b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/Contents.json new file mode 100644 index 0000000..bd4d718 --- /dev/null +++ b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "RegTextFieldBox.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "RegTextFieldBox@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "RegTextFieldBox@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox.png b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox.png new file mode 100644 index 0000000..f6dc8b7 Binary files /dev/null and b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox.png differ diff --git a/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox@2x.png b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox@2x.png new file mode 100644 index 0000000..570528c Binary files /dev/null and b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox@2x.png differ diff --git a/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox@3x.png b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox@3x.png new file mode 100644 index 0000000..1c23b60 Binary files /dev/null and b/MDBSocials/Assets.xcassets/RegTextFieldBox.imageset/RegTextFieldBox@3x.png differ diff --git a/MDBSocials/Assets.xcassets/RegisterButton.imageset/Contents.json b/MDBSocials/Assets.xcassets/RegisterButton.imageset/Contents.json new file mode 100644 index 0000000..a7a45b2 --- /dev/null +++ b/MDBSocials/Assets.xcassets/RegisterButton.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "RegisterButton.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "RegisterButton@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "RegisterButton@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton.png b/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton.png new file mode 100644 index 0000000..50b34b9 Binary files /dev/null and b/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton.png differ diff --git a/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton@2x.png b/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton@2x.png new file mode 100644 index 0000000..e0a9813 Binary files /dev/null and b/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton@2x.png differ diff --git a/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton@3x.png b/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton@3x.png new file mode 100644 index 0000000..87e605f Binary files /dev/null and b/MDBSocials/Assets.xcassets/RegisterButton.imageset/RegisterButton@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Rsvped.imageset/Contents.json b/MDBSocials/Assets.xcassets/Rsvped.imageset/Contents.json new file mode 100644 index 0000000..3cb5586 --- /dev/null +++ b/MDBSocials/Assets.xcassets/Rsvped.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Rsvped.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Rsvped@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Rsvped@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped.png b/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped.png new file mode 100644 index 0000000..20b92f3 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped.png differ diff --git a/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped@2x.png b/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped@2x.png new file mode 100644 index 0000000..413ca7c Binary files /dev/null and b/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped@3x.png b/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped@3x.png new file mode 100644 index 0000000..ae4b06c Binary files /dev/null and b/MDBSocials/Assets.xcassets/Rsvped.imageset/Rsvped@3x.png differ diff --git a/MDBSocials/Assets.xcassets/SignUp.imageset/Contents.json b/MDBSocials/Assets.xcassets/SignUp.imageset/Contents.json new file mode 100644 index 0000000..6c28a01 --- /dev/null +++ b/MDBSocials/Assets.xcassets/SignUp.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "SignUp.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "SignUp@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "SignUp@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp.png b/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp.png new file mode 100644 index 0000000..031454d Binary files /dev/null and b/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp.png differ diff --git a/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp@2x.png b/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp@2x.png new file mode 100644 index 0000000..e4bcfa8 Binary files /dev/null and b/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp@2x.png differ diff --git a/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp@3x.png b/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp@3x.png new file mode 100644 index 0000000..d1760fb Binary files /dev/null and b/MDBSocials/Assets.xcassets/SignUp.imageset/SignUp@3x.png differ diff --git a/MDBSocials/Assets.xcassets/SignUpBG.imageset/Contents.json b/MDBSocials/Assets.xcassets/SignUpBG.imageset/Contents.json new file mode 100644 index 0000000..1259aad --- /dev/null +++ b/MDBSocials/Assets.xcassets/SignUpBG.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "SignUpBG.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "SignUpBG@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "SignUpBG@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG.png b/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG.png new file mode 100644 index 0000000..a224a0f Binary files /dev/null and b/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG.png differ diff --git a/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG@2x.png b/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG@2x.png new file mode 100644 index 0000000..21b76de Binary files /dev/null and b/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG@2x.png differ diff --git a/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG@3x.png b/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG@3x.png new file mode 100644 index 0000000..b7d3973 Binary files /dev/null and b/MDBSocials/Assets.xcassets/SignUpBG.imageset/SignUpBG@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Socials.imageset/Contents.json b/MDBSocials/Assets.xcassets/Socials.imageset/Contents.json new file mode 100644 index 0000000..832fe72 --- /dev/null +++ b/MDBSocials/Assets.xcassets/Socials.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Socials.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Socials@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Socials@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Socials.imageset/Socials.png b/MDBSocials/Assets.xcassets/Socials.imageset/Socials.png new file mode 100644 index 0000000..b2eda78 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Socials.imageset/Socials.png differ diff --git a/MDBSocials/Assets.xcassets/Socials.imageset/Socials@2x.png b/MDBSocials/Assets.xcassets/Socials.imageset/Socials@2x.png new file mode 100644 index 0000000..a1b4e93 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Socials.imageset/Socials@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Socials.imageset/Socials@3x.png b/MDBSocials/Assets.xcassets/Socials.imageset/Socials@3x.png new file mode 100644 index 0000000..e26d8fe Binary files /dev/null and b/MDBSocials/Assets.xcassets/Socials.imageset/Socials@3x.png differ diff --git a/MDBSocials/Assets.xcassets/UserTF.imageset/Contents.json b/MDBSocials/Assets.xcassets/UserTF.imageset/Contents.json new file mode 100644 index 0000000..ebac8f6 --- /dev/null +++ b/MDBSocials/Assets.xcassets/UserTF.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "UserTF.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "UserTF@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "UserTF@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF.png b/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF.png new file mode 100644 index 0000000..1532706 Binary files /dev/null and b/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF.png differ diff --git a/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF@2x.png b/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF@2x.png new file mode 100644 index 0000000..ba62eb1 Binary files /dev/null and b/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF@2x.png differ diff --git a/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF@3x.png b/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF@3x.png new file mode 100644 index 0000000..278d153 Binary files /dev/null and b/MDBSocials/Assets.xcassets/UserTF.imageset/UserTF@3x.png differ diff --git a/MDBSocials/Assets.xcassets/Username.imageset/Contents.json b/MDBSocials/Assets.xcassets/Username.imageset/Contents.json new file mode 100644 index 0000000..2da741a --- /dev/null +++ b/MDBSocials/Assets.xcassets/Username.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "Username.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "Username@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "Username@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/Username.imageset/Username.png b/MDBSocials/Assets.xcassets/Username.imageset/Username.png new file mode 100644 index 0000000..c369d45 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Username.imageset/Username.png differ diff --git a/MDBSocials/Assets.xcassets/Username.imageset/Username@2x.png b/MDBSocials/Assets.xcassets/Username.imageset/Username@2x.png new file mode 100644 index 0000000..f3cf3d6 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Username.imageset/Username@2x.png differ diff --git a/MDBSocials/Assets.xcassets/Username.imageset/Username@3x.png b/MDBSocials/Assets.xcassets/Username.imageset/Username@3x.png new file mode 100644 index 0000000..8a9ae68 Binary files /dev/null and b/MDBSocials/Assets.xcassets/Username.imageset/Username@3x.png differ diff --git a/MDBSocials/Assets.xcassets/back.imageset/Contents.json b/MDBSocials/Assets.xcassets/back.imageset/Contents.json new file mode 100644 index 0000000..3bad3d0 --- /dev/null +++ b/MDBSocials/Assets.xcassets/back.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "back.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "back@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "back@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/back.imageset/back.png b/MDBSocials/Assets.xcassets/back.imageset/back.png new file mode 100644 index 0000000..f926c1f Binary files /dev/null and b/MDBSocials/Assets.xcassets/back.imageset/back.png differ diff --git a/MDBSocials/Assets.xcassets/back.imageset/back@2x.png b/MDBSocials/Assets.xcassets/back.imageset/back@2x.png new file mode 100644 index 0000000..6a3e126 Binary files /dev/null and b/MDBSocials/Assets.xcassets/back.imageset/back@2x.png differ diff --git a/MDBSocials/Assets.xcassets/back.imageset/back@3x.png b/MDBSocials/Assets.xcassets/back.imageset/back@3x.png new file mode 100644 index 0000000..cebe28c Binary files /dev/null and b/MDBSocials/Assets.xcassets/back.imageset/back@3x.png differ diff --git a/MDBSocials/Assets.xcassets/blueBG.imageset/Contents.json b/MDBSocials/Assets.xcassets/blueBG.imageset/Contents.json new file mode 100644 index 0000000..a4157fc --- /dev/null +++ b/MDBSocials/Assets.xcassets/blueBG.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "blueBG.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "blueBG@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "blueBG@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG.png b/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG.png new file mode 100644 index 0000000..557020b Binary files /dev/null and b/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG.png differ diff --git a/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG@2x.png b/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG@2x.png new file mode 100644 index 0000000..e70e7e8 Binary files /dev/null and b/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG@2x.png differ diff --git a/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG@3x.png b/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG@3x.png new file mode 100644 index 0000000..045858b Binary files /dev/null and b/MDBSocials/Assets.xcassets/blueBG.imageset/blueBG@3x.png differ diff --git a/MDBSocials/Assets.xcassets/emptyimage.imageset/Contents.json b/MDBSocials/Assets.xcassets/emptyimage.imageset/Contents.json new file mode 100644 index 0000000..fd2e0df --- /dev/null +++ b/MDBSocials/Assets.xcassets/emptyimage.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "emptyimage.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/MDBSocials/Assets.xcassets/emptyimage.imageset/emptyimage.png b/MDBSocials/Assets.xcassets/emptyimage.imageset/emptyimage.png new file mode 100644 index 0000000..d6f396c Binary files /dev/null and b/MDBSocials/Assets.xcassets/emptyimage.imageset/emptyimage.png differ diff --git a/MDBSocials/BEBAS___.TTF b/MDBSocials/BEBAS___.TTF new file mode 100644 index 0000000..eaff486 Binary files /dev/null and b/MDBSocials/BEBAS___.TTF differ diff --git a/MDBSocials/Base.lproj/LaunchScreen.storyboard b/MDBSocials/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..fdf3f97 --- /dev/null +++ b/MDBSocials/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MDBSocials/Base.lproj/Main.storyboard b/MDBSocials/Base.lproj/Main.storyboard new file mode 100644 index 0000000..207edd8 --- /dev/null +++ b/MDBSocials/Base.lproj/Main.storyboard @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MDBSocials/Constants.swift b/MDBSocials/Constants.swift new file mode 100644 index 0000000..13126e4 --- /dev/null +++ b/MDBSocials/Constants.swift @@ -0,0 +1,21 @@ +// +// Constants.swift +// MDBSocials +// +// Created by Eliot Han on 10/11/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseDatabase + +struct Constants{ + struct Colors{ + static let purpleColor = UIColor(red:0.82, green:0.52, blue:0.99, alpha:1.0) + + static let rootRef = FIRDatabase.database().reference() + + } + +} diff --git a/MDBSocials/CreateEventViewController.swift b/MDBSocials/CreateEventViewController.swift new file mode 100644 index 0000000..053e9f9 --- /dev/null +++ b/MDBSocials/CreateEventViewController.swift @@ -0,0 +1,255 @@ +// +// CreateEventViewController.swift +// MDBSocials +// +// Created by Eliot Han on 10/5/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseDatabase +import FirebaseAuth +import FirebaseStorage + +class CreateEventViewController: UIViewController, UINavigationControllerDelegate, UIImagePickerControllerDelegate { + + var eventNameLabel: UILabel! + var eventNameTextField: UITextField! + + var descriptionLabel: UILabel! + var descriptionTextField: UITextView! + + var imageView: UIImageView! + + var eventDateLabel: UILabel! + var eventDateTextField: UITextField! + + var imagePicker = UIImagePickerController() + var eventImageLabel: UILabel! + var eventImageView: UIImageView! = UIImageView(image: UIImage(named: "emptyimage")) + var actionSheetController : UIAlertController = UIAlertController(title: "Photos", message: "Select Camera or Photo Library", preferredStyle: .actionSheet) + + + var posterName: String? + var posterLastName: String? + var userRsvp: [NSString] = [] + + let rootRef = FIRDatabase.database().reference() + + + + override func viewDidLoad() { + super.viewDidLoad() + setupUI() + getPosterID() + setupAlertController() + imagePicker.delegate = self + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + func setupUI(){ + navigationController?.isNavigationBarHidden = false + view.backgroundColor = UIColor(red:0.96, green:1.00, blue:1.00, alpha:1.0) + + let bttn = UIButton() + bttn.setImage(#imageLiteral(resourceName: "PostIcon"), for: .normal) + bttn.frame = CGRect(x: 0, y: 0, width: 36, height: 27) + bttn.addTarget(self, action: #selector(CreateEventViewController.postButtonClicked), for: .touchUpInside) + let addEventButton = UIBarButtonItem() + addEventButton.customView = bttn + self.navigationItem.rightBarButtonItem = addEventButton + self.navigationController?.navigationBar.setBackgroundImage(#imageLiteral(resourceName: "Bar"), for: .default) + self.navigationItem.titleView = UIImageView(image: #imageLiteral(resourceName: "CreateEventBanner")) + + eventNameLabel = UILabel(frame: CGRect(x: 38.5, y: 90, width: 110, height: 19)) + eventNameLabel.text = "Name of event:" + eventNameLabel.font = UIFont(name: "AvenirNext-Regular", size: 14) + view.addSubview(eventNameLabel) + + eventNameTextField = UITextField(frame: CGRect(x: 36, y: 108, width: 298, height: 33)) + eventNameTextField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "NameEventTF")) + view.addSubview(eventNameTextField) + + eventDateLabel = UILabel(frame: CGRect(x: 39.5, y: 158, width: 102, height: 19)) + eventDateLabel.text = "Date of event:" + eventDateLabel.font = UIFont(name: "AvenirNext-Regular", size: 14) + view.addSubview(eventDateLabel) + + eventDateTextField = UITextField(frame: CGRect(x: 36, y: 176, width: 152, height: 33)) + eventDateTextField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "DateEventTF")) + view.addSubview(eventDateTextField) + + descriptionLabel = UILabel(frame: CGRect(x: 36.5, y: 225, width: 141, height: 19)) + descriptionLabel.text = "Describe the event:" + descriptionLabel.font = UIFont(name: "AvenirNext-Regular", size: 14) + view.addSubview(descriptionLabel) + + descriptionTextField = UITextView(frame: CGRect(x: 36, y: 244, width: 298, height: 117)) + descriptionTextField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "DescriptionTF")) + view.addSubview(descriptionTextField) + + eventImageLabel = UILabel(frame: CGRect(x: 122, y: 397, width: 131, height: 19)) + eventImageLabel.text = "Insert image here:" + eventImageLabel.font = UIFont(name: "AvenirNext-Regular", size: 14) + view.addSubview(eventImageLabel) + + eventImageView.frame = CGRect(x: 62, y: 416, width: 252, height: 192) + eventImageView.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(eventImageView!) + let tapGestureRecognizer = UITapGestureRecognizer(target:self, action: #selector(CreateEventViewController.imageTapped)) + eventImageView.isUserInteractionEnabled = true + eventImageView.addGestureRecognizer(tapGestureRecognizer) + + } + + func setupAlertController(){ + //Create and add the "Cancel" action + let cancelAction: UIAlertAction = UIAlertAction(title: "Cancel", style: .cancel) { action -> Void in + //Just dismiss the action sheet + } + actionSheetController.addAction(cancelAction) + + //Create and add "Camera" action + let cameraAction: UIAlertAction = UIAlertAction(title: "Camera", style: .default) { action -> Void in + + //The user just pressed the camera button. + if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.camera) { + let imagePicker = UIImagePickerController() + imagePicker.delegate = self + imagePicker.sourceType = UIImagePickerControllerSourceType.camera; + imagePicker.allowsEditing = false + self.present(imagePicker, animated: true, completion: nil) + } + } + actionSheetController.addAction(cameraAction) + + let libraryAction: UIAlertAction = UIAlertAction(title: "Photo Library", style: .default){ action -> Void + in + //User just pressed library button + if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.savedPhotosAlbum){ + print("library chosen") + + + self.imagePicker.delegate = self + self.imagePicker.sourceType = UIImagePickerControllerSourceType.savedPhotosAlbum; + self.imagePicker.allowsEditing = false + + self.present(self.imagePicker, animated: true, completion: nil) + } + + } + actionSheetController.addAction(libraryAction) + } + func imageTapped(){ + + //Present the AlertController + self.present(actionSheetController, animated: true, completion: nil) + + + } + + func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) { + if let image = info[UIImagePickerControllerOriginalImage] as? UIImage { + eventImageView.image = image + print("image picked") + } else{ + print("Something went wrong") + } + + self.dismiss(animated: true, completion: nil) + } + + func getPosterID(){ + //Get UserID and PosterName + let currentUserID = (FIRAuth.auth()?.currentUser?.uid)! as String + let ref = rootRef.child("users").child(currentUserID) + //print(ref) + ref.observe(.value, with: { (snapshot) in + if let dictionary = snapshot.value as? [String: String]{ + //print(dictionary["username"]) + self.posterName = dictionary["firstName"] + self.posterLastName = dictionary["lastName"] + } + }) + + } + func postButtonClicked(){ + //Event references: Firebase Database + let eventsRef = rootRef.child("events") + let uniqueEventRef = eventsRef.childByAutoId() + + //Image References: Firebase Storage stuff + let storageRef = FIRStorage.storage().reference(forURL: "gs://mdbsocials2.appspot.com") + let imagesRef = storageRef.child("images") + let eventImageRef = imagesRef.child("\(uniqueEventRef.key)") + + //Event Information + //let eventData: [String : AnyObject] = ["eventTitle": eventNameTextField.text as NSString? ?? "None", "poster": (FIRAuth.auth()?.currentUser?.uid as NSString?)!, "eventDescription": descriptionTextField.text as NSString? ?? "None", "eventDate": eventDateTextField.text as NSString? ?? "None", "posterName": self.posterName as NSString? ?? "Nooone", "userRsvp" : userRsvp as [NSString]] + + //Set Event Information + uniqueEventRef.setValue(["eventTitle": eventNameTextField.text as NSString? ?? "None", + "poster": (FIRAuth.auth()?.currentUser?.uid as NSString?)!, + "eventDescription": descriptionTextField.text as NSString? ?? "None", + "eventDate": eventDateTextField.text as NSString? ?? "None", + "posterLastName" : self.posterLastName as NSString? ?? "None", + "posterName": self.posterName as NSString? ?? "Nooone"]){ (error, snap) in + print("Success") + //print(error) + + } + + //Set Picture + var data = NSData() + data = UIImageJPEGRepresentation(eventImageView.image!, 0.8)! as NSData + + // Upload the file to the path eventImageRef + var downloadURL: URL? + let uploadTask = eventImageRef.put(data as Data, metadata: nil) { metadata, error in + if (error != nil) { + // Uh-oh, an error occurred! + } else { + // Metadata contains file metadata such as size, content-type, and download URL. + downloadURL = metadata!.downloadURL() + } + + uniqueEventRef.child("downloadURL").setValue(downloadURL?.absoluteString){ (error, snap) in + print("downloadURL added to uniqueeventRef") + } + + } + + + performSegue(withIdentifier: "unwindToFeed", sender: self) + + +// eventsRef.setValue("hello") +// eventsRef.observeSingleEvent(of: .Value) { (snap) in +// print("GOT DATA") +// print(snap) +//// if snap != nil { +// eventsRef.setValue(["hello":"test"]) { (error, snap) in +// print("THERE WAS AN ERROR, YO:") +// print(error) +// } +//// +//// } +// +// } + +// print(eventData) +// print(eventsRef) +// print("worked") + +// rootRef.observeSingleEvent(of: .value, with: {snap in +// +// print("GOT DATA") +// print(snap) +// }) + + } +} diff --git a/MDBSocials/DetailViewController.swift b/MDBSocials/DetailViewController.swift new file mode 100644 index 0000000..685a3ea --- /dev/null +++ b/MDBSocials/DetailViewController.swift @@ -0,0 +1,218 @@ +// +// DetailViewController.swift +// MDBSocials +// +// Created by Rochelle on 10/12/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseStorage +import FirebaseDatabase +import FirebaseAuth + +class DetailViewController: UIViewController { + var passedEvent: Event! + var eventIds: [NSString]! + var indexPath: Int! + + var eventImage: UIImageView! + var modalView: UIButton! + var numInterested: UIButton! + var numInterestText: UILabel! + var addToRSVP: UIButton! + var titleOfEvent: UILabel! + var paragraphText: UILabel! + var displayImg: UIImage! + + var namesToDisplay: [String] = [] + + var allRsvp: [NSString] = [] + + var users: [User] = [] + + + let currUser = FIRAuth.auth()?.currentUser?.uid + + override func viewDidLoad() { + super.viewDidLoad() + getUsers() + setUpUI() + displayImage() + // Do any additional setup after loading the view. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + func setUpUI(){ + eventImage = UIImageView(frame: CGRect(x: 42, y: 112, width: 292, height: 237)) + eventImage.contentMode = UIViewContentMode.scaleAspectFit + eventImage.layer.cornerRadius = 7.0 + view.addSubview(eventImage) + + modalView = UIButton(frame: CGRect(x: 55, y: 504, width: 265, height: 33)) + modalView.setImage(#imageLiteral(resourceName: "PeopleInterested"), for: .normal) + view.addSubview(modalView) + + +// numInterestText = UILabel(frame: CGRect(x: 55, y: 510, width: 265, height: 21)) +// numInterestText.font = UIFont(name: "AvenirNext-Regular", size: 15.0)! +// numInterestText.textAlignment = NSTextAlignment.center +// numInterestText.text = "\(passedEvent.rsvp.count) people interested" +// numInterestText.textColor = UIColor.white + + numInterested = UIButton(frame: CGRect(x: 55, y: 510, width: 265, height: 21)) + numInterested.setTitle("\(passedEvent.rsvp.count) people interested", for: .normal) + numInterested.titleLabel?.font = UIFont(name: "AvenirNext-Regular", size: 15.0)! + numInterested.titleLabel?.textAlignment = NSTextAlignment.center + numInterested.titleLabel?.textColor = UIColor.white + numInterested.addTarget(self, action:#selector(pressedViewInterested), for: .touchUpInside) + view.addSubview(numInterested) + + addToRSVP = UIButton(frame: CGRect(x: 55, y: 555, width: 264, height: 33)) + let ref = FIRDatabase.database().reference().child("events").child(eventIds[indexPath] as String) + ref.observe(.value, with: { (snapshot) in + if snapshot.hasChild("userRsvp") { + let dict = snapshot.value as? [String : AnyObject] + self.passedEvent.rsvp = dict?["userRsvp"] as! [NSString] + if self.passedEvent.rsvp.contains((self.currUser as NSString?)!) { + self.addToRSVP.setImage(#imageLiteral(resourceName: "Rsvped"), for: .normal) + } else { + self.addToRSVP.setImage(#imageLiteral(resourceName: "NotYetRsvp"), for: .normal) + } + } else { + self.addToRSVP.setImage(#imageLiteral(resourceName: "NotYetRsvp"), for: .normal) + } + + }) + + addToRSVP.addTarget(self, action:#selector(pressedCountMeIn), for: .touchUpInside) + view.addSubview(addToRSVP) + + titleOfEvent = UILabel(frame: CGRect(x: 48, y: 369, width: 292, height: 29)) + titleOfEvent.font = UIFont(name: "Bebas", size: 22) + titleOfEvent.text = passedEvent?.eventTitle + titleOfEvent.textAlignment = NSTextAlignment.center + view.addSubview(titleOfEvent) + + paragraphText = UILabel(frame: CGRect(x: 42, y: 408, width: 292, height: 48)) + paragraphText.textAlignment = NSTextAlignment.center + paragraphText.numberOfLines = 0 + paragraphText.font = UIFont(name: "AvenirNext-Regular", size: 12) + paragraphText.text = passedEvent?.eventDescription + view.addSubview(paragraphText) + } + + func pressedCountMeIn() { + if (addToRSVP.currentImage == #imageLiteral(resourceName: "NotYetRsvp")) { + passedEvent.rsvp.append((currUser as NSString?)!) + addToRSVP.setImage(#imageLiteral(resourceName: "Rsvped"), for: .normal) + } else if (addToRSVP.currentImage == #imageLiteral(resourceName: "Rsvped")) { + for (index, value) in passedEvent.rsvp.enumerated() { + if value == (currUser as NSString?)! { + passedEvent.rsvp.remove(at: index) + } + } + addToRSVP.setImage(#imageLiteral(resourceName: "NotYetRsvp"), for: .normal) + } + + let eventsRef = FIRDatabase.database().reference().child("events") + let uniqueEventRef = eventsRef.child(eventIds[indexPath] as String) + uniqueEventRef.child("userRsvp").setValue(passedEvent.rsvp) + + + numInterested.setTitle("\(passedEvent.rsvp.count) people interested", for: .normal) + + } + + func displayImage() { + if (passedEvent.downloadURL != nil) { + // Obtain URL from the FIRDatabase reference + // postPhoto URL + let obtainURL = NSURL(string: passedEvent.downloadURL!) + // this URL convert into Data + let picChosen = NSData(contentsOf: obtainURL as! URL) + + if picChosen != nil { + self.eventImage.image = UIImage(data: picChosen as! Data) + } else { + print("An error occured while retrieving your uploaded picture") + } + } + } + + func pressedViewInterested() { + performSegue(withIdentifier: "aModal", sender: self) + } + + func getUsers() { + let usersRef = FIRDatabase.database().reference().child("users") + let eventRef = FIRDatabase.database().reference().child("events").child(eventIds[indexPath] as String) + + eventRef.observe(.value, with: { (snapshot) in + if snapshot.hasChild("userRsvp") { + let dict = snapshot.value as? [String : AnyObject] + self.allRsvp = dict?["userRsvp"] as! [NSString] + + usersRef.observe(.value, with: { (snapshot) in + let dictionary = snapshot.value as? [String : AnyObject] + for stringIds in self.allRsvp { + let user = User() + let userInfo = dictionary?[stringIds as String] + let firstName = (userInfo?["firstName"])! + let lastName = (userInfo?["lastName"])! + + user.name = "\(firstName!) \(lastName!)" + self.users.append(user) + } + + }) + + } + + }) + } + + + +// +// let ref = rootRef.child("events").child("\(events[indexPath.row])") +// ref.observe(.value, with: { (snapshot) in +// if let dictionary = snapshot.value as? [String: AnyObject]{ +// let event = Event() +// event.eventTitle = dictionary["eventTitle"] as! String? +// event.eventDate = dictionary["eventDate"] as! String? +// event.eventDescription = dictionary["eventDescription"] as! String? +// event.downloadURL = dictionary["downloadURL"] as! String? +// event.poster = dictionary["poster"] as! String? +// event.posterName = dictionary["posterName"] as! String? +// +// if snapshot.hasChild("userRsvp") { +// event.rsvp = dictionary["userRsvp"] as! [NSString] +// } +// +// self.eventsArray.append(event) +// + + + + + override func prepare(for segue: UIStoryboardSegue, sender: Any?) { + + + if segue.identifier == "aModal" { + let dest = segue.destination as? ModalViewController + + dest?.users = self.users + } + + } + + + + +} diff --git a/MDBSocials/DisplayNameTableViewCell.swift b/MDBSocials/DisplayNameTableViewCell.swift new file mode 100644 index 0000000..4158b54 --- /dev/null +++ b/MDBSocials/DisplayNameTableViewCell.swift @@ -0,0 +1,32 @@ +// +// DisplayNameTableViewCell.swift +// MDBSocials +// +// Created by Rochelle on 10/20/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit + +class DisplayNameTableViewCell: UITableViewCell { + + var displayName: UILabel! + + override func awakeFromNib() { + displayName = UILabel(frame: CGRect(x: 30, y: contentView.frame.height/2.2, width: 225, height: 29)) + displayName.textAlignment = NSTextAlignment.left + displayName.font = UIFont(name: "Avenir-Book", size: 28) + displayName.textColor = UIColor(red:0.60, green:0.83, blue:0.82, alpha:1.0) + contentView.addSubview(displayName) + + super.awakeFromNib() + // Initialization code + } + + override func setSelected(_ selected: Bool, animated: Bool) { + super.setSelected(selected, animated: animated) + + // Configure the view for the selected state + } + +} diff --git a/MDBSocials/Event.swift b/MDBSocials/Event.swift new file mode 100644 index 0000000..0d03c7d --- /dev/null +++ b/MDBSocials/Event.swift @@ -0,0 +1,19 @@ +// +// Event.swift +// MDBSocials +// +// Created by Eliot Han on 10/13/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit + +class Event: NSObject { + var eventTitle: String? + var eventDate: String? + var eventDescription: String? + var downloadURL: String? + var poster: String? + var rsvp: [NSString] = [] + var posterName: String? +} diff --git a/MDBSocials/EventTableViewCell.swift b/MDBSocials/EventTableViewCell.swift new file mode 100644 index 0000000..49bef9e --- /dev/null +++ b/MDBSocials/EventTableViewCell.swift @@ -0,0 +1,73 @@ +// +// EventTableViewCell.swift +// MDBSocials +// +// Created by Eliot Han on 10/5/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit + +class EventTableViewCell: UITableViewCell { + + var backgroundClear: UIImageView! + var defaultPostLabel: UIImageView! + var titleLabel: UILabel! + var rsvpLabel: UILabel! + var posterLabel: UILabel! + var backgroundImage: UIImage! + + + var rsvpButton: UIButton! + var delegate: EventTableViewCellDelegate? = nil + + + var event: Event? + + override func awakeFromNib() { + backgroundClear = UIImageView(frame: CGRect(x: 38, y: 12.5, width: 300, height: 57)) + backgroundClear.image = #imageLiteral(resourceName: "ClearBacking") + backgroundClear.contentMode = UIViewContentMode.scaleAspectFit + contentView.addSubview(backgroundClear) + + + defaultPostLabel = UIImageView(frame: CGRect(x: 47, y: 48.5, width: 60, height: 17)) + defaultPostLabel.image = #imageLiteral(resourceName: "PostedBy") + defaultPostLabel.contentMode = UIViewContentMode.scaleAspectFit + contentView.addSubview(defaultPostLabel) + + titleLabel = MDBSocialsUtils.makeLabel(frame: CGRect(x: 48, y: 17.5, width: 225, height: 29)) + titleLabel.font = UIFont(name: "Bebas", size: 22) + contentView.addSubview(titleLabel) + + rsvpLabel = UILabel(frame: CGRect(x: 281, y: 17.5, width: 100, height: 38)) + rsvpLabel.textAlignment = NSTextAlignment.right + rsvpLabel.font = UIFont(name: "Avenir-Book", size: 28) + contentView.addSubview(rsvpLabel) + + + rsvpButton = UIButton(frame: CGRect(x: 281, y: 17.5, width: 100, height: 38)) + rsvpButton.addTarget(self, action:#selector(rsvp), for: .touchUpInside) + contentView.addSubview(rsvpButton) + + posterLabel = UILabel(frame:CGRect(x: 112, y: 48, width: 167, height: 16)) + posterLabel.textAlignment = NSTextAlignment.left + posterLabel.font = UIFont(name: "AvenirNext-Regular", size: 12) + contentView.addSubview(posterLabel) + + + super.awakeFromNib() + // Initialization code + } + func rsvp(){ + print("buttonclicked") + delegate?.rsvp(cell : self) + } + + override func setSelected(_ selected: Bool, animated: Bool) { + super.setSelected(selected, animated: animated) + + // Configure the view for the selected state + } + +} diff --git a/MDBSocials/EventTableViewCellDelegate.swift b/MDBSocials/EventTableViewCellDelegate.swift new file mode 100644 index 0000000..1081b5c --- /dev/null +++ b/MDBSocials/EventTableViewCellDelegate.swift @@ -0,0 +1,14 @@ +// +// EventTableViewCellDelegate.swift +// MDBSocials +// +// Created by Eliot Han on 10/21/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import Foundation +protocol EventTableViewCellDelegate{ + func rsvp(cell : EventTableViewCell) + + +} diff --git a/MDBSocials/FeedViewController.swift b/MDBSocials/FeedViewController.swift new file mode 100644 index 0000000..2254ed8 --- /dev/null +++ b/MDBSocials/FeedViewController.swift @@ -0,0 +1,253 @@ +// +// FeedViewController.swift +// MDBSocials +// +// Created by Eliot Han on 10/4/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseDatabase +import FirebaseAuth +import FirebaseStorage + + +class FeedViewController: UIViewController { + let rootRef = Constants.Colors.rootRef + var events: [NSString] = [] + var tableView: UITableView! + var eventsArray: [Event] = [] + var selectedEvent: Event? + var currIndexPath: Int? + + let currUser = FIRAuth.auth()?.currentUser?.uid + + override func viewDidLoad() { + super.viewDidLoad() + configureDatabase() + setupTableView() + setupUI() + setupSignOutButton() + } + + func configureDatabase(){ + let eventsRef = rootRef.child("events") + + //let usersRef = rootRef.child("users") + + eventsRef.observe(.value, with: { snapshot in + var newEvents: [NSString] = [] + for event in snapshot.children.allObjects as! [FIRDataSnapshot] { + + newEvents.append(event.key as NSString) + self.events.append(event.key as NSString) + } + + + self.events = newEvents + print("events :") + print(self.events) + + self.tableView.reloadData() + }) + + + } + override func viewWillAppear(_ animated: Bool) { + tableView.reloadData() + } + + override func prepare(for segue: UIStoryboardSegue, sender: Any?) { + if segue.identifier == "moreInfo" { + let dest = segue.destination as? DetailViewController + dest?.passedEvent = selectedEvent + dest?.eventIds = events + dest?.indexPath = currIndexPath + } + } + + + func setupTableView(){ + tableView = UITableView(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height)) + tableView.register(EventTableViewCell.self, forCellReuseIdentifier: "eventCell") + tableView.rowHeight = 80 + tableView.dataSource = self + tableView.delegate = self + view.addSubview(tableView!) + + } + + func setupUI(){ + let bttn = UIButton() + bttn.setImage(#imageLiteral(resourceName: "CalendarIcon"), for: .normal) + bttn.frame = CGRect(x: 0, y: 0, width: 20, height: 20) + bttn.addTarget(self, action: #selector(FeedViewController.showCreateEventVC), for: .touchUpInside) + let addEventButton = UIBarButtonItem() + addEventButton.customView = bttn + self.navigationItem.rightBarButtonItem = addEventButton + self.navigationController?.navigationBar.setBackgroundImage(#imageLiteral(resourceName: "Bar"), for: .default) + self.navigationItem.titleView = UIImageView(image: #imageLiteral(resourceName: "OpenSocials")) + } + + func showCreateEventVC(){ + performSegue(withIdentifier: "segueToCreateEventVC", sender: self) + } + + @IBAction func unwindToFeedVC(_ segue: UIStoryboardSegue) { + print("unwinded!") + } + + + func setupSignOutButton(){ + let signOutButton = UIBarButtonItem(barButtonSystemItem: .stop, target: self, action: #selector(FeedViewController.signOut)) + self.navigationItem.leftBarButtonItem = signOutButton + + } + + func signOut(){ + do { + try FIRAuth.auth()?.signOut() + performSegue(withIdentifier: "afterSignOut", sender: self) + self.navigationController?.isNavigationBarHidden = true + } catch let error as NSError { + print(error) + } + + } + + + + override func viewWillDisappear(_ animated: Bool) + { + super.viewWillDisappear(animated) + } + +} + +extension FeedViewController: UITableViewDelegate, UITableViewDataSource{ + func numberOfSections(in tableView: UITableView) -> Int { + return 1 + } + + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + return events.count + } + + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + let cell = tableView.dequeueReusableCell(withIdentifier: "eventCell", for: indexPath) as! EventTableViewCell + for subview in cell.contentView.subviews{ + subview.removeFromSuperview() + } + cell.delegate = self + cell.awakeFromNib() + return cell + + } + + func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) { + let eventCell = cell as! EventTableViewCell + + let ref = rootRef.child("events").child("\(events[indexPath.row])") + ref.observe(.value, with: { (snapshot) in + if let dictionary = snapshot.value as? [String: AnyObject]{ + let event = Event() + event.eventTitle = dictionary["eventTitle"] as! String? + event.eventDate = dictionary["eventDate"] as! String? + event.eventDescription = dictionary["eventDescription"] as! String? + event.downloadURL = dictionary["downloadURL"] as! String? + event.poster = dictionary["poster"] as! String? + event.posterName = dictionary["posterName"] as! String? + + if snapshot.hasChild("userRsvp") { + event.rsvp = dictionary["userRsvp"] as! [NSString] + } + + self.eventsArray.append(event) + print(event.eventDate) + print(event.eventTitle) + print(self.eventsArray) + + DispatchQueue.main.async { + eventCell.titleLabel.text = event.eventTitle + eventCell.rsvpLabel.text = "+\(event.rsvp.count)" + eventCell.posterLabel.text = event.posterName + eventCell.event = event + } + + //eventCell.backgroundColor = self.colorAtIndex(currIndex: indexPath.row) +// if event.downloadURL != nil { +// let obtainURL = NSURL(string: event.downloadURL!) +// // this URL convert into Data +// let picChosen = NSData(contentsOf: obtainURL as! URL) +// +// if picChosen != nil { +// eventCell.backgroundImage = UIImage(data: picChosen as! Data) +// let imgView = UIImageView(image: eventCell.backgroundImage) +// imgView.contentMode = UIViewContentMode.scaleAspectFill +// +// +// } else { +// print("An error occured while retrieving your uploaded picture") +// } +// } + + } + }) + } + + func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + selectedEvent = eventsArray[indexPath.row] + currIndexPath = indexPath.row + performSegue(withIdentifier: "moreInfo", sender: self) + tableView.deselectRow(at: indexPath, animated: false) + } + +// func colorAtIndex(currIndex: Int) -> UIColor { +// var thisOne = eventsArray[currIndex] +// var currRsvp = Int(thisOne.rsvp) +// if currRsvp == 0 { +// return UIColor(red:0.83, green:0.38, blue:0.38, alpha:1.0) +// } else if currRsvp! >= 5 { +// return UIColor(red:0.91, green:0.66, blue:0.34, alpha:1.0) +// } else if currRsvp! >= 10 { +// return UIColor(red:0.94, green:0.90, blue:0.44, alpha:1.0) +// } else { +// return UIColor(red:0.67, green:0.87, blue:0.36, alpha:1.0) +// } +// } + + + + +// eventsRef.observe(.value, with: { snapshot in +// var newEvents: [NSString] = [] +// for event in snapshot.children.allObjects as! [FIRDataSnapshot] { +// +// newEvents.append(event.key as! NSString) +// } +// +// +// self.events = newEvents +// print(self.events) +// +// self.tableView.reloadData() +// }) +// +// +//} + + +} + + + +extension FeedViewController: EventTableViewCellDelegate{ + + func rsvp(cell: EventTableViewCell){ + cell.event?.rsvp.append((currUser as? NSString)!) + let count = (Int(cell.rsvpLabel.text!))! + 1 + print(count) + cell.rsvpLabel.text = "+\(count)" + } +} diff --git a/MDBSocials/GoogleService-Info.plist b/MDBSocials/GoogleService-Info.plist new file mode 100644 index 0000000..64b6008 --- /dev/null +++ b/MDBSocials/GoogleService-Info.plist @@ -0,0 +1,40 @@ + + + + + AD_UNIT_ID_FOR_BANNER_TEST + ca-app-pub-3940256099942544/2934735716 + AD_UNIT_ID_FOR_INTERSTITIAL_TEST + ca-app-pub-3940256099942544/4411468910 + CLIENT_ID + 1096756488511-jl423ihudsr6nhboc2tpkv56efktltpb.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.1096756488511-jl423ihudsr6nhboc2tpkv56efktltpb + API_KEY + AIzaSyDILKx77FGnRaWIWgJyLCuzhV4LAfDTl4c + GCM_SENDER_ID + 1096756488511 + PLIST_VERSION + 1 + BUNDLE_ID + com.eliothan.MDBSocials + PROJECT_ID + mdbsocials2 + STORAGE_BUCKET + mdbsocials2.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:1096756488511:ios:25d2fba347c2d0e7 + DATABASE_URL + https://mdbsocials2.firebaseio.com + + \ No newline at end of file diff --git a/MDBSocials/Info.plist b/MDBSocials/Info.plist new file mode 100644 index 0000000..1f28107 --- /dev/null +++ b/MDBSocials/Info.plist @@ -0,0 +1,51 @@ + + + + + NSPhotoLibraryUsageDescription + You want to upload a pic or not? + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIAppFonts + + BEBAS___.TTF + + + diff --git a/MDBSocials/LoginViewController.swift b/MDBSocials/LoginViewController.swift new file mode 100644 index 0000000..646b307 --- /dev/null +++ b/MDBSocials/LoginViewController.swift @@ -0,0 +1,154 @@ +// +// LoginViewController.swift +// MDBSocials +// +// Created by Eliot Han on 10/4/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseAuth + +class LoginViewController: UIViewController { + var titleLabel: UILabel! + var secondTitle: UILabel! + var emailField: UITextField! + var passwordField: UITextField! + var createAccountButton: UIButton! + var loginButton: UIButton! + + var titleImg: UIImageView! + var secondTitleImg: UIImageView! + + + var username: String? + var password: String? + + + override func viewDidLoad() { + super.viewDidLoad() + setupUI() + self.view.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "MainBG")) + + // Do any additional setup after loading the view. + } + + override func viewDidAppear(_ animated: Bool) { + FIRAuth.auth()?.addStateDidChangeListener{ auth, user in + if user != nil { + // User is signed in. + + + let fvc = self.storyboard?.instantiateViewController(withIdentifier: "FeedViewController") as! FeedViewController + let navigationController = UINavigationController(rootViewController: fvc) + self.present(navigationController, animated: true, completion: nil) + + } else { + // No user is signed in. + } + } + } + + func setupUI(){ +// titleLabel = UILabel(frame: CGRect(x: 0, y: view.frame.height/2 - 80, width: view.frame.width, height: 100)) +// //titleLabel.font = UIFont(name: "Avenir-Light", size: 30.0) +// titleLabel.isUserInteractionEnabled = false +// titleLabel.text = "Mobile Developers of Berkeley" +// titleLabel.font = UIFont(name: "Bebas", size: 36) +// secondTitle = UILabel(frame: CGRect(x: 108, y: 263, width: 150, height: 46)) +// secondTitle.text = "socials" +// secondTitle.font = UIFont(name: "MarkMyWords", size: 36) +// view.addSubview(secondTitle) +// view.addSubview(titleLabel) + + titleImg = UIImageView(frame: CGRect(x: 85, y: 122, width: 206, height: 141)) + titleImg.image = #imageLiteral(resourceName: "MobileTitle") + titleImg.contentMode = UIViewContentMode.scaleAspectFit + secondTitleImg = UIImageView(frame: CGRect(x: 108, y: 263, width: 150, height: 46)) + secondTitleImg.image = #imageLiteral(resourceName: "Socials") + secondTitleImg.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(secondTitleImg) + view.addSubview(titleImg) + +// emailField = UITextField(frame: CGRect(x: view.frame.width/2 - 25, y: view.frame.height/2, width: view.frame.width, height: 50)) +// emailField.placeholder = "Enter your email" +// emailField.keyboardType = UIKeyboardType.emailAddress +// emailField.font = UIFont(name: "AvenirNext-Regular", size: 13.0) +// view.addSubview(emailField) + + emailField = UITextField(frame: CGRect(x: 66, y: 349, width: 244, height: 33)) + emailField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "DefaultTextView")) + emailField.placeholder = "E-mail" +// let imageView = UIView(frame: CGRect(x: 15, y: 0, width: 25, height: 22.22)) +// let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 16.94, height: 22.22)) +// emailField.leftViewMode = UITextFieldViewMode.always +// emailField.leftView = imageView +// let image: UIImage = #imageLiteral(resourceName: "PeopleIcon") +// imageView.image = image +// emailField.leftView = imageView + view.addSubview(emailField) + +// passwordField = UITextField(frame: CGRect(x: view.frame.width/2 - 25, y: view.frame.height/2 + 30, width: view.frame.width, height: 50)) +// passwordField.placeholder = "Password" +// passwordField.isSecureTextEntry = true +// passwordField.font = UIFont(name: "AvenirNext-Regular", size: 13.0) +// view.addSubview(passwordField) + + passwordField = UITextField(frame: CGRect(x: 66, y: 394, width: 244, height: 33)) + passwordField.isSecureTextEntry = true + passwordField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "DefaultTextView")) + passwordField.placeholder = "Password" + view.addSubview(passwordField) + +// createAccountButton = UIButton(frame: CGRect(x: 20, y: passwordField.frame.maxY + 25, width: view.frame.width - 20, height: 50)) +// createAccountButton.setTitle("Register for a new account", for: .normal) +// createAccountButton.addTarget(self, action: #selector(createAccountButtonPressed(_:)), for: .touchUpInside) +// createAccountButton.titleLabel!.font = UIFont(name: "HelveticaNeue-Bold", size: 16.0) +// createAccountButton.setTitleColor(UIColor.black, for: UIControlState.normal) +// view.addSubview(createAccountButton) + + createAccountButton = UIButton(frame: CGRect(x: 91, y: 490, width: 197, height: 21)) + createAccountButton.setImage(#imageLiteral(resourceName: "NewAcc"), for: .normal) + createAccountButton.imageView?.contentMode = UIViewContentMode.scaleAspectFit + createAccountButton.addTarget(self, action: #selector(createAccountButtonPressed(_:)), for: .touchUpInside) + view.addSubview(createAccountButton) + +// loginButton = UIButton(frame: CGRect(x: 20, y: createAccountButton.frame.maxY + 25, width: view.frame.width - 20, height: 50)) +// loginButton.setTitle("Login", for: .normal) +// loginButton.addTarget(self, action:#selector(loginButtonPressed(_:)), for: .touchUpInside) +// loginButton.titleLabel!.font = UIFont(name: "HelveticaNeue-Bold", size: 16.0) +// loginButton.setTitleColor(UIColor.black, for: UIControlState.normal) +// view.addSubview(loginButton) + loginButton = UIButton(frame: CGRect(x: 123, y: 453, width: 131, height: 33)) + loginButton.setBackgroundImage(#imageLiteral(resourceName: "Login"), for: .normal) + loginButton.contentMode = UIViewContentMode.scaleAspectFit + loginButton.addTarget(self, action: #selector(loginButtonPressed(_:)), for: .touchUpInside) + + view.addSubview(loginButton) + + + } + + func createAccountButtonPressed(_ sender: UIButton!){ + //segue to create account screen + self.performSegue(withIdentifier: "segueToSignupVC", sender: self) + + } + + func loginButtonPressed(_ _sender: UIButton){ + guard let email = emailField.text, let password = passwordField.text else { return } + FIRAuth.auth()?.signIn(withEmail: email, password: password, completion: { (user, error) in + if let error = error { + print(error) + return + } else { + //self.signedIn(user) + print("signed in!") + self.performSegue(withIdentifier: "segueToFeedVC", sender: self) + } + }) + } + + +} diff --git a/MDBSocials/MDBSocials.entitlements b/MDBSocials/MDBSocials.entitlements new file mode 100644 index 0000000..9fb81cc --- /dev/null +++ b/MDBSocials/MDBSocials.entitlements @@ -0,0 +1,10 @@ + + + + + keychain-access-groups + + $(AppIdentifierPrefix)com.eliothan.MDBSocials + + + diff --git a/MDBSocials/MDBSocialsUtils.swift b/MDBSocials/MDBSocialsUtils.swift new file mode 100644 index 0000000..37efbd7 --- /dev/null +++ b/MDBSocials/MDBSocialsUtils.swift @@ -0,0 +1,20 @@ +// +// MDBSocialsUTils.swift +// MDBSocials +// +// Created by Eliot Han on 10/21/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import Foundation +import UIKit +class MDBSocialsUtils{ + + static func makeLabel(frame: CGRect) -> UILabel{ + var label = UILabel(frame: frame) + label.textAlignment = NSTextAlignment.left + return label + } + + +} diff --git a/MDBSocials/ModalViewController.swift b/MDBSocials/ModalViewController.swift new file mode 100644 index 0000000..18202f5 --- /dev/null +++ b/MDBSocials/ModalViewController.swift @@ -0,0 +1,93 @@ +// +// ModalViewController.swift +// MDBSocials +// +// Created by Rochelle on 10/20/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseAuth +import FirebaseDatabase + +class ModalViewController: UIViewController, UITableViewDelegate, UITableViewDataSource { + var tableV: UITableView! + //var allEvents: [NSString]! + //var usersRsvp: [NSString]! + + //var names: [String] = [] + + var users: [User]! = [] + + override func viewDidLoad() { + super.viewDidLoad() + + print(self.users.count) + setupUI() + setupTableView() + + // Do any additional setup after loading the view. + } + + func goBack(){ + dismiss(animated: true, completion: nil) + } + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + func setupTableView(){ + tableV = UITableView(frame: CGRect(x: 0, y: UIApplication.shared.statusBarFrame.height + 44, width: view.frame.width, height: view.frame.height-44)) + tableV.register(DisplayNameTableViewCell.self, forCellReuseIdentifier: "eachName") + tableV.rowHeight = 80 + tableV.dataSource = self + tableV.delegate = self + view.addSubview(tableV!) + + } + + func setupUI(){ + let bttn = UIButton(frame: CGRect(x: 150, y: 543, width: 68, height: 33)) + bttn.setImage(#imageLiteral(resourceName: "back"), for: .normal) + bttn.addTarget(self, action: #selector(quitModal), for: .touchUpInside) + + let navBar: UINavigationBar = UINavigationBar(frame: CGRect(x: 0, y: UIApplication.shared.statusBarFrame.height, width: 320, height: 44)) + self.view.addSubview(navBar); + let navItem = UINavigationItem(title: ""); + let doneItem = UIBarButtonItem(barButtonSystemItem: .done, target: nil, action: "quitModal"); + navItem.leftBarButtonItem = doneItem; + navBar.setItems([navItem], animated: false); + } + + func quitModal() { + dismiss(animated: true, completion: nil) + } + + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + + return users.count + } + + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + let cell = tableV.dequeueReusableCell(withIdentifier: "eachName", for: indexPath) as! DisplayNameTableViewCell + for subview in cell.contentView.subviews{ + subview.removeFromSuperview() + } + cell.awakeFromNib() + return cell + } + + func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) { + let eachCell = cell as! DisplayNameTableViewCell + if users.count != 0 { + eachCell.displayName.text = users[indexPath.row].name + } + } + + + + + +} diff --git a/MDBSocials/SignupViewController.swift b/MDBSocials/SignupViewController.swift new file mode 100644 index 0000000..96642bb --- /dev/null +++ b/MDBSocials/SignupViewController.swift @@ -0,0 +1,165 @@ +// +// SignupViewController.swift +// MDBSocials +// +// Created by Eliot Han on 10/4/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit +import Firebase +import FirebaseAuth +import FirebaseDatabase + +class SignupViewController: UIViewController { + + //COMIMIT + var firstName: UIImageView! + var lastName: UIImageView! + + var firstNameField: UITextField! + var lastNameField: UITextField! + + var usernameDisplay: UIImageView! + var usernameField: UITextField! + + var passwordDisplay: UIImageView! + var passwordField: UITextField! + + var emailDisplay: UIImageView! + var emailField: UITextField! + + var registerBox: UIButton! + var signUpDisplay: UIImageView! + var clearBoxView: UIImageView! + var cancelRegistration: UIButton! + + var password: String = "" + var username: String = "" + var email: String = "" + + override func viewDidLoad() { + super.viewDidLoad() + setUpUI() + self.view.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "SignUpBG")) + // Do any additional setup after loading the view. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + override func viewDidAppear(_ animated: Bool) { + + } + + func setUpUI() { + signUpDisplay = UIImageView(frame: CGRect(x: 99, y: 111, width: 165, height: 46)) + signUpDisplay.image = #imageLiteral(resourceName: "SignUp") + signUpDisplay.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(signUpDisplay) + + clearBoxView = UIImageView(frame: CGRect(x: 38, y: 150, width: 303, height: 369)) + clearBoxView.image = #imageLiteral(resourceName: "ClearBox") + clearBoxView.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(clearBoxView) + + firstName = UIImageView(frame: CGRect(x: 48, y: 162, width: 75, height: 19)) + firstName.image = #imageLiteral(resourceName: "FirstName") + firstName.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(firstName) + + lastName = UIImageView(frame: CGRect(x: 205, y: 163, width: 73, height: 19)) + lastName.image = #imageLiteral(resourceName: "LastName") + lastName.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(lastName) + + firstNameField = UITextField(frame: CGRect(x: 47, y: 181, width: 122, height: 33)) + firstNameField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "FLNameBox")) + view.addSubview(firstNameField) + lastNameField = UITextField(frame: CGRect(x: 204, y: 181, width: 122, height: 33)) + lastNameField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "FLNameBox")) + view.addSubview(lastNameField) + + usernameDisplay = UIImageView(frame: CGRect(x: 45.5, y: 227, width: 70, height: 19)) + usernameDisplay.image = #imageLiteral(resourceName: "Username") + usernameDisplay.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(usernameDisplay) + usernameField = UITextField(frame: CGRect(x: 46, y: 246, width: 273, height: 33)) + usernameField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "RegTextFieldBox")) + view.addSubview(usernameField) + + passwordDisplay = UIImageView(frame: CGRect(x: 46, y: 299, width: 65, height: 19)) + passwordDisplay.image = #imageLiteral(resourceName: "Password") + passwordDisplay.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(passwordDisplay) + passwordField = UITextField(frame: CGRect(x: 46, y: 318, width: 279, height: 33)) + passwordField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "RegTextFieldBox")) + passwordField.isSecureTextEntry = true + view.addSubview(passwordField) + + emailDisplay = UIImageView(frame: CGRect(x: 48, y: 373, width: 38, height: 19)) + emailDisplay.image = #imageLiteral(resourceName: "Email") + emailDisplay.contentMode = UIViewContentMode.scaleAspectFit + view.addSubview(emailDisplay) + emailField = UITextField(frame: CGRect(x: 47, y: 389, width: 279, height: 33)) + emailField.backgroundColor = UIColor(patternImage: #imageLiteral(resourceName: "RegTextFieldBox")) + view.addSubview(emailField) + + registerBox = UIButton(frame: CGRect(x: 107, y: 442, width: 165, height: 33)) + registerBox.setImage(#imageLiteral(resourceName: "RegisterButton"), for: .normal) + registerBox.addTarget(self, action:#selector(pressRegister(_:)), for: .touchUpInside) + view.addSubview(registerBox) + + cancelRegistration = UIButton(frame: CGRect(x: 117, y: 483, width: 147, height: 21)) + cancelRegistration.setImage(#imageLiteral(resourceName: "CancelReg"), for: .normal) + cancelRegistration.addTarget(self, action: #selector(goBackHome), for: .touchUpInside) + view.addSubview(cancelRegistration) + } + + func goBackHome() { + performSegue(withIdentifier: "cancelReg", sender: self) + } + + func pressRegister(_ sender: UIButton!) { + guard let emailAdd = emailField.text, let pass = passwordField.text else { return } + FIRAuth.auth()?.createUser(withEmail: emailAdd, password: pass, completion: { (user, error) in + if let error = error { + print(error) + return + } else { + print("User registered!") + + FIRAuth.auth()?.signIn(withEmail: emailAdd, password: pass, completion: { (user, error) in + if let error = error { + print(error) + return + } else { + //self.signedIn(user) + print("signed in!") + + //Create User Object in FirDatabase + let rootRef = FIRDatabase.database().reference() + let uid = FIRAuth.auth()?.currentUser?.uid + let userData: [String: NSString] = ["firstName": (self.firstNameField.text as NSString?)!, "lastName": (self.lastNameField.text as NSString?)!, "uid": (uid as NSString?)!, "username": (self.usernameField.text as NSString?)!] + + + let usersRef = rootRef.child("users") + usersRef.child(uid!).setValue(userData){ (error, snap) in + print("Success in creating user in Firdatabase") + print(error) + } + + + self.performSegue(withIdentifier: "toFeedAfterRegister", sender: self) + } + }) + } + }) + } + + + + +} diff --git a/MDBSocials/User.swift b/MDBSocials/User.swift new file mode 100644 index 0000000..b9c746b --- /dev/null +++ b/MDBSocials/User.swift @@ -0,0 +1,15 @@ +// +// Users.swift +// MDBSocials +// +// Created by Eliot Han on 10/21/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit + +class User: NSObject { + var name: String? + + var uid: String? +} diff --git a/MDBSocials/ViewController.swift b/MDBSocials/ViewController.swift new file mode 100644 index 0000000..e9bb1e0 --- /dev/null +++ b/MDBSocials/ViewController.swift @@ -0,0 +1,26 @@ +// +// ViewController.swift +// MDBSocials +// +// Created by Eliot Han on 10/3/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + +} + diff --git a/MDBSocialsTests/Info.plist b/MDBSocialsTests/Info.plist new file mode 100644 index 0000000..6c6c23c --- /dev/null +++ b/MDBSocialsTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/MDBSocialsTests/MDBSocialsTests.swift b/MDBSocialsTests/MDBSocialsTests.swift new file mode 100644 index 0000000..360e86f --- /dev/null +++ b/MDBSocialsTests/MDBSocialsTests.swift @@ -0,0 +1,36 @@ +// +// MDBSocialsTests.swift +// MDBSocialsTests +// +// Created by Eliot Han on 10/3/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import XCTest +//@testable import MDBSocials + +class MDBSocialsTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/MDBSocialsUITests/Info.plist b/MDBSocialsUITests/Info.plist new file mode 100644 index 0000000..6c6c23c --- /dev/null +++ b/MDBSocialsUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/MDBSocialsUITests/MDBSocialsUITests.swift b/MDBSocialsUITests/MDBSocialsUITests.swift new file mode 100644 index 0000000..b8db4b6 --- /dev/null +++ b/MDBSocialsUITests/MDBSocialsUITests.swift @@ -0,0 +1,36 @@ +// +// MDBSocialsUITests.swift +// MDBSocialsUITests +// +// Created by Eliot Han on 10/3/16. +// Copyright © 2016 Eliot Han. All rights reserved. +// + +import XCTest + +class MDBSocialsUITests: XCTestCase { + + override func setUp() { + super.setUp() + + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + XCUIApplication().launch() + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + +} diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..7a4f0d5 --- /dev/null +++ b/Podfile @@ -0,0 +1,11 @@ +platform :ios, '9.0' + +target "MDBSocials" do + +pod 'Firebase' +pod 'Firebase/Auth' +pod 'Firebase/Database' +pod 'Firebase/Storage' + + +end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..ed4e03f --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,63 @@ +PODS: + - Firebase (3.7.1): + - Firebase/Core (= 3.7.1) + - Firebase/Auth (3.7.1): + - Firebase/Core + - FirebaseAuth (= 3.0.5) + - Firebase/Core (3.7.1): + - FirebaseAnalytics (= 3.4.4) + - FirebaseCore (= 3.4.3) + - Firebase/Database (3.7.1): + - Firebase/Core + - FirebaseDatabase (= 3.0.3) + - Firebase/Storage (3.7.1): + - Firebase/Core + - FirebaseStorage (= 1.0.3) + - FirebaseAnalytics (3.4.4): + - FirebaseCore (~> 3.4) + - FirebaseInstanceID (~> 1.0) + - GoogleInterchangeUtilities (~> 1.2) + - GoogleSymbolUtilities (~> 1.1) + - FirebaseAuth (3.0.5): + - FirebaseAnalytics (~> 3.3) + - GoogleNetworkingUtilities (~> 1.2) + - GoogleUtilities (~> 1.2) + - FirebaseCore (3.4.3): + - GoogleInterchangeUtilities (~> 1.2) + - GoogleUtilities (~> 1.2) + - FirebaseDatabase (3.0.3): + - FirebaseAnalytics (~> 3.3) + - FirebaseInstanceID (1.0.8) + - FirebaseStorage (1.0.3): + - FirebaseAnalytics (~> 3.3) + - GoogleNetworkingUtilities (~> 1.2) + - GoogleInterchangeUtilities (1.2.2): + - GoogleSymbolUtilities (~> 1.1) + - GoogleNetworkingUtilities (1.2.2): + - GoogleSymbolUtilities (~> 1.1) + - GoogleSymbolUtilities (1.1.2) + - GoogleUtilities (1.3.2): + - GoogleSymbolUtilities (~> 1.1) + +DEPENDENCIES: + - Firebase + - Firebase/Auth + - Firebase/Database + - Firebase/Storage + +SPEC CHECKSUMS: + Firebase: be473484f0d515e72ffd04acf22f981773c23e58 + FirebaseAnalytics: 0533a00b681e08fd0b2cd0444b7ddf0ef9fd7a1a + FirebaseAuth: 75a062bbf2d3c97d1e6e55bbc110e13a6853e25d + FirebaseCore: 5a885548bbc5f0c410b04f8e9ac9d73ff1221907 + FirebaseDatabase: 750a4a0fe18ef114318876fd654b2d9c671e0992 + FirebaseInstanceID: ba1e640935235e5fac39dfa816fe7660e72e1a8a + FirebaseStorage: 3992817bf405f5c1a4f8349678d22724cd0ef509 + GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7 + GoogleNetworkingUtilities: 3edd3a8161347494f2da60ea0deddc8a472d94cb + GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96 + GoogleUtilities: 8bbc733218aad26306f9d4a253823986110e3358 + +PODFILE CHECKSUM: 993896036b516895b018f388192a132d478faf13 + +COCOAPODS: 1.0.1 diff --git a/Pods/Firebase/.cocoapods.yml b/Pods/Firebase/.cocoapods.yml new file mode 100755 index 0000000..57e7572 --- /dev/null +++ b/Pods/Firebase/.cocoapods.yml @@ -0,0 +1,5 @@ +try: + install: + pre: + - git clone https://github.com/firebase/quickstart-ios + diff --git a/Pods/Firebase/CHANGELOG.md b/Pods/Firebase/CHANGELOG.md new file mode 100755 index 0000000..194e852 --- /dev/null +++ b/Pods/Firebase/CHANGELOG.md @@ -0,0 +1,5 @@ +Please go to https://firebase.google.com/support/release-notes/ios#3.7.1 +to view the Firebase iOS release notes. + +You can find information about prior changes to the Firebase pod and Firebase +Database [here](https://www.firebase.com/docs/ios/changelog.html). diff --git a/Pods/Firebase/Core/Sources/Firebase.h b/Pods/Firebase/Core/Sources/Firebase.h new file mode 100755 index 0000000..90798a6 --- /dev/null +++ b/Pods/Firebase/Core/Sources/Firebase.h @@ -0,0 +1,52 @@ +#import +#import + +#if !defined(__has_include) + #error "Firebase.h won't import anything if your compiler doesn't support __has_include. Please \ + import the headers individually." +#else + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + + #if __has_include() + #import + #endif + +#endif // defined(__has_include) diff --git a/Pods/Firebase/Core/Sources/module.modulemap b/Pods/Firebase/Core/Sources/module.modulemap new file mode 100755 index 0000000..3685b54 --- /dev/null +++ b/Pods/Firebase/Core/Sources/module.modulemap @@ -0,0 +1,4 @@ +module Firebase { + export * + header "Firebase.h" +} \ No newline at end of file diff --git a/Pods/Firebase/NOTICES b/Pods/Firebase/NOTICES new file mode 100755 index 0000000..a2699e0 --- /dev/null +++ b/Pods/Firebase/NOTICES @@ -0,0 +1,211 @@ +Google LevelDB +Copyright (c) 2011 The LevelDB Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation andor other materials provided with the distribution. + +Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-- + +Square Socket Rocket +Copyright 2012 Square Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +-- + +APLevelDB +Created by Adam Preble on 12312. +Copyright (c) 2012 Adam Preble. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, andor sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +-- + +sqlite3 +2001 September 15 + +The author disclaims copyright to this source code. In place of +a legal notice, here is a blessing: + + May you do good and not evil. + May you find forgiveness for yourself and forgive others. + May you share freely, never taking more than you give. + + +This header file defines the interface that the SQLite library +presents to client programs. If a C-function, structure, datatype, +or constant definition does not appear in this file, then it is +not a published API of SQLite, is subject to change without +notice, and should not be referenced by programs that use SQLite. + +Some of the definitions that are in this file are marked as +"experimental". Experimental interfaces are normally new +features recently added to SQLite. We do not anticipate changes +to experimental interfaces but reserve the right to make minor changes +if experience from use "in the wild" suggest such changes are prudent. + +The official C-language API documentation for SQLite is derived +from comments in this file. This file is the authoritative source +on how SQLite interfaces are suppose to operate. + +The name of this file under configuration management is "sqlite.h.in". +The makefile makes some minor changes to this file (such as inserting +the version number) and changes its name to "sqlite3.h" as +part of the build process. + + +-- + +sysutsname.h +Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + +This file contains Original Code andor Modifications of Original Code +as defined in and that are subject to the Apple Public Source License +Version 2.0 (the 'License'). You may not use this file except in +compliance with the License. The rights granted to you under the License +may not be used to create, or enable the creation or redistribution of, +unlawful or unlicensed copies of an Apple operating system, or to +circumvent, violate, or enable the circumvention or violation of, any +terms of an Apple operating system software license agreement. + +Please obtain a copy of the License at +http://www.opensource.apple.com/apsl and read it before using this file. + +The Original Code and all software distributed under the License are +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +Please see the License for the specific language governing rights and +limitations under the License. + +Copyright 1993,1995 NeXT Computer Inc. All Rights Reserved +Copyright (c) 1994 The Regents of the University of California. All rights reserved. +This code is derived from software contributed to Berkeley by +Chuck Karish of Mindcraft, Inc. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation andor other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: +* This product includes software developed by the University of +* California, Berkeley and its contributors. +4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +-- + +GTMNSData+zlib.h +Copyright 2007-2008 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy +of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + + +-- + +GTMDefines.h +Copyright 2008 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy +of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + +-- + +ProtocolBuffer +Copyright 2008 Cyrus Najmabadi +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-- + +GTMDefines.h +Copyright 2008 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy +of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + +-- diff --git a/Pods/Firebase/README.md b/Pods/Firebase/README.md new file mode 100755 index 0000000..bfc5419 --- /dev/null +++ b/Pods/Firebase/README.md @@ -0,0 +1,76 @@ +# Firebase APIs for iOS + +Simplify your iOS development, grow your user base, and monetize more +effectively with Firebase services. + +Much more information can be found at [https://firebase.google.com](https://firebase.google.com). + +## Install a Firebase SDK using CocoaPods + +Firebase distributes several iOS specific APIs and SDKs via CocoaPods. +You can install the CocoaPods tool on OS X by running the following command from +the terminal. Detailed information is available in the [Getting Started +guide](https://guides.cocoapods.org/using/getting-started.html#getting-started). + +``` +$ sudo gem install cocoapods +``` + +## Try out an SDK + +You can try any of the SDKs with `pod try`. Run the following command and select +the SDK you are interested in when prompted: + +``` +$ pod try Firebase +``` + +Note that some SDKs may require credentials. More information is available in +the SDK-specific documentation at [https://firebase.google.com/docs/](https://firebase.google.com/docs/). + +## Add a Firebase SDK to your iOS app + +CocoaPods is used to install and manage dependencies in existing Xcode projects. + +1. Create an Xcode project, and save it to your local machine. +2. Create a file named `Podfile` in your project directory. This file defines + your project's dependencies, and is commonly referred to as a Podspec. +3. Open `Podfile`, and add your dependencies. A simple Podspec is shown here: + + ``` + platform :ios, '7.0' + pod 'Firebase' + ``` + +4. Save the file. +5. Open a terminal and `cd` to the directory containing the Podfile. + + ``` + $ cd /project/ + ``` + +6. Run the `pod install` command. This will install the SDKs specified in the + Podspec, along with any dependencies they may have. + + ``` + $ pod install + ``` + +7. Open your app's `.xcworkspace` file to launch Xcode. + Use this file for all development on your app. +8. You can also install other Firebase SDKs by adding the subspecs in the + Podfile. + + ``` + pod 'Firebase/AdMob' + pod 'Firebase/Analytics' + pod 'Firebase/AppIndexing' + pod 'Firebase/Auth' + pod 'Firebase/Crash' + pod 'Firebase/Database' + pod 'Firebase/DynamicLinks' + pod 'Firebase/Invites' + pod 'Firebase/Messaging' + pod 'Firebase/RemoteConfig' + pod 'Firebase/Storage' + ``` diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/FirebaseAnalytics b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 100755 index 0000000..048c8d1 Binary files /dev/null and b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h new file mode 100755 index 0000000..e3ff4c1 --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,57 @@ +#import + +#import "FIRAnalytics.h" + +/** + * Provides App Delegate handlers to be used in your App Delegate. + * + * To save time integrating Firebase Analytics in an application, Firebase Analytics does not + * require delegation implementation from the AppDelegate. Instead this is automatically done by + * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App + * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting + * it to NO, and adding the methods in this category to corresponding delegation handlers. + * + * To handle Universal Links, you must return YES in + * [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + */ +@interface FIRAnalytics (AppDelegate) + +/** + * Handles events related to a URL session that are waiting to be processed. + * + * For optimal use of Firebase Analytics, call this method from the + * [UIApplicationDelegate application:handleEventsForBackgroundURLSession:completionHandler] + * method of the app delegate in your app. + * + * @param identifier The identifier of the URL session requiring attention. + * @param completionHandler The completion handler to call when you finish processing the events. + * Calling this completion handler lets the system know that your app's user interface is + * updated and a new snapshot can be taken. + */ ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(void (^)(void))completionHandler; + +/** + * Handles the event when the app is launched by a URL. + * + * Call this method from [UIApplicationDelegate application:openURL:options:] (on iOS 9.0 and + * above), or [UIApplicationDelegate application:openURL:sourceApplication:annotation:] (on iOS 8.x + * and below) in your app. + * + * @param url The URL resource to open. This resource can be a network resource or a file. + */ ++ (void)handleOpenURL:(NSURL *)url; + +/** + * Handles the event when the app receives data associated with user activity that includes a + * Universal Link (on iOS 9.0 and above). + * + * Call this method from [UIApplication continueUserActivity:restorationHandler:] in your app + * delegate (on iOS 9.0 and above). + * + * @param userActivity The activity object containing the data associated with the task the user + * was performing. + */ ++ (void)handleUserActivity:(id)userActivity; + +@end diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h new file mode 100755 index 0000000..43ee86e --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -0,0 +1,71 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • app_clear_data
  • +///
  • app_remove
  • +///
  • app_update
  • +///
  • error
  • +///
  • first_open
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 32 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_" prefix +/// is reserved and should not be used. Note that event names are case-sensitive and that +/// logging two events whose names differ only in case will result in two distinct events. +/// @param parameters The dictionary of event parameters. Passing nil indicates that the event has +/// no parameters. Parameter names can be up to 24 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only NSString +/// and NSNumber (signed 64-bit integer and 64-bit floating-point number) parameter types are +/// supported. NSString parameter values can be up to 36 characters long. The "firebase_" prefix +/// is reserved and should not be used for parameter names. ++ (void)logEventWithName:(nonnull NSString *)name + parameters:(nullable NSDictionary *)parameters; + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to nil removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_" prefix is +/// reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(nonnull NSString *)name; + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 36 characters long. Setting userID to nil removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +@end diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h new file mode 100755 index 0000000..dc227a4 --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h @@ -0,0 +1 @@ +#import diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h new file mode 100755 index 0000000..de24da1 --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h @@ -0,0 +1 @@ +#import diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h new file mode 100755 index 0000000..be2ff7b --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h @@ -0,0 +1 @@ +#import diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h new file mode 100755 index 0000000..f68967b --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -0,0 +1,321 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 32 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_" +/// prefix is reserved and should not be used. + +/// Add Payment Info event. This event signifies that a user has submitted their payment information +/// to your app. +static NSString *const kFIREventAddPaymentInfo = @"add_payment_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item was added to a cart for +/// purchase. Add this event to a funnel with kFIREventEcommercePurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the {@link kFIRParameterValue} parameter, you must +/// also supply the {@link kFIRParameterCurrency} parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • {@link kFIRParameterQuantity} (signed 64-bit integer as NSNumber)
  • +///
  • {@link kFIRParameterItemID} (NSString)
  • +///
  • {@link kFIRParameterItemName} (NSString)
  • +///
  • {@link kFIRParameterItemCategory} (NSString)
  • +///
  • {@link kFIRParameterItemLocationID} (NSString) (optional)
  • +///
  • {@link kFIRParameterPrice} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterOrigin} (NSString) (optional)
  • +///
  • {@link kFIRParameterDestination} (NSString) (optional)
  • +///
  • {@link kFIRParameterStartDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterEndDate} (NSString) (optional)
  • +///
+static NSString *const kFIREventAddToCart = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. +/// Use this event to identify popular gift items in your app. Note: If you supply the +/// {@link kFIRParameterValue} parameter, you must also supply the {@link kFIRParameterCurrency} +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • {@link kFIRParameterQuantity} (signed 64-bit integer as NSNumber)
  • +///
  • {@link kFIRParameterItemID} (NSString)
  • +///
  • {@link kFIRParameterItemName} (NSString)
  • +///
  • {@link kFIRParameterItemCategory} (NSString)
  • +///
  • {@link kFIRParameterItemLocationID} (NSString) (optional)
  • +///
  • {@link kFIRParameterPrice} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist = @"add_to_wishlist"; + +/// App Open event. By logging this event when an App is moved to the foreground, developers can +/// understand how often users leave and return during the course of a Session. Although Sessions +/// are automatically reported, this event can provide further clarification around the continuous +/// engagement of app-users. +static NSString *const kFIREventAppOpen = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your kFIREventEcommercePurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the {@link kFIRParameterValue} +/// parameter, you must also supply the {@link kFIRParameterCurrency} parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterTransactionID} (NSString) (optional)
  • +///
  • {@link kFIRParameterStartDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterEndDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterNumberOfNights} (signed 64-bit integer as NSNumber) (optional) for +/// hotel bookings
  • +///
  • {@link kFIRParameterNumberOfRooms} (signed 64-bit integer as NSNumber) (optional) for +/// hotel bookings
  • +///
  • {@link kFIRParameterNumberOfPassengers} (signed 64-bit integer as NSNumber) (optional) +/// for travel bookings
  • +///
  • {@link kFIRParameterOrigin} (NSString) (optional)
  • +///
  • {@link kFIRParameterDestination} (NSString) (optional)
  • +///
  • {@link kFIRParameterTravelClass} (NSString) (optional) for travel bookings
  • +///
+static NSString *const kFIREventBeginCheckout = @"begin_checkout"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with {@link kFIREventSpendVirtualCurrency} to better understand your virtual economy. +/// Params: +/// +///
    +///
  • {@link kFIRParameterVirtualCurrencyName} (NSString)
  • +///
  • {@link kFIRParameterValue} (signed 64-bit integer or double as NSNumber)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency = @"earn_virtual_currency"; + +/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the {@link kFIRParameterValue} parameter, you must also +/// supply the {@link kFIRParameterCurrency} parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterTransactionID} (NSString) (optional)
  • +///
  • {@link kFIRParameterTax} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterShipping} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCoupon} (NSString) (optional)
  • +///
  • {@link kFIRParameterLocation} (NSString) (optional)
  • +///
  • {@link kFIRParameterStartDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterEndDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterNumberOfNights} (signed 64-bit integer as NSNumber) (optional) for +/// hotel bookings
  • +///
  • {@link kFIRParameterNumberOfRooms} (signed 64-bit integer as NSNumber) (optional) for +/// hotel bookings
  • +///
  • {@link kFIRParameterNumberOfPassengers} (signed 64-bit integer as NSNumber) (optional) +/// for travel bookings
  • +///
  • {@link kFIRParameterOrigin} (NSString) (optional)
  • +///
  • {@link kFIRParameterDestination} (NSString) (optional)
  • +///
  • {@link kFIRParameterTravelClass} (NSString) (optional) for travel bookings
  • +///
+static NSString *const kFIREventEcommercePurchase = @"ecommerce_purchase"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// {@link kFIRParameterValue} parameter, you must also supply the {@link kFIRParameterCurrency} +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
+static NSString *const kFIREventGenerateLead = @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • {@link kFIRParameterGroupID} (NSString)
  • +///
+static NSString *const kFIREventJoinGroup = @"join_group"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • {@link kFIRParameterLevel} (signed 64-bit integer as NSNumber)
  • +///
  • {@link kFIRParameterCharacter} (NSString) (optional)
  • +///
+static NSString *const kFIREventLevelUp = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • {@link kFIRParameterScore} (signed 64-bit integer as NSNumber)
  • +///
  • {@link kFIRParameterLevel} (signed 64-bit integer as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCharacter} (NSString) (optional)
  • +///
+static NSString *const kFIREventPostScore = @"post_score"; + +/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. +/// Add this event to a funnel with the kFIREventAddToCart and kFIREventEcommercePurchase to gauge +/// your conversion process. Note: If you supply the {@link kFIRParameterValue} parameter, you must +/// also supply the {@link kFIRParameterCurrency} parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • {@link kFIRParameterQuantity} (signed 64-bit integer as NSNumber)
  • +///
  • {@link kFIRParameterItemID} (NSString)
  • +///
  • {@link kFIRParameterItemName} (NSString)
  • +///
  • {@link kFIRParameterItemCategory} (NSString)
  • +///
  • {@link kFIRParameterItemLocationID} (NSString) (optional)
  • +///
  • {@link kFIRParameterPrice} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
+static NSString *const kFIREventPresentOffer = @"present_offer"; + +/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. +/// Note: If you supply the {@link kFIRParameterValue} parameter, you must also supply the +/// {@link kFIRParameterCurrency} parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterTransactionID} (NSString) (optional)
  • +///
+static NSString *const kFIREventPurchaseRefund = @"purchase_refund"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • {@link kFIRParameterSearchTerm} (NSString)
  • +///
  • {@link kFIRParameterStartDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterEndDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterNumberOfNights} (signed 64-bit integer as NSNumber) (optional) for +/// hotel bookings
  • +///
  • {@link kFIRParameterNumberOfRooms} (signed 64-bit integer as NSNumber) (optional) for +/// hotel bookings
  • +///
  • {@link kFIRParameterNumberOfPassengers} (signed 64-bit integer as NSNumber) (optional) +/// for travel bookings
  • +///
  • {@link kFIRParameterOrigin} (NSString) (optional)
  • +///
  • {@link kFIRParameterDestination} (NSString) (optional)
  • +///
  • {@link kFIRParameterTravelClass} (NSString) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • {@link kFIRParameterContentType} (NSString)
  • +///
  • {@link kFIRParameterItemID} (NSString)
  • +///
+static NSString *const kFIREventSelectContent = @"select_content"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • {@link kFIRParameterContentType} (NSString)
  • +///
  • {@link kFIRParameterItemID} (NSString)
  • +///
+static NSString *const kFIREventShare = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • {@link kFIRParameterSignUpMethod} (NSString)
  • +///
+static NSString *const kFIREventSignUp = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • {@link kFIRParameterItemName} (NSString)
  • +///
  • {@link kFIRParameterVirtualCurrencyName} (NSString)
  • +///
  • {@link kFIRParameterValue} (signed 64-bit integer or double as NSNumber)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with kFIREventTutorialComplete to understand how many users complete this +/// process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin = @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with kFIREventTutorialBegin to gauge the completion rate of your +/// on-boarding process. +static NSString *const kFIREventTutorialComplete = @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • {@link kFIRParameterAchievementID} (NSString)
  • +///
+static NSString *const kFIREventUnlockAchievement = @"unlock_achievement"; + +/// View Item event. This event signifies that some content was shown to the user. This content may +/// be a product, a webpage or just a simple image or text. Use the appropriate parameters to +/// contextualize the event. Use this event to discover the most popular items viewed in your app. +/// Note: If you supply the {@link kFIRParameterValue} parameter, you must also supply the +/// {@link kFIRParameterCurrency} parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • {@link kFIRParameterItemID} (NSString)
  • +///
  • {@link kFIRParameterItemName} (NSString)
  • +///
  • {@link kFIRParameterItemCategory} (NSString)
  • +///
  • {@link kFIRParameterItemLocationID} (NSString) (optional)
  • +///
  • {@link kFIRParameterPrice} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterQuantity} (signed 64-bit integer as NSNumber) (optional)
  • +///
  • {@link kFIRParameterCurrency} (NSString) (optional)
  • +///
  • {@link kFIRParameterValue} (double as NSNumber) (optional)
  • +///
  • {@link kFIRParameterStartDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterEndDate} (NSString) (optional)
  • +///
  • {@link kFIRParameterFlightNumber} (NSString) (optional) for travel bookings
  • +///
  • {@link kFIRParameterNumberOfPassengers} (signed 64-bit integer as NSNumber) (optional) +/// for travel bookings
  • +///
  • {@link kFIRParameterNumberOfNights} (signed 64-bit integer as NSNumber) (optional) for +/// travel bookings
  • +///
  • {@link kFIRParameterNumberOfRooms} (signed 64-bit integer as NSNumber) (optional) for +/// travel bookings
  • +///
  • {@link kFIRParameterOrigin} (NSString) (optional)
  • +///
  • {@link kFIRParameterDestination} (NSString) (optional)
  • +///
  • {@link kFIRParameterSearchTerm} (NSString) (optional) for travel bookings
  • +///
  • {@link kFIRParameterTravelClass} (NSString) (optional) for travel bookings
  • +///
+static NSString *const kFIREventViewItem = @"view_item"; + +/// View Item List event. Log this event when the user has been presented with a list of items of a +/// certain category. Params: +/// +///
    +///
  • {@link kFIRParameterItemCategory} (NSString)
  • +///
+static NSString *const kFIREventViewItemList = @"view_item_list"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • {@link kFIRParameterSearchTerm} (NSString)
  • +///
+static NSString *const kFIREventViewSearchResults = @"view_search_results"; diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h new file mode 100755 index 0000000..126824b --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h @@ -0,0 +1 @@ +#import diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h new file mode 100755 index 0000000..42c0c5e --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -0,0 +1,304 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 24 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 36 characters long. The "firebase_" prefix is reserved and should not be used. + +/// Game achievement ID (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterAchievementID : @"10_matches_won",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterAchievementID = @"achievement_id"; + +/// Character used in game (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterCharacter : @"beat_boss",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterCharacter = @"character"; + +/// Type of content selected (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterContentType : @"news article",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterContentType = @"content_type"; + +/// Coupon code for a purchasable item (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterCoupon : @"zz123",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterCoupon = @"coupon"; + +/// Purchase currency in 3-letter +/// ISO_4217 format (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterCurrency : @"USD",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterCurrency = @"currency"; + +/// Flight or Travel destination (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterDestination : @"Mountain View, CA",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterDestination = @"destination"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterEndDate : @"2015-09-14",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterEndDate = @"end_date"; + +/// Flight number for travel events (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterFlightNumber : @"ZZ800",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterFlightNumber = @"flight_number"; + +/// Group/clan/guild ID (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterGroupID : @"g1",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterGroupID = @"group_id"; + +/// Item category (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterItemCategory : @"t-shirts",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterItemCategory = @"item_category"; + +/// Item ID (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterItemID : @"p7654",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterItemID = @"item_id"; + +/// The Google Place ID (NSString) that +/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID. +///
+///     NSDictionary *params = @{
+///       kFIRParameterItemLocationID : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterItemLocationID = @"item_location_id"; + +/// Item name (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterItemName : @"abc",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterItemName = @"item_name"; + +/// Level in game (signed 64-bit integer as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterLevel : @(42),
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterLevel = @"level"; + +/// Location (NSString). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     NSDictionary *params = @{
+///       kFIRParameterLocation : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterLocation = @"location"; + +/// Number of nights staying at hotel (signed 64-bit integer as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterNumberOfNights : @(3),
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterNumberOfNights = @"number_of_nights"; + +/// Number of passengers traveling (signed 64-bit integer as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterNumberOfPassengers : @(11),
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterNumberOfPassengers = @"number_of_passengers"; + +/// Number of rooms for travel events (signed 64-bit integer as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterNumberOfRooms : @(2),
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterNumberOfRooms = @"number_of_rooms"; + +/// Flight or Travel origin (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterOrigin : @"Mountain View, CA",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterOrigin = @"origin"; + +/// Purchase price (double as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterPrice : @(1.0),
+///       kFIRParameterCurrency : @"USD",  // e.g. $1.00 USD
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterPrice = @"price"; + +/// Purchase quantity (signed 64-bit integer as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterQuantity : @(1),
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterQuantity = @"quantity"; + +/// Score in game (signed 64-bit integer as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterScore : @(4200),
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterScore = @"score"; + +/// The search string/keywords used (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterSearchTerm : @"periodic table",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterSearchTerm = @"search_term"; + +/// Shipping cost (double as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterShipping : @(9.50),
+///       kFIRParameterCurrency : @"USD",  // e.g. $9.50 USD
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterShipping = @"shipping"; + +/// Sign up method (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterSignUpMethod : @"google",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterSignUpMethod = @"sign_up_method"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterStartDate : @"2015-09-14",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterStartDate = @"start_date"; + +/// Tax amount (double as NSNumber). +///
+///     NSDictionary *params = @{
+///       kFIRParameterTax : @(1.0),
+///       kFIRParameterCurrency : @"USD",  // e.g. $1.00 USD
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterTax = @"tax"; + +/// A single ID for a ecommerce group transaction (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterTransactionID : @"ab7236dd9823",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterTransactionID = @"transaction_id"; + +/// Travel class (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterTravelClass : @"business",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterTravelClass = @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as signed +/// 64-bit integer or double as NSNumber. Notes: Currency-related values should be supplied using +/// double as NSNumber and must be accompanied by a {@link kFIRParameterCurrency} parameter. The +/// valid range of accumulated values is [-9,223,372,036,854.77, 9,223,372,036,854.77]. +///
+///     NSDictionary *params = @{
+///       kFIRParameterValue : @(3.99),
+///       kFIRParameterCurrency : @"USD",  // e.g. $3.99 USD
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterValue = @"value"; + +/// Name of virtual currency type (NSString). +///
+///     NSDictionary *params = @{
+///       kFIRParameterVirtualCurrencyName : @"virtual_currency_name",
+///       // ...
+///     };
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName = @"virtual_currency_name"; diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h new file mode 100755 index 0000000..54cf1c2 --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h @@ -0,0 +1,13 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_" prefix is reserved and should not be used. + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod = @"sign_up_method"; diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h new file mode 100755 index 0000000..02667b3 --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -0,0 +1,11 @@ +// Generated umbrella header for FirebaseAnalytics. + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics.h" +#import "FIRAnalyticsConfiguration.h" +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIREventNames.h" +#import "FIROptions.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Modules/module.modulemap b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Modules/module.modulemap new file mode 100755 index 0000000..e54b5ea --- /dev/null +++ b/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,23 @@ +framework module FirebaseAnalytics { + + export * + + umbrella header "FirebaseAnalytics.h" + + header "FIRAnalytics+AppDelegate.h" + header "FIRAnalytics.h" + header "FIRAnalyticsConfiguration.h" + header "FIRApp.h" + header "FIRConfiguration.h" + header "FIREventNames.h" + header "FIROptions.h" + header "FIRParameterNames.h" + header "FIRUserPropertyNames.h" + + link framework "AddressBook" + link framework "StoreKit" + + link "c++" + link "sqlite3" + link "z" +} diff --git a/Pods/FirebaseAuth/CHANGELOG.md b/Pods/FirebaseAuth/CHANGELOG.md new file mode 100755 index 0000000..1d6aecf --- /dev/null +++ b/Pods/FirebaseAuth/CHANGELOG.md @@ -0,0 +1,19 @@ +# 2016-09-14 -- v3.0.5 +- Works around a keychain issue in iOS 10 simulator. +- Reports the correct error for invalid email when signing with email and + password. + +# 2016-07-18 -- v3.0.4 +- Fixes a race condition bug that could crash the app with an exception from + NSURLSession on iOS 9. + +# 2016-06-20 -- v3.0.3 +- Adds documentation for all possible errors returned by each method. +- Improves error handling and messages for a variety of error conditions. +- Whether or not an user is considered anonymous is now consistent with other + platforms. +- A saved signed in user is now siloed between different Firebase projects + within the same app. + +# 2016-05-18 -- v3.0.2 +- Initial public release. diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/FirebaseAuth b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/FirebaseAuth new file mode 100755 index 0000000..52da9d9 Binary files /dev/null and b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/FirebaseAuth differ diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h new file mode 100755 index 0000000..d80b8ec --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h @@ -0,0 +1,257 @@ +/** @file FIRAuth.h + @brief Firebase Auth SDK + @copyright Copyright 2015 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +#import + +@class FIRApp; +@class FIRAuth; +@class FIRAuthCredential; +@class FIRUser; +@protocol FIRAuthStateListener; + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRAuthStateDidChangeListenerHandle + @brief The type of handle returned by @c FIRAuth.addAuthStateDidChangeListener:. + */ +typedef id FIRAuthStateDidChangeListenerHandle; + +/** @typedef FIRAuthStateDidChangeListenerBlock + @brief The type of block which can be registered as a listener for auth state did change events. + @param auth The @c FIRAuth object on which state changes occurred. + @param user Optionally; the current signed in user, if any. + */ +typedef void(^FIRAuthStateDidChangeListenerBlock)(FIRAuth *auth, FIRUser *_Nullable user); + +/** @var FIRAuthStateDidChangeNotification + @brief The name of the @c NSNotificationCenter notification which is posted when the auth state + changes (for example, a new token has been produced, a user signs in or signs out). The + object parameter of the notification is the sender @c FIRAuth instance. + */ +extern NSString *const FIRAuthStateDidChangeNotification; + +/** @typedef FIRAuthResultCallback + @brief The type of block invoked when sign-in related events complete. + @param user Optionally; the signed in user, if any. + @param error Optionally; if an error occurs, this is the NSError object that describes the + problem. Set to nil otherwise. + */ +typedef void (^FIRAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullable error); + +/** @typedef FIRProviderQueryCallback + @brief The type of block invoked when a list of identity providers for a given email address is + requested. + @param providers Optionally; a list of provider identifiers, if any. + @see FIRGoogleAuthProviderID etc. + @param error Optionally; if an error occurs, this is the NSError object that describes the + problem. Set to nil otherwise. + */ +typedef void (^FIRProviderQueryCallback)(NSArray *_Nullable providers, + NSError *_Nullable error); + +/** @typedef FIRSendPasswordResetCallback + @brief The type of block invoked when initiating a password reset. + @param error Optionally; if an error occurs, this is the NSError object that describes the + problem. Set to nil otherwise. + */ +typedef void (^FIRSendPasswordResetCallback)(NSError *_Nullable error); + +/** @class FIRAuth + @brief Manages authentication for Firebase apps. + @remarks This class is thread-safe. + */ +@interface FIRAuth : NSObject + +/** @fn auth + @brief Gets the auth object for the default Firebase app. + @remarks Thread safe. + */ ++ (nullable FIRAuth *)auth NS_SWIFT_NAME(auth()); + +/** @fn authWithApp: + @brief Gets the auth object for a @c FIRApp. + @param app The @c FIRApp for which to retrieve the associated @c FIRAuth instance. + @return The @c FIRAuth instance associated with the given @c FIRApp. + */ ++ (nullable FIRAuth *)authWithApp:(FIRApp *)app; + +/** @property app + @brief Gets the @c FIRApp object that this auth object is connected to. + */ +@property(nonatomic, weak, readonly, nullable) FIRApp *app; + +/** @property currentUser + @brief Synchronously gets the cached current user, or null if there is none. + */ +@property(nonatomic, strong, readonly, nullable) FIRUser *currentUser; + +/** @fn init + @brief Please access auth instances using @c FIRAuth.auth and @c FIRAuth.authForApp:. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +/** @fn fetchProvidersForEmail:completion: + @brief Fetches the list of IdPs that can be used for signing in with the provided email address. + Useful for an "identifier-first" sign-in flow. + @param email The email address for which to obtain a list of identity providers. + @param completion Optionally; a block which is invoked when the list of providers for the + specified email address is ready or an error was encountered. Invoked asynchronously on the + main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)fetchProvidersForEmail:(NSString *)email + completion:(nullable FIRProviderQueryCallback)completion; + +/** @fn signInWithEmail:password:completion: + @brief Signs in using an email address and password. + @param email The user's email address. + @param password The user's password. + @param completion Optionally; a block which is invoked when the sign in flow finishes, or is + canceled. Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeOperationNotAllowed Indicates that email and password accounts are not + enabled. Enable them in the Auth section of the Firebase console. + - @c FIRAuthErrorCodeUserDisabled Indicates the user's account is disabled. + - @c FIRAuthErrorCodeWrongPassword Indicates the user attempted sign in with an incorrect + password. + - @c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)signInWithEmail:(NSString *)email + password:(NSString *)password + completion:(nullable FIRAuthResultCallback)completion; + +/** @fn signInWithCredential:completion: + @brief Asynchronously signs in to Firebase with the given 3rd-party credentials (e.g. a Facebook + login Access Token, a Google ID Token/Access Token pair, etc.) + @param credential The credential supplied by the IdP. + @param completion Optionally; a block which is invoked when the sign in flow finishes, or is + canceled. Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeInvalidCredential Indicates the supplied credential is invalid. This + could happen if it has expired or it is malformed. + - @c FIRAuthErrorCodeOperationNotAllowed Indicates that accounts with the identity provider + represented by the credential are not enabled. Enable them in the Auth section of the + Firebase console. + - @c FIRAuthErrorCodeEmailAlreadyInUse Indicates the email asserted by the credential + (e.g. the email in a Facebook access token) is already in use by an existing account, + that cannot be authenticated with this sign-in method. Call fetchProvidersForEmail for + this user’s email and then prompt them to sign in with any of the sign-in providers + returned. This error will only be thrown if the “One account per email address” + setting is enabled in the Firebase console, under Auth settings. - Please note that the + error code raised in this specific situation may not be the same on Web and Android. + - @c FIRAuthErrorCodeUserDisabled Indicates the user's account is disabled. + - @c FIRAuthErrorCodeWrongPassword Indicates the user attempted sign in with a incorrect + password, if credential is of the type EmailPasswordAuthCredential. + - @c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)signInWithCredential:(FIRAuthCredential *)credential + completion:(nullable FIRAuthResultCallback)completion; + +/** @fn signInAnonymouslyWithCompletion: + @brief Asynchronously creates and becomes an anonymous user. + @param completion Optionally; a block which is invoked when the sign in finishes, or is + canceled. Invoked asynchronously on the main thread in the future. + @remarks If there is already an anonymous user signed in, that user will be returned instead. + If there is any other existing user signed in, that user will be signed out. + @remarks Possible error codes: + - @c FIRAuthErrorCodeOperationNotAllowed Indicates that anonymous accounts are not enabled. + Enable them in the Auth section of the Firebase console. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)signInAnonymouslyWithCompletion:(nullable FIRAuthResultCallback)completion; + +/** @fn signInWithCustomToken:completion: + @brief Asynchronously signs in to Firebase with the given Auth token. + @param token A self-signed custom auth token. + @param completion Optionally; a block which is invoked when the sign in finishes, or is + canceled. Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeInvalidCustomToken Indicates a validation error with the custom token. + - @c FIRAuthErrorCodeCustomTokenMismatch Indicates the service account and the API key + belong to different projects. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)signInWithCustomToken:(NSString *)token + completion:(nullable FIRAuthResultCallback)completion; + +/** @fn createUserWithEmail:password:completion: + @brief Creates and, on success, signs in a user with the given email address and password. + @param email The user's email address. + @param password The user's desired password. + @param completion Optionally; a block which is invoked when the sign up flow finishes, or is + canceled. Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed. + - @c FIRAuthErrorCodeEmailAlreadyInUse Indicates the email used to attempt sign up + already exists. Call fetchProvidersForEmail to check which sign-in mechanisms the user + used, and prompt the user to sign in with one of those. + - @c FIRAuthErrorCodeOperationNotAllowed Indicates that email and password accounts are not + enabled. Enable them in the Auth section of the Firebase console. + - @c FIRAuthErrorCodeWeakPassword Indicates an attempt to set a password that is considered + too weak. The NSLocalizedFailureReasonErrorKey field in the NSError.userInfo dictionary + object will contain more detailed explanation that can be shown to the user. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)createUserWithEmail:(NSString *)email + password:(NSString *)password + completion:(nullable FIRAuthResultCallback)completion; + +/** @fn sendPasswordResetWithEmail:completion: + @brief Initiates a password reset for the given email address. + @param email The email address of the user. + @param completion Optionally; a block which is invoked when the request finishes. Invoked + asynchronously on the main thread in the future. + @remarks Possible error codes: + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)sendPasswordResetWithEmail:(NSString *)email + completion:(nullable FIRSendPasswordResetCallback)completion; + +/** @fn signOut: + @brief Signs out the current user. + @param error Optionally; if an error occurs, upon return contains an NSError object that + describes the problem; is nil otherwise. + @return @YES when the sign out request was successful. @NO otherwise. + @remarks Possible error codes: + - @c FIRAuthErrorCodeKeychainError Indicates an error occurred when accessing the keychain. + The @c NSLocalizedFailureReasonErrorKey field in the @c NSError.userInfo dictionary + will contain more information about the error encountered. + */ +- (BOOL)signOut:(NSError *_Nullable *_Nullable)error; + +/** @fn addAuthStateDidChangeListener: + @brief Registers a block as an "auth state did change" listener. To be invoked when: + - The block is registered as a listener, + - The current user changes, or, + - The current user's access token changes. + @param listener The block to be invoked. The block is always invoked asynchronously on the main + thread, even for it's initial invocation after having been added as a listener. + @remarks The block is invoked immediately after adding it according to it's standard invocation + semantics, asynchronously on the main thread. Users should pay special attention to + making sure the block does not inadvertently retain objects which should not be retained by + the long-lived block. The block itself will be retained by @c FIRAuth until it is + unregistered or until the @c FIRAuth instance is otherwise deallocated. + @return A handle useful for manually unregistering the block as a listener. + */ +- (FIRAuthStateDidChangeListenerHandle)addAuthStateDidChangeListener: + (FIRAuthStateDidChangeListenerBlock)listener; + +/** @fn removeAuthStateDidChangeListener: + @brief Unregisters a block as an "auth state did change" listener. + @param listenerHandle The handle for the listener. + */ +- (void)removeAuthStateDidChangeListener:(FIRAuthStateDidChangeListenerHandle)listenerHandle; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h new file mode 100755 index 0000000..24959d5 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h @@ -0,0 +1,31 @@ +/** @file FIRAuthCredential.h + @brief Firebase Auth SDK + @copyright Copyright 2015 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @class FIRAuthCredential + @brief Represents a credential. + */ +@interface FIRAuthCredential : NSObject + +/** @property provider + @brief Gets the name of the identity provider for the credential. + */ +@property(nonatomic, copy, readonly) NSString *provider; + +/** @fn init + @brief This is an abstract base class. Concrete instances should be created via factory + methods available in the various authentication provider libraries (like the Facebook + provider or the Google provider libraries.) + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h new file mode 100755 index 0000000..9b32328 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h @@ -0,0 +1,166 @@ +/** @file FIRAuthErrors.h + @brief Firebase Auth SDK + @copyright Copyright 2015 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +/** @class FIRAuthErrors + @remarks Error Codes common to all API Methods: + - FIRAuthErrorCodeNetworkError - Indicates a network error occurred during the operation. + - FIRAuthErrorCodeUserNotFound - Indicates the user account was not found. This could happen + if the user account has been deleted. + - FIRAuthErrorCodeUserTokenExpired - Indicates the current user’s token has expired, for + example, the user may have changed account password on another device. You must prompt + the user to sign in again on this device. + - FIRAuthErrorCodeTooManyRequests - Indicates that the request has been blocked after an + abnormal number of requests have been made from the caller device to the Firebase Auth + servers. Retry again after some time. + - FIRAuthErrorCodeInvalidAPIKey - Indicates the application has been configured with an + invalid API key. + - FIRAuthErrorCodeAppNotAuthorized - Indicates the App is not authorized to use Firebase + Authentication with the provided API Key. Go to the Google API Console and check under + the credentials tab that the API key you are using has your application’s bundle ID + whitelisted. + - FIRAuthErrorCodeKeychainError - Indicates an error occurred while accessing the keychain. + The NSLocalizedFailureReasonErrorKey and NSUnderlyingErrorKey fields in the + NSError.userInfo dictionary will contain more information about the error encountered. + - FIRAuthErrorCodeInternalError - Indicates an internal error occurred. Please report the + error back to us with the entire NSError object. + @remarks Common error codes for FIRUser operations: + - FIRAuthErrorCodeInvalidUserToken - Indicates that the signed-in user's refresh token, + that holds session information, is invalid. You must prompt the user to sign in again + on this device. + - FIRAuthErrorCodeUserDisabled - Indicates the user's account is disabled and can no longer + be used until enabled again from within the Users panel in the Firebase console. + */ +@interface FIRAuthErrors + +/** @var FIRAuthErrorDomain + @brief The Firebase Auth error domain. + */ +extern NSString *const FIRAuthErrorDomain; + +/** @var FIRAuthErrorNameKey + @brief The name of the key for the "error_name" string in the NSError userinfo dictionary. + */ +extern NSString *const FIRAuthErrorNameKey; + +/** @enum FIRAuthErrorCode + @brief Error codes used by Firebase Auth. + */ +typedef NS_ENUM(NSInteger, FIRAuthErrorCode) { + /** Indicates a validation error with the custom token. + */ + FIRAuthErrorCodeInvalidCustomToken = 17000, + + /** Indicates the service account and the API key belong to different projects. + */ + FIRAuthErrorCodeCustomTokenMismatch = 17002, + + /** Indicates the IDP token or requestUri is invalid. + */ + FIRAuthErrorCodeInvalidCredential = 17004, + + /** Indicates the user's account is disabled on the server. + */ + FIRAuthErrorCodeUserDisabled = 17005, + + /** Indicates the administrator disabled sign in with the specified identity provider. + */ + FIRAuthErrorCodeOperationNotAllowed = 17006, + + /** Indicates the email used to attempt a sign up is already in use. + */ + FIRAuthErrorCodeEmailAlreadyInUse = 17007, + + /** Indicates the email is invalid. + */ + FIRAuthErrorCodeInvalidEmail = 17008, + + /** Indicates the user attempted sign in with a wrong password. + */ + FIRAuthErrorCodeWrongPassword = 17009, + + /** Indicates that too many requests were made to a server method. + */ + FIRAuthErrorCodeTooManyRequests = 17010, + + /** Indicates the user account was not found. + */ + FIRAuthErrorCodeUserNotFound = 17011, + + /** Indicates account linking is required. + */ + FIRAuthErrorCodeAccountExistsWithDifferentCredential = 17012, + + /** Same enum as @c FIRAuthErrorCodeAccountExistsWithDifferentCredential , + but with incorrect spelling. Only exists for backwards compatiblity. + */ + FIRAuthErrrorCodeAccountExistsWithDifferentCredential = 17012, + + /** Indicates the user has attemped to change email or password more than 5 minutes after + signing in. + */ + FIRAuthErrorCodeRequiresRecentLogin = 17014, + + /** Indicates an attempt to link a provider to which the account is already linked. + */ + FIRAuthErrorCodeProviderAlreadyLinked = 17015, + + /** Indicates an attempt to unlink a provider that is not linked. + */ + FIRAuthErrorCodeNoSuchProvider = 17016, + + /** Indicates user's saved auth credential is invalid, the user needs to sign in again. + */ + FIRAuthErrorCodeInvalidUserToken = 17017, + + /** Indicates a network error occurred (such as a timeout, interrupted connection, or + unreachable host). These types of errors are often recoverable with a retry. The @c + NSUnderlyingError field in the @c NSError.userInfo dictionary will contain the error + encountered. + */ + FIRAuthErrorCodeNetworkError = 17020, + + /** Indicates the saved token has expired, for example, the user may have changed account + password on another device. The user needs to sign in again on the device that made this + request. + */ + FIRAuthErrorCodeUserTokenExpired = 17021, + + /** Indicates an invalid API key was supplied in the request. + */ + FIRAuthErrorCodeInvalidAPIKey = 17023, + + /** Indicates that an attempt was made to reauthenticate with a user which is not the current + user. + */ + FIRAuthErrorCodeUserMismatch = 17024, + + /** Indicates an attempt to link with a credential that has already been linked with a + different Firebase account + */ + FIRAuthErrorCodeCredentialAlreadyInUse = 17025, + + /** Indicates an attempt to set a password that is considered too weak. + */ + FIRAuthErrorCodeWeakPassword = 17026, + + /** Indicates the App is not authorized to use Firebase Authentication with the + provided API Key. + */ + FIRAuthErrorCodeAppNotAuthorized = 17028, + + /** Indicates an error occurred while attempting to access the keychain. + */ + FIRAuthErrorCodeKeychainError = 17995, + + /** Indicates an internal error occurred. + */ + FIRAuthErrorCodeInternalError = 17999, +}; + +@end diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h new file mode 100755 index 0000000..a1444b9 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h @@ -0,0 +1,39 @@ +/** @file FIREmailPasswordAuthProvider.h + @brief Firebase Auth SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +@class FIRAuthCredential; + +NS_ASSUME_NONNULL_BEGIN + +/** @var FIREmailPasswordAuthProviderID + @brief A string constant identifying the email & password identity provider. + */ +extern NSString *const FIREmailPasswordAuthProviderID; + +/** @class FIREmailPasswordAuthProvider + @brief A concrete implementation of @c FIRAuthProvider for Email & Password Sign In. + */ +@interface FIREmailPasswordAuthProvider : NSObject + +/** @fn credentialWithEmail:password: + @brief Creates an @c FIRAuthCredential for an email & password sign in. + @param email The user's email address. + @param password The user's password. + @return A @c FIRAuthCredential containing the email & password credential. + */ ++ (FIRAuthCredential *)credentialWithEmail:(NSString *)email password:(NSString *)password; + +/** @fn init + @brief This class is not meant to be initialized. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h new file mode 100755 index 0000000..3b5d28f --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h @@ -0,0 +1,38 @@ +/** @file FIRFacebookAuthProvider.h + @brief Firebase Auth SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +@class FIRAuthCredential; + +NS_ASSUME_NONNULL_BEGIN + +/** @var FIRFacebookAuthProviderID + @brief A string constant identifying the Facebook identity provider. + */ +extern NSString *const FIRFacebookAuthProviderID; + +/** @class FIRFacebookAuthProvider + @brief Utility class for constructing Facebook credentials. + */ +@interface FIRFacebookAuthProvider : NSObject + +/** @fn credentialWithAccessToken: + @brief Creates an @c FIRAuthCredential for a Facebook sign in. + @param accessToken The Access Token from Facebook. + @return A @c FIRAuthCredential containing the Facebook credentials. + */ ++ (FIRAuthCredential *)credentialWithAccessToken:(NSString *)accessToken; + +/** @fn init + @brief This class should not be initialized. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h new file mode 100755 index 0000000..ce139e3 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h @@ -0,0 +1,38 @@ +/** @file FIRGitHubAuthProvider.h + @brief Firebase Auth SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +@class FIRAuthCredential; + +NS_ASSUME_NONNULL_BEGIN + +/** @var FIRGitHubAuthProviderID + @brief A string constant identifying the GitHub identity provider. + */ +extern NSString *const FIRGitHubAuthProviderID; + +/** @class FIRGitHubAuthProvider + @brief Utility class for constructing GitHub credentials. + */ +@interface FIRGitHubAuthProvider : NSObject + +/** @fn credentialWithToken: + @brief Creates an @c FIRAuthCredential for a GitHub sign in. + @param token The GitHub OAuth access token. + @return A @c FIRAuthCredential containing the GitHub credential. + */ ++ (FIRAuthCredential *)credentialWithToken:(NSString *)token; + +/** @fn init + @brief This class is not meant to be initialized. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h new file mode 100755 index 0000000..40b413c --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h @@ -0,0 +1,40 @@ +/** @file FIRGoogleAuthProvider.h + @brief Firebase Auth SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +@class FIRAuthCredential; + +NS_ASSUME_NONNULL_BEGIN + +/** @var FIRGoogleAuthProviderID + @brief A string constant identifying the Google identity provider. + */ +extern NSString *const FIRGoogleAuthProviderID; + +/** @class FIRGoogleAuthProvider + @brief Utility class for constructing Google Sign In credentials. + */ +@interface FIRGoogleAuthProvider : NSObject + +/** @fn credentialWithIDToken:accessToken: + @brief Creates an @c FIRAuthCredential for a Google sign in. + @param IDToken The ID Token from Google. + @param accessToken The Access Token from Google. + @return A @c FIRAuthCredential containing the Google credentials. + */ ++ (FIRAuthCredential *)credentialWithIDToken:(NSString *)IDToken + accessToken:(NSString *)accessToken; + +/** @fn init + @brief This class should not be initialized. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h new file mode 100755 index 0000000..e333919 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h @@ -0,0 +1,39 @@ +/** @file FIRTwitterAuthProvider.h + @brief Firebase Auth SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +@class FIRAuthCredential; + +NS_ASSUME_NONNULL_BEGIN + +/** @var FIRTwitterAuthProviderID + @brief A string constant identifying the Twitter identity provider. + */ +extern NSString *const FIRTwitterAuthProviderID; + +/** @class FIRTwitterAuthProvider + @brief Utility class for constructing Twitter credentials. + */ +@interface FIRTwitterAuthProvider : NSObject + +/** @fn credentialWithToken:secret: + @brief Creates an @c FIRAuthCredential for a Twitter sign in. + @param token The Twitter OAuth token. + @param secret The Twitter OAuth secret. + @return A @c FIRAuthCredential containing the Twitter credential. + */ ++ (FIRAuthCredential *)credentialWithToken:(NSString *)token secret:(NSString *)secret; + +/** @fn init + @brief This class is not meant to be initialized. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h new file mode 100755 index 0000000..e03d044 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h @@ -0,0 +1,290 @@ +/** @file FIRUser.h + @brief Firebase Auth SDK + @copyright Copyright 2015 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +#import +#import + +@class FIRUserProfileChangeRequest; + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRAuthTokenCallback + @brief The type of block called when a token is ready for use. + @see FIRUser.getTokenWithCompletion: + @see FIRUser.getTokenForcingRefresh:withCompletion: + @param token Optionally; an access token if the request was successful. + @param error Optionally; the error which occurred - or nil if the request was successful. + @remarks One of: @c token or @c error will always be non-nil. + */ +typedef void (^FIRAuthTokenCallback)(NSString *_Nullable token, NSError *_Nullable error); + +/** @typedef FIRUserProfileChangeCallback + @brief The type of block called when a user profile change has finished. + @param error Optionally; the error which occurred - or nil if the request was successful. + */ +typedef void (^FIRUserProfileChangeCallback)(NSError *_Nullable error); + +/** @typedef FIRSendEmailVerificationCallback + @brief The type of block called when a request to send an email verification has finished. + @param error Optionally; the error which occurred - or nil if the request was successful. + */ +typedef void (^FIRSendEmailVerificationCallback)(NSError *_Nullable error); + +/** @class FIRUser + @brief Represents a user. + @remarks This class is thread-safe. + */ +@interface FIRUser : NSObject + +/** @property anonymous + @brief Indicates the user represents an anonymous user. + */ +@property(nonatomic, readonly, getter=isAnonymous) BOOL anonymous; + +/** @property emailVerified + @brief Indicates the email address associated with this user has been verified. + */ +@property(nonatomic, readonly, getter=isEmailVerified) BOOL emailVerified; + +/** @property refreshToken + @brief A refresh token; useful for obtaining new access tokens independently. + @remarks This property should only be used for advanced scenarios, and is not typically needed. + */ +@property(nonatomic, readonly, nullable) NSString *refreshToken; + +/** @property providerData + @brief Profile data for each identity provider, if any. + @remarks This data is cached on sign-in and updated when linking or unlinking. + */ +@property(nonatomic, readonly, nonnull) NSArray> *providerData; + +/** @fn init + @brief This class should not be instantiated. + @remarks To retrieve the current user, use @c FIRAuth.currentUser. To sign a user + in or out, use the methods on @c FIRAuth. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +/** @fn updateEmail:completion: + @brief Updates the email address for the user. On success, the cached user profile data is + updated. + @remarks May fail if there is already an account with this email address that was created using + email and password authentication. + @param email The email address for the user. + @param completion Optionally; the block invoked when the user profile change has finished. + Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeEmailAlreadyInUse - Indicates the email is already in use by another + account. + - @c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed. + - @c FIRAuthErrorCodeRequiresRecentLogin - Updating a user’s email is a security sensitive + operation that requires a recent login from the user. This error indicates the user has + not signed in recently enough. To resolve, reauthenticate the user by invoking + reauthenticateWithCredential:completion: on FIRUser. + - See @c FIRAuthErrors for a list of error codes that are common to all FIRUser operations. + */ +- (void)updateEmail:(NSString *)email completion:(nullable FIRUserProfileChangeCallback)completion; + +/** @fn updatePassword:completion: + @brief Updates the password for the user. On success, the cached user profile data is updated. + @param password The new password for the user. + @param completion Optionally; the block invoked when the user profile change has finished. + Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeOperationNotAllowed - Indicates the administrator disabled sign in with + the specified identity provider. + - @c FIRAuthErrorCodeRequiresRecentLogin - Updating a user’s password is a security + sensitive operation that requires a recent login from the user. This error indicates the + user has not signed in recently enough. To resolve, reauthenticate the user by invoking + reauthenticateWithCredential:completion: on FIRUser. + - @c FIRAuthErrorCodeWeakPassword - Indicates an attempt to set a password that is + considered too weak. The NSLocalizedFailureReasonErrorKey field in the NSError.userInfo + dictionary object will contain more detailed explanation that can be shown to the user. + - See @c FIRAuthErrors for a list of error codes that are common to all FIRUser operations. + */ +- (void)updatePassword:(NSString *)password + completion:(nullable FIRUserProfileChangeCallback)completion; + +/** @fn profileChangeRequest + @brief Creates an object which may be used to change the user's profile data. + @remarks Set the properties of the returned object, then call + @c FIRUserProfileChangeRequest.commitChangesWithCallback: to perform the updates atomically. + @return An object which may be used to change the user's profile data atomically. + */ +- (FIRUserProfileChangeRequest *)profileChangeRequest; + +/** @fn reloadWithCompletion: + @brief Reloads the user's profile data from the server. + @param completion Optionally; the block invoked when the reload has finished. Invoked + asynchronously on the main thread in the future. + @remarks May fail with a @c FIRAuthErrorCodeCredentialTooOld error code. In this case you should + call @c FIRUser.reauthenticateWithCredential:completion: before re-invoking + @c FIRUser.updateEmail:completion:. + @remarks Possible error codes: + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)reloadWithCompletion:(nullable FIRUserProfileChangeCallback)completion; + +/** @fn reauthenticateWithCredential:completion: + @brief Renews the user's authentication tokens by validating a fresh set of credentials supplied + by the user. + @param credential A user-supplied credential, which will be validated by the server. This can be + a successful third-party identity provider sign-in, or an email address and password. + @param completion Optionally; the block invoked when the re-authentication operation has + finished. Invoked asynchronously on the main thread in the future. + @remarks If the user associated with the supplied credential is different from the current user, + or if the validation of the supplied credentials fails; an error is returned and the current + user remains signed in. + @remarks Possible error codes: + - @c FIRAuthErrorCodeInvalidCredential Indicates the supplied credential is invalid. This + could happen if it has expired or it is malformed. + - @c FIRAuthErrorCodeOperationNotAllowed Indicates that accounts with the identity provider + represented by the credential are not enabled. Enable them in the Auth section of the + Firebase console. + - @c FIRAuthErrorCodeEmailAlreadyInUse Indicates the email asserted by the credential + (e.g. the email in a Facebook access token) is already in use by an existing account, + that cannot be authenticated with this method. Call fetchProvidersForEmail for + this user’s email and then prompt them to sign in with any of the sign-in providers + returned. This error will only be thrown if the “One account per email address” + setting is enabled in the Firebase console, under Auth settings. - Please note that the + error code raised in this specific situation may not be the same on Web and Android. + - @c FIRAuthErrorCodeUserDisabled Indicates the user's account is disabled. + - @c FIRAuthErrorCodeWrongPassword Indicates the user attempted reauthentication with an + incorrect password, if credential is of the type EmailPasswordAuthCredential. + - @c FIRAuthErrorCodeUserMismatch Indicates that an attempt was made to reauthenticate with + a user which is not the current user. + - @c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed. + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)reauthenticateWithCredential:(FIRAuthCredential *)credential + completion:(nullable FIRUserProfileChangeCallback)completion; + +/** @fn getTokenWithCompletion: + @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired. + @param completion Optionally; the block invoked when the token is available. Invoked + asynchronously on the main thread in the future. + @remarks Possible error codes: + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)getTokenWithCompletion:(nullable FIRAuthTokenCallback)completion; + +/** @fn getTokenForcingRefresh:completion: + @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired. + @param forceRefresh Forces a token refresh. Useful if the token becomes invalid for some reason + other than an expiration. + @param completion Optionally; the block invoked when the token is available. Invoked + asynchronously on the main thread in the future. + @remarks The authentication token will be refreshed (by making a network request) if it has + expired, or if @c forceRefresh is YES. + @remarks Possible error codes: + - See @c FIRAuthErrors for a list of error codes that are common to all API methods. + */ +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + completion:(nullable FIRAuthTokenCallback)completion; + +/** @fn linkWithCredential:completion: + @brief Associates a user account from a third-party identity provider with this user. + @param credential The credential for the identity provider. + @param completion Optionally; the block invoked when the unlinking is complete, or fails. + Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeProviderAlreadyLinked - Indicates an attempt to link a provider of a + type already linked to this account. + - @c FIRAuthErrorCodeCredentialAlreadyInUse - Indicates an attempt to link with a credential + that has already been linked with a different Firebase account. + - @c FIRAuthErrorCodeOperationNotAllowed - Indicates that accounts with the identity + provider represented by the credential are not enabled. Enable them in the Auth section + of the Firebase console. + - This method may also return error codes associated with updateEmail:completion: and + updatePassword:completion: on FIRUser. + - See @c FIRAuthErrors for a list of error codes that are common to all FIRUser operations. + */ +- (void)linkWithCredential:(FIRAuthCredential *)credential + completion:(nullable FIRAuthResultCallback)completion; + +/** @fn unlinkFromProvider:completion: + @brief Disassociates a user account from a third-party identity provider with this user. + @param provider The provider ID of the provider to unlink. + @param completion Optionally; the block invoked when the unlinking is complete, or fails. + Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeNoSuchProvider - Indicates an attempt to unlink a provider that is not + linked to the account. + - @c FIRAuthErrorCodeRequiresRecentLogin - Updating email is a security sensitive operation + that requires a recent login from the user. This error indicates the user has not signed + in recently enough. To resolve, reauthenticate the user by invoking + reauthenticateWithCredential:completion: on FIRUser. + - See @c FIRAuthErrors for a list of error codes that are common to all FIRUser operations. + */ +- (void)unlinkFromProvider:(NSString *)provider + completion:(nullable FIRAuthResultCallback)completion; + +/** @fn sendEmailVerificationWithCompletion: + @brief Initiates email verification for the user. + @param completion Optionally; the block invoked when the request to send an email verification + is complete, or fails. Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeUserNotFound - Indicates the user account was not found. + - See @c FIRAuthErrors for a list of error codes that are common to all FIRUser operations. + */ +- (void)sendEmailVerificationWithCompletion:(nullable FIRSendEmailVerificationCallback)completion; + +/** @fn deleteWithCompletion: + @brief Deletes the user account (also signs out the user, if this was the current user). + @param completion Optionally; the block invoked when the request to delete the account is + complete, or fails. Invoked asynchronously on the main thread in the future. + @remarks Possible error codes: + - @c FIRAuthErrorCodeRequiresRecentLogin - Updating email is a security sensitive operation + that requires a recent login from the user. This error indicates the user has not signed + in recently enough. To resolve, reauthenticate the user by invoking + reauthenticateWithCredential:completion: on FIRUser. + - See @c FIRAuthErrors for a list of error codes that are common to all FIRUser operations. + */ +- (void)deleteWithCompletion:(nullable FIRUserProfileChangeCallback)completion; + +@end + +/** @class FIRUserProfileChangeRequest + @brief Represents an object capable of updating a user's profile data. + @remarks Properties are marked as being part of a profile update when they are set. Setting a + property value to nil is not the same as leaving the property unassigned. + */ +@interface FIRUserProfileChangeRequest : NSObject + +/** @fn init + @brief Please use @c FIRUser.profileChangeRequest + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +/** @property displayName + @brief The user's display name. + @remarks It is an error to set this property after calling + @c FIRUserProfileChangeRequest.commitChangesWithCallback: + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** @property photoURL + @brief The user's photo URL. + @remarks It is an error to set this property after calling + @c FIRUserProfileChangeRequest.commitChangesWithCallback: + */ +@property(nonatomic, copy, nullable) NSURL *photoURL; + +/** @fn commitChangesWithCompletion: + @brief Commits any pending changes. + @remarks This method should only be called once. Once called, property values should not be + changed. + @param completion Optionally; the block invoked when the user profile change has been applied. + Invoked asynchronously on the main thread in the future. + */ +- (void)commitChangesWithCompletion:(nullable FIRUserProfileChangeCallback)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h new file mode 100755 index 0000000..633fb87 --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h @@ -0,0 +1,44 @@ +/** @file FIRUserInfo.h + @brief Firebase Auth SDK + @copyright Copyright 2015 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @protocol FIRUserInfo + @brief Represents user data returned from an identity provider. + */ +@protocol FIRUserInfo + +/** @property providerID + @brief The provider identifier. + */ +@property(nonatomic, copy, readonly) NSString *providerID; + +/** @property uid + @brief The provider's user ID for the user. + */ +@property(nonatomic, copy, readonly) NSString *uid; + +/** @property displayName + @brief The name of the user. + */ +@property(nonatomic, copy, readonly, nullable) NSString *displayName; + +/** @property photoURL + @brief The URL of the user's profile photo. + */ +@property(nonatomic, copy, readonly, nullable) NSURL *photoURL; + +/** @property email + @brief The user's email address. + */ +@property(nonatomic, copy, readonly, nullable) NSString *email; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h new file mode 100755 index 0000000..0e7e80a --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h @@ -0,0 +1,27 @@ +/** @file FirebaseAuth.h + @brief Firebase Auth SDK + @copyright Copyright 2015 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +/** @var FirebaseAuthVersionNumber + @brief Version number for FirebaseAuth. + */ +extern const double FirebaseAuthVersionNumber; + +/** @var FirebaseAuthVersionString + @brief Version string for FirebaseAuth. + */ +extern const unsigned char *const FirebaseAuthVersionString; diff --git a/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Modules/module.modulemap b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Modules/module.modulemap new file mode 100755 index 0000000..7c7754e --- /dev/null +++ b/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Modules/module.modulemap @@ -0,0 +1,22 @@ +framework module FirebaseAuth { + umbrella header "FirebaseAuth.h" + + export * + + header "FIRAuth.h" + header "FIRAuthCredential.h" + header "FIRAuthErrors.h" + header "FIREmailPasswordAuthProvider.h" + header "FIRFacebookAuthProvider.h" + header "FIRGitHubAuthProvider.h" + header "FIRGoogleAuthProvider.h" + header "FIRTwitterAuthProvider.h" + header "FIRUser.h" + header "FIRUserInfo.h" + + link framework "Security" + + use FirebaseAnalytics + use GoogleUtilities + use GoogleNetworkingUtilities +} diff --git a/Pods/FirebaseAuth/README.md b/Pods/FirebaseAuth/README.md new file mode 100755 index 0000000..e766949 --- /dev/null +++ b/Pods/FirebaseAuth/README.md @@ -0,0 +1,8 @@ +# Firebase Auth for iOS + +Firebase Auth enables apps to easily support multiple authentication options +for their end users. + +Please visit [our developer site](https://developers.google.com/) for +integration instructions, documentation, support information, and terms of +service. diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/FirebaseCore b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/FirebaseCore new file mode 100755 index 0000000..5f3dcec Binary files /dev/null and b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/FirebaseCore differ diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h new file mode 100755 index 0000000..667d5a4 --- /dev/null +++ b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h @@ -0,0 +1,38 @@ +#import + +/** + * This class provides configuration fields for Firebase Analytics. + */ +@interface FIRAnalyticsConfiguration : NSObject + +/** + * Returns the shared instance of FIRAnalyticsConfiguration. + */ ++ (FIRAnalyticsConfiguration *)sharedInstance; + +/** + * Sets the minimum engagement time in seconds required to start a new session. The default value + * is 10 seconds. + */ +- (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval; + +/** + * Sets the interval of inactivity in seconds that terminates the current session. The default + * value is 1800 seconds (30 minutes). + */ +- (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/** + * Sets whether analytics collection is enabled for this app on this device. This setting is + * persisted across app sessions. By default it is enabled. + */ +- (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/** + * Deprecated. Sets whether measurement and reporting are enabled for this app on this device. By + * default they are enabled. + */ +- (void)setIsEnabled:(BOOL)isEnabled + DEPRECATED_MSG_ATTRIBUTE("Use setAnalyticsCollectionEnabled: instead."); + +@end diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRApp.h b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRApp.h new file mode 100755 index 0000000..45b2388 --- /dev/null +++ b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,94 @@ +#import +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^FIRAppVoidBoolCallback)(BOOL success); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure FIRApp using [FIRApp configure]; + * Or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via -FIRDebugEnabled, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled. + */ +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method is thread safe. + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method is thread + * safe. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options; + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method is thread safe. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ ++ (void)configureWithName:(NSString *)name options:(FIROptions *)options; + +/** + * Returns the default app, or nil if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(defaultApp()); + +/** + * Returns a previously created FIRApp instance with the given name, or nil if no such app exists. + * This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name; + +/** + * Returns the set of all extant FIRApp instances, or nil if there is no FIRApp instance. This + * method is thread safe. + */ ++ (nullable NSDictionary *)allApps; + +/** + * Cleans up the current FIRApp, freeing associated data and returning its name to the pool for + * future use. This method is thread safe in class level. + */ +- (void)deleteApp:(FIRAppVoidBoolCallback)completion; + +/** + * FIRFirebaseApp instances should not be initialized directly. Call |FIRApp configure|, or + * |FIRApp configureWithOptions:|, or |FIRApp configureWithNames:options| directly. + */ +- (nullable instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets the options for this app. + */ +@property(nonatomic, readonly) FIROptions *options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100755 index 0000000..e85ea8b --- /dev/null +++ b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,33 @@ +#import + +#import "FIRAnalyticsConfiguration.h" + +/** + * The log levels used by FIRConfiguration. + */ +typedef NS_ENUM(NSInteger, FIRLogLevel) { + kFIRLogLevelError __deprecated = 0, + kFIRLogLevelWarning __deprecated, + kFIRLogLevelInfo __deprecated, + kFIRLogLevelDebug __deprecated, + kFIRLogLevelAssert __deprecated, + kFIRLogLevelMax __deprecated = kFIRLogLevelAssert +} DEPRECATED_MSG_ATTRIBUTE( + "Use -FIRDebugEnabled and -FIRDebugDisabled. See FIRApp.h for more details."); + +/** + * This interface provides global level properties that the developer can tweak, and the singleton + * of the Firebase Analytics configuration class. + */ +@interface FIRConfiguration : NSObject + ++ (FIRConfiguration *)sharedInstance; + +// The configuration class for Firebase Analytics. +@property(nonatomic, readwrite) FIRAnalyticsConfiguration *analyticsConfiguration; + +// Global log level. Defaults to kFIRLogLevelError. +@property(nonatomic, readwrite, assign) FIRLogLevel logLevel DEPRECATED_MSG_ATTRIBUTE( + "Use -FIRDebugEnabled and -FIRDebugDisabled. See FIRApp.h for more details."); + +@end diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIROptions.h b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIROptions.h new file mode 100755 index 0000000..5ab20c6 --- /dev/null +++ b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,87 @@ +#import + +/** + * This class provides constant fields of Google APIs. + */ +@interface FIROptions : NSObject + +/** + * Returns the default options. + */ ++ (FIROptions *)defaultOptions; + +/** + * An iOS API key used for authenticating requests from your app, e.g. + * @"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers. + */ +@property(nonatomic, readonly, copy) NSString *APIKey; + +/** + * The OAuth2 client ID for iOS application used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, readonly, copy) NSString *clientID; + +/** + * The tracking ID for Google Analytics, e.g. @"UA-12345678-1", used to configure Google Analytics. + */ +@property(nonatomic, readonly, copy) NSString *trackingID; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Google Cloud Messaging. + */ +@property(nonatomic, readonly, copy) NSString *GCMSenderID; + +/** + * The Android client ID used in Google AppInvite when an iOS app has its Android version, for + * example @"12345.apps.googleusercontent.com". + */ +@property(nonatomic, readonly, copy) NSString *androidClientID; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, readonly, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, readonly, copy) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, readwrite, copy) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, readonly, copy) NSString *storageBucket; + +/** + * Initializes a customized instance of FIROptions with keys. googleAppID, bundleID and GCMSenderID + * are required. Other keys may required for configuring specific services. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + bundleID:(NSString *)bundleID + GCMSenderID:(NSString *)GCMSenderID + APIKey:(NSString *)APIKey + clientID:(NSString *)clientID + trackingID:(NSString *)trackingID + androidClientID:(NSString *)androidClientID + databaseURL:(NSString *)databaseURL + storageBucket:(NSString *)storageBucket + deepLinkURLScheme:(NSString *)deepLinkURLScheme; + +/** + * Initializes a customized instance of FIROptions from the file at the given plist file path. + * For example, + * NSString *filePath = + * [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"]; + * FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath]; + * Returns nil if the plist file does not exist or is invalid. + */ +- (instancetype)initWithContentsOfFile:(NSString *)plistPath; + +@end diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FirebaseCore.h b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100755 index 0000000..d144758 --- /dev/null +++ b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,6 @@ +// Generated umbrella header for FirebaseCore. + +#import "FIRAnalyticsConfiguration.h" +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIROptions.h" diff --git a/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Modules/module.modulemap b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Modules/module.modulemap new file mode 100755 index 0000000..82d14eb --- /dev/null +++ b/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,15 @@ +framework module FirebaseCore { + + export * + + umbrella header "FirebaseCore.h" + + header "FIRAnalyticsConfiguration.h" + header "FIRApp.h" + header "FIRConfiguration.h" + header "FIROptions.h" + + link framework "SystemConfiguration" + + link "c++" +} diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/FirebaseDatabase b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/FirebaseDatabase new file mode 100755 index 0000000..6b226a4 Binary files /dev/null and b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/FirebaseDatabase differ diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h new file mode 100755 index 0000000..d940f9b --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h @@ -0,0 +1,43 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef Firebase_FIRDataEventType_h +#define Firebase_FIRDataEventType_h + +/** + * This enum is the set of events that you can observe at a Firebase Database location. + */ +typedef NS_ENUM(NSInteger, FIRDataEventType) { + FIRDataEventTypeChildAdded, // 0, fired when a new child node is added to a location + FIRDataEventTypeChildRemoved, // 1, fired when a child node is removed from a location + FIRDataEventTypeChildChanged, // 2, fired when a child node at a location changes + FIRDataEventTypeChildMoved, // 3, fired when a child node moves relative to the other child nodes at a location + FIRDataEventTypeValue // 4, fired when any data changes at a location and, recursively, any children +}; + +#endif diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h new file mode 100755 index 0000000..7953102 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h @@ -0,0 +1,158 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FIRDatabaseReference; + +/** + * A FIRDataSnapshot contains data from a Firebase Database location. Any time you read + * Firebase data, you receive the data as a FIRDataSnapshot. + * + * FIRDataSnapshots are passed to the blocks you attach with observeEventType:withBlock: or observeSingleEvent:withBlock:. + * They are efficiently-generated immutable copies of the data at a Firebase Database location. + * They can't be modified and will never change. To modify data at a location, + * use a FIRDatabaseReference (e.g. with setValue:). + */ +@interface FIRDataSnapshot : NSObject + + +/** @name Navigating and inspecting a snapshot */ + +/** + * Gets a FIRDataSnapshot for the location at the specified relative path. + * The relative path can either be a simple child key (e.g. 'fred') + * or a deeper slash-separated path (e.g. 'fred/name/first'). If the child + * location has no data, an empty FIRDataSnapshot is returned. + * + * @param childPathString A relative path to the location of child data. + * @return The FIRDataSnapshot for the child location. + */ +- (FIRDataSnapshot *)childSnapshotForPath:(NSString *)childPathString; + + +/** + * Return YES if the specified child exists. + * + * @param childPathString A relative path to the location of a potential child. + * @return YES if data exists at the specified childPathString, else NO. + */ +- (BOOL) hasChild:(NSString *)childPathString; + + +/** + * Return YES if the DataSnapshot has any children. + * + * @return YES if this snapshot has any children, else NO. + */ +- (BOOL) hasChildren; + + +/** + * Return YES if the DataSnapshot contains a non-null value. + * + * @return YES if this snapshot contains a non-null value, else NO. + */ +- (BOOL) exists; + + +/** @name Data export */ + +/** + * Returns the raw value at this location, coupled with any metadata, such as priority. + * + * Priorities, where they exist, are accessible under the ".priority" key in instances of NSDictionary. + * For leaf locations with priorities, the value will be under the ".value" key. + */ +- (id __nullable) valueInExportFormat; + + +/** @name Properties */ + +/** + * Returns the contents of this data snapshot as native types. + * + * Data types returned: + * * NSDictionary + * * NSArray + * * NSNumber (also includes booleans) + * * NSString + * + * @return The data as a native object. + */ +@property (strong, readonly, nonatomic, nullable) id value; + + +/** + * Gets the number of children for this DataSnapshot. + * + * @return An integer indicating the number of children. + */ +@property (readonly, nonatomic) NSUInteger childrenCount; + + +/** + * Gets a FIRDatabaseReference for the location that this data came from + * + * @return A FIRDatabaseReference instance for the location of this data + */ +@property (nonatomic, readonly, strong) FIRDatabaseReference * ref; + + +/** + * The key of the location that generated this FIRDataSnapshot. + * + * @return An NSString containing the key for the location of this FIRDataSnapshot. + */ +@property (strong, readonly, nonatomic) NSString* key; + + +/** + * An iterator for snapshots of the child nodes in this snapshot. + * You can use the native for..in syntax: + * + * for (FIRDataSnapshot* child in snapshot.children) { + * ... + * } + * + * @return An NSEnumerator of the children + */ +@property (strong, readonly, nonatomic) NSEnumerator* children; + +/** + * The priority of the data in this FIRDataSnapshot. + * + * @return The priority as a string, or nil if no priority was set. + */ +@property (strong, readonly, nonatomic, nullable) id priority; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h new file mode 100755 index 0000000..fece3e6 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h @@ -0,0 +1,138 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import "FIRDatabaseReference.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/** + * The entry point for accessing a Firebase Database. You can get an instance by calling + * [FIRDatabase database]. To access a location in the database and read or write data, + * use [FIRDatabase reference]. + */ +@interface FIRDatabase : NSObject + +/** + * Gets the instance of FIRDatabase for the default FIRApp. + * + * @return A FIRDatabase instance. + */ ++ (FIRDatabase *) database NS_SWIFT_NAME(database()); + +/** + * Gets an instance of FIRDatabase for a specific FIRApp. + * + * @param app The FIRApp to get a FIRDatabase for. + * @return A FIRDatabase instance. + */ ++ (FIRDatabase *) databaseForApp:(FIRApp*)app NS_SWIFT_NAME(database(app:)); + +/** The FIRApp instance to which this FIRDatabase belongs. */ +@property (weak, readonly, nonatomic) FIRApp *app; + +/** + * Gets a FIRDatabaseReference for the root of your Firebase Database. + */ +- (FIRDatabaseReference *) reference; + +/** + * Gets a FIRDatabaseReference for the provided path. + * + * @param path Path to a location in your Firebase Database. + * @return A FIRDatabaseReference pointing to the specified path. + */ +- (FIRDatabaseReference *) referenceWithPath:(NSString *)path; + +/** + * Gets a FIRDatabaseReference for the provided URL. The URL must be a URL to a path + * within this Firebase Database. To create a FIRDatabaseReference to a different database, + * create a FIRApp} with a FIROptions object configured with the appropriate database URL. + * + * @param url A URL to a path within your database. + * @return A FIRDatabaseReference for the provided URL. +*/ +- (FIRDatabaseReference *) referenceFromURL:(NSString *)databaseUrl; + +/** + * The Firebase Database client automatically queues writes and sends them to the server at the earliest opportunity, + * depending on network connectivity. In some cases (e.g. offline usage) there may be a large number of writes + * waiting to be sent. Calling this method will purge all outstanding writes so they are abandoned. + * + * All writes will be purged, including transactions and onDisconnect writes. The writes will + * be rolled back locally, perhaps triggering events for affected event listeners, and the client will not + * (re-)send them to the Firebase Database backend. + */ +- (void)purgeOutstandingWrites; + +/** + * Shuts down our connection to the Firebase Database backend until goOnline is called. + */ +- (void)goOffline; + +/** + * Resumes our connection to the Firebase Database backend after a previous goOffline call. + */ +- (void)goOnline; + +/** + * The Firebase Database client will cache synchronized data and keep track of all writes you've + * initiated while your application is running. It seamlessly handles intermittent network + * connections and re-sends write operations when the network connection is restored. + * + * However by default your write operations and cached data are only stored in-memory and will + * be lost when your app restarts. By setting this value to `YES`, the data will be persisted + * to on-device (disk) storage and will thus be available again when the app is restarted + * (even when there is no network connectivity at that time). Note that this property must be + * set before creating your first Database reference and only needs to be called once per + * application. + * + */ +@property (nonatomic) BOOL persistenceEnabled; + +/** + * Sets the dispatch queue on which all events are raised. The default queue is the main queue. + * + * Note that this must be set before creating your first Database reference. + */ +@property (nonatomic, strong) dispatch_queue_t callbackQueue; + +/** + * Enables verbose diagnostic logging. + * @param enabled YES to enable logging, NO to disable. + */ ++ (void) setLoggingEnabled:(BOOL)enabled; + +/** Retrieve the Firebase Database SDK version. */ ++ (NSString *) sdkVersion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h new file mode 100755 index 0000000..a70aadb --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h @@ -0,0 +1,318 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import "FIRDataEventType.h" +#import "FIRDataSnapshot.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSUInteger FIRDatabaseHandle; + +/** + * A FIRDatabaseQuery instance represents a query over the data at a particular location. + * + * You create one by calling one of the query methods (queryOrderedByChild:, queryStartingAtValue:, etc.) + * on a FIRDatabaseReference. The query methods can be chained to further specify the data you are interested in + * observing + */ +@interface FIRDatabaseQuery : NSObject + + +/** @name Attach observers to read data */ + +/** + * observeEventType:withBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. + * + * Use removeObserverWithHandle: to stop receiving updates. + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot. + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block; + + +/** + * observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * Use removeObserverWithHandle: to stop receiving updates. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot + * and the previous child's key. + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block; + + +/** + * observeEventType:withBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. + * + * The cancelBlock will be called if you will no longer receive new events due to no longer having permission. + * + * Use removeObserverWithHandle: to stop receiving updates. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot. + * @param cancelBlock The block that should be called if this client no longer has permission to receive these events + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + + +/** + * observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * The cancelBlock will be called if you will no longer receive new events due to no longer having permission. + * + * Use removeObserverWithHandle: to stop receiving updates. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot + * and the previous child's key. + * @param cancelBlock The block that should be called if this client no longer has permission to receive these events + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot. + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key. + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. + * + * The cancelBlock will be called if you do not have permission to read data at this location. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot. + * @param cancelBlock The block that will be called if you don't have permission to access this data + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * The cancelBlock will be called if you do not have permission to read data at this location. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key. + * @param cancelBlock The block that will be called if you don't have permission to access this data + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + +/** @name Detaching observers */ + +/** + * Detach a block previously attached with observeEventType:withBlock:. + * + * @param handle The handle returned by the call to observeEventType:withBlock: which we are trying to remove. + */ +- (void) removeObserverWithHandle:(FIRDatabaseHandle)handle; + + +/** + * Detach all blocks previously attached to this Firebase Database location with observeEventType:withBlock: + */ +- (void) removeAllObservers; + +/** + * By calling `keepSynced:YES` on a location, the data for that location will automatically be downloaded and + * kept in sync, even when no listeners are attached for that location. Additionally, while a location is kept + * synced, it will not be evicted from the persistent disk cache. + * + * @param keepSynced Pass YES to keep this location synchronized, pass NO to stop synchronization. +*/ + - (void) keepSynced:(BOOL)keepSynced; + + +/** @name Querying and limiting */ + + +/** +* queryLimitedToFirst: is used to generate a reference to a limited view of the data at this location. +* The FIRDatabaseQuery instance returned by queryLimitedToFirst: will respond to at most the first limit child nodes. +* +* @param limit The upper bound, inclusive, for the number of child nodes to receive events for +* @return A FIRDatabaseQuery instance, limited to at most limit child nodes. +*/ +- (FIRDatabaseQuery *)queryLimitedToFirst:(NSUInteger)limit; + + +/** +* queryLimitedToLast: is used to generate a reference to a limited view of the data at this location. +* The FIRDatabaseQuery instance returned by queryLimitedToLast: will respond to at most the last limit child nodes. +* +* @param limit The upper bound, inclusive, for the number of child nodes to receive events for +* @return A FIRDatabaseQuery instance, limited to at most limit child nodes. +*/ +- (FIRDatabaseQuery *)queryLimitedToLast:(NSUInteger)limit; + +/** +* queryOrderBy: is used to generate a reference to a view of the data that's been sorted by the values of +* a particular child key. This method is intended to be used in combination with queryStartingAtValue:, +* queryEndingAtValue:, or queryEqualToValue:. +* + * @param key The child key to use in ordering data visible to the returned FIRDatabaseQuery + * @return A FIRDatabaseQuery instance, ordered by the values of the specified child key. +*/ +- (FIRDatabaseQuery *)queryOrderedByChild:(NSString *)key; + +/** + * queryOrderedByKey: is used to generate a reference to a view of the data that's been sorted by child key. + * This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:, + * or queryEqualToValue:. + * + * @return A FIRDatabaseQuery instance, ordered by child keys. + */ +- (FIRDatabaseQuery *) queryOrderedByKey; + +/** + * queryOrderedByValue: is used to generate a reference to a view of the data that's been sorted by child value. + * This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:, + * or queryEqualToValue:. + * + * @return A FIRDatabaseQuery instance, ordered by child value. + */ +- (FIRDatabaseQuery *) queryOrderedByValue; + +/** + * queryOrderedByPriority: is used to generate a reference to a view of the data that's been sorted by child + * priority. This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:, + * or queryEqualToValue:. + * + * @return A FIRDatabaseQuery instance, ordered by child priorities. + */ +- (FIRDatabaseQuery *) queryOrderedByPriority; + +/** + * queryStartingAtValue: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryStartingAtValue: will respond to events at nodes with a value + * greater than or equal to startValue. + * + * @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue + */ +- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue; + +/** + * queryStartingAtValue:childKey: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryStartingAtValue:childKey will respond to events at nodes with a value + * greater than startValue, or equal to startValue and with a key greater than or equal to childKey. + * + * @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @param childKey The lower bound, inclusive, for the key of nodes with value equal to startValue + * @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue + */ +- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue childKey:(nullable NSString *)childKey; + +/** + * queryEndingAtValue: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEndingAtValue: will respond to events at nodes with a value + * less than or equal to endValue. + * + * @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue + */ +- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue; + +/** + * queryEndingAtValue:childKey: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEndingAtValue:childKey will respond to events at nodes with a value + * less than endValue, or equal to endValue and with a key less than or equal to childKey. + * + * @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @param childKey The upper bound, inclusive, for the key of nodes with value equal to endValue + * @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue + */ +- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue childKey:(nullable NSString *)childKey; + +/** + * queryEqualToValue: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEqualToValue: will respond to events at nodes with a value equal + * to the supplied argument. + * + * @param value The value that the data returned by this FIRDatabaseQuery will have + * @return A FIRDatabaseQuery instance, limited to data with the supplied value. + */ +- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value; + +/** + * queryEqualToValue:childKey: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEqualToValue:childKey will respond to events at nodes with a value + * equal to the supplied argument with a name equal to childKey. There will be at most one node that matches because + * child keys are unique. + * + * @param value The value that the data returned by this FIRDatabaseQuery will have + * @param childKey The name of nodes with the right value + * @return A FIRDatabaseQuery instance, limited to data with the supplied value and the key. + */ +- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value childKey:(nullable NSString *)childKey; + + +/** @name Properties */ + + +/** +* Gets a FIRDatabaseReference for the location of this query. +* +* @return A FIRDatabaseReference for the location of this query. +*/ +@property (nonatomic, readonly, strong) FIRDatabaseReference * ref; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h new file mode 100755 index 0000000..5f847b6 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h @@ -0,0 +1,730 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +#import +#import "FIRDatabaseQuery.h" +#import "FIRDatabase.h" +#import "FIRDataSnapshot.h" +#import "FIRMutableData.h" +#import "FIRTransactionResult.h" +#import "FIRServerValue.h" + +NS_ASSUME_NONNULL_BEGIN + +@class FIRDatabase; + +/** + * A FIRDatabaseReference represents a particular location in your Firebase Database + * and can be used for reading or writing data to that Firebase Database location. + * + * This class is the starting point for all Firebase Database operations. After you've + * initialized it with initWithUrl: you can use it + * to read data (ie. observeEventType:withBlock:), write data (ie. setValue:), and to create new + * FIRDatabaseReferences (ie. child:). + */ +@interface FIRDatabaseReference : FIRDatabaseQuery + + +/** @name Getting references to children locations */ + +/** + * Gets a FIRDatabaseReference for the location at the specified relative path. + * The relative path can either be a simple child key (e.g. 'fred') or a + * deeper slash-separated path (e.g. 'fred/name/first'). + * + * @param pathString A relative path from this location to the desired child location. + * @return A FIRDatabaseReference for the specified relative path. + */ +- (FIRDatabaseReference *)child:(NSString *)pathString; + +/** + * childByAppendingPath: is deprecated, use child: instead. + */ +- (FIRDatabaseReference *)childByAppendingPath:(NSString *)pathString __deprecated_msg("use child: instead"); + +/** + * childByAutoId generates a new child location using a unique key and returns a + * FIRDatabaseReference to it. This is useful when the children of a Firebase Database + * location represent a list of items. + * + * The unique key generated by childByAutoId: is prefixed with a client-generated + * timestamp so that the resulting list will be chronologically-sorted. + * + * @return A FIRDatabaseReference for the generated location. + */ +- (FIRDatabaseReference *) childByAutoId; + + +/** @name Writing data */ + +/** Write data to this Firebase Database location. + +This will overwrite any data at this location and all child locations. + +Data types that can be set are: + +- NSString -- @"Hello World" +- NSNumber (also includes boolean) -- @YES, @43, @4.333 +- NSDictionary -- @{@"key": @"value", @"nested": @{@"another": @"value"} } +- NSArray + +The effect of the write will be visible immediately and the corresponding +events will be triggered. Synchronization of the data to the Firebase Database +servers will also be started. + +Passing null for the new value is equivalent to calling remove:; +all data at this location or any child location will be deleted. + +Note that setValue: will remove any priority stored at this location, so if priority +is meant to be preserved, you should use setValue:andPriority: instead. + +@param value The value to be written. + */ +- (void) setValue:(nullable id)value; + + +/** + * The same as setValue: with a block that gets triggered after the write operation has + * been committed to the Firebase Database servers. + * + * @param value The value to be written. + * @param block The block to be called after the write has been committed to the Firebase Database servers. + */ +- (void) setValue:(nullable id)value withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** + * The same as setValue: with an additional priority to be attached to the data being written. + * Priorities are used to order items. + * + * @param value The value to be written. + * @param priority The priority to be attached to that data. + */ +- (void) setValue:(nullable id)value andPriority:(nullable id)priority; + + +/** + * The same as setValue:andPriority: with a block that gets triggered after the write operation has + * been committed to the Firebase Database servers. + * + * @param value The value to be written. + * @param priority The priority to be attached to that data. + * @param block The block to be called after the write has been committed to the Firebase Database servers. + */ +- (void) setValue:(nullable id)value andPriority:(nullable id)priority withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** + * Remove the data at this Firebase Database location. Any data at child locations will also be deleted. + * + * The effect of the delete will be visible immediately and the corresponding events + * will be triggered. Synchronization of the delete to the Firebase Database servers will + * also be started. + * + * remove: is equivalent to calling setValue:nil + */ +- (void) removeValue; + + +/** + * The same as remove: with a block that gets triggered after the remove operation has + * been committed to the Firebase Database servers. + * + * @param block The block to be called after the remove has been committed to the Firebase Database servers. + */ +- (void) removeValueWithCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + +/** + * Sets a priority for the data at this Firebase Database location. + * Priorities can be used to provide a custom ordering for the children at a location + * (if no priorities are specified, the children are ordered by key). + * + * You cannot set a priority on an empty location. For this reason + * setValue:andPriority: should be used when setting initial data with a specific priority + * and setPriority: should be used when updating the priority of existing data. + * + * Children are sorted based on this priority using the following rules: + * + * Children with no priority come first. + * Children with a number as their priority come next. They are sorted numerically by priority (small to large). + * Children with a string as their priority come last. They are sorted lexicographically by priority. + * Whenever two children have the same priority (including no priority), they are sorted by key. Numeric + * keys come first (sorted numerically), followed by the remaining keys (sorted lexicographically). + * + * Note that priorities are parsed and ordered as IEEE 754 double-precision floating-point numbers. + * Keys are always stored as strings and are treated as numbers only when they can be parsed as a + * 32-bit integer + * + * @param priority The priority to set at the specified location. + */ +- (void) setPriority:(nullable id)priority; + + +/** + * The same as setPriority: with a block that is called once the priority has + * been committed to the Firebase Database servers. + * + * @param priority The priority to set at the specified location. + * @param block The block that is triggered after the priority has been written on the servers. + */ +- (void) setPriority:(nullable id)priority withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + +/** + * Updates the values at the specified paths in the dictionary without overwriting other + * keys at this location. + * + * @param values A dictionary of the keys to change and their new values + */ +- (void) updateChildValues:(NSDictionary *)values; + +/** + * The same as update: with a block that is called once the update has been committed to the + * Firebase Database servers + * + * @param values A dictionary of the keys to change and their new values + * @param block The block that is triggered after the update has been written on the Firebase Database servers + */ +- (void) updateChildValues:(NSDictionary *)values withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** @name Attaching observers to read data */ + +/** + * observeEventType:withBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. + * + * Use removeObserverWithHandle: to stop receiving updates. + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot. + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block; + + +/** + * observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * Use removeObserverWithHandle: to stop receiving updates. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot + * and the previous child's key. + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block; + + +/** + * observeEventType:withBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. + * + * The cancelBlock will be called if you will no longer receive new events due to no longer having permission. + * + * Use removeObserverWithHandle: to stop receiving updates. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot. + * @param cancelBlock The block that should be called if this client no longer has permission to receive these events + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + + +/** + * observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location. + * This is the primary way to read data from the Firebase Database. Your block will be triggered + * for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * The cancelBlock will be called if you will no longer receive new events due to no longer having permission. + * + * Use removeObserverWithHandle: to stop receiving updates. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot + * and the previous child's key. + * @param cancelBlock The block that should be called if this client no longer has permission to receive these events + * @return A handle used to unregister this block later using removeObserverWithHandle: + */ +- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot. + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key. + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. + * + * The cancelBlock will be called if you do not have permission to read data at this location. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot. + * @param cancelBlock The block that will be called if you don't have permission to access this data + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + + +/** + * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and + * FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order. + * + * The cancelBlock will be called if you do not have permission to read data at this location. + * + * @param eventType The type of event to listen for. + * @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key. + * @param cancelBlock The block that will be called if you don't have permission to access this data + */ +- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock; + +/** @name Detaching observers */ + +/** + * Detach a block previously attached with observeEventType:withBlock:. + * + * @param handle The handle returned by the call to observeEventType:withBlock: which we are trying to remove. + */ +- (void) removeObserverWithHandle:(FIRDatabaseHandle)handle; + +/** + * By calling `keepSynced:YES` on a location, the data for that location will automatically be downloaded and + * kept in sync, even when no listeners are attached for that location. Additionally, while a location is kept + * synced, it will not be evicted from the persistent disk cache. + * + * @param keepSynced Pass YES to keep this location synchronized, pass NO to stop synchronization. + */ +- (void) keepSynced:(BOOL)keepSynced; + + +/** + * Removes all observers at the current reference, but does not remove any observers at child references. + * removeAllObservers must be called again for each child reference where a listener was established to remove the observers. + */ +- (void) removeAllObservers; + +/** @name Querying and limiting */ + + +/** + * queryLimitedToFirst: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryLimitedToFirst: will respond to at most the first limit child nodes. + * + * @param limit The upper bound, inclusive, for the number of child nodes to receive events for + * @return A FIRDatabaseQuery instance, limited to at most limit child nodes. + */ +- (FIRDatabaseQuery *)queryLimitedToFirst:(NSUInteger)limit; + + +/** + * queryLimitedToLast: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryLimitedToLast: will respond to at most the last limit child nodes. + * + * @param limit The upper bound, inclusive, for the number of child nodes to receive events for + * @return A FIRDatabaseQuery instance, limited to at most limit child nodes. + */ +- (FIRDatabaseQuery *)queryLimitedToLast:(NSUInteger)limit; + +/** + * queryOrderBy: is used to generate a reference to a view of the data that's been sorted by the values of + * a particular child key. This method is intended to be used in combination with queryStartingAtValue:, + * queryEndingAtValue:, or queryEqualToValue:. + * + * @param key The child key to use in ordering data visible to the returned FIRDatabaseQuery + * @return A FIRDatabaseQuery instance, ordered by the values of the specified child key. + */ +- (FIRDatabaseQuery *)queryOrderedByChild:(NSString *)key; + +/** + * queryOrderedByKey: is used to generate a reference to a view of the data that's been sorted by child key. + * This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:, + * or queryEqualToValue:. + * + * @return A FIRDatabaseQuery instance, ordered by child keys. + */ +- (FIRDatabaseQuery *) queryOrderedByKey; + +/** + * queryOrderedByPriority: is used to generate a reference to a view of the data that's been sorted by child + * priority. This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:, + * or queryEqualToValue:. + * + * @return A FIRDatabaseQuery instance, ordered by child priorities. + */ +- (FIRDatabaseQuery *) queryOrderedByPriority; + +/** + * queryStartingAtValue: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryStartingAtValue: will respond to events at nodes with a value + * greater than or equal to startValue. + * + * @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue + */ +- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue; + +/** + * queryStartingAtValue:childKey: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryStartingAtValue:childKey will respond to events at nodes with a value + * greater than startValue, or equal to startValue and with a key greater than or equal to childKey. + * + * @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @param childKey The lower bound, inclusive, for the key of nodes with value equal to startValue + * @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue + */ +- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue childKey:(nullable NSString *)childKey; + +/** + * queryEndingAtValue: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEndingAtValue: will respond to events at nodes with a value + * less than or equal to endValue. + * + * @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue + */ +- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue; + +/** + * queryEndingAtValue:childKey: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEndingAtValue:childKey will respond to events at nodes with a value + * less than endValue, or equal to endValue and with a key less than or equal to childKey. + * + * @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery + * @param childKey The upper bound, inclusive, for the key of nodes with value equal to endValue + * @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue + */ +- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue childKey:(nullable NSString *)childKey; + +/** + * queryEqualToValue: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEqualToValue: will respond to events at nodes with a value equal + * to the supplied argument. + * + * @param value The value that the data returned by this FIRDatabaseQuery will have + * @return A FIRDatabaseQuery instance, limited to data with the supplied value. + */ +- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value; + +/** + * queryEqualToValue:childKey: is used to generate a reference to a limited view of the data at this location. + * The FIRDatabaseQuery instance returned by queryEqualToValue:childKey will respond to events at nodes with a value + * equal to the supplied argument with a key equal to childKey. There will be at most one node that matches because + * child keys are unique. + * + * @param value The value that the data returned by this FIRDatabaseQuery will have + * @param childKey The key of nodes with the right value + * @return A FIRDatabaseQuery instance, limited to data with the supplied value and the key. + */ +- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value childKey:(nullable NSString *)childKey; + +/** @name Managing presence */ + +/** + * Ensure the data at this location is set to the specified value when + * the client is disconnected (due to closing the browser, navigating + * to a new page, or network issues). + * + * onDisconnectSetValue: is especially useful for implementing "presence" systems, + * where a value should be changed or cleared when a user disconnects + * so that he appears "offline" to other users. + * + * @param value The value to be set after the connection is lost. + */ +- (void) onDisconnectSetValue:(nullable id)value; + + +/** + * Ensure the data at this location is set to the specified value when + * the client is disconnected (due to closing the browser, navigating + * to a new page, or network issues). + * + * The completion block will be triggered when the operation has been successfully queued up on the Firebase Database servers + * + * @param value The value to be set after the connection is lost. + * @param block Block to be triggered when the operation has been queued up on the Firebase Database servers + */ +- (void) onDisconnectSetValue:(nullable id)value withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** + * Ensure the data at this location is set to the specified value and priority when + * the client is disconnected (due to closing the browser, navigating + * to a new page, or network issues). + * + * @param value The value to be set after the connection is lost. + * @param priority The priority to be set after the connection is lost. + */ +- (void) onDisconnectSetValue:(nullable id)value andPriority:(id)priority; + + +/** + * Ensure the data at this location is set to the specified value and priority when + * the client is disconnected (due to closing the browser, navigating + * to a new page, or network issues). + * + * The completion block will be triggered when the operation has been successfully queued up on the Firebase Database servers + * + * @param value The value to be set after the connection is lost. + * @param priority The priority to be set after the connection is lost. + * @param block Block to be triggered when the operation has been queued up on the Firebase Database servers + */ +- (void) onDisconnectSetValue:(nullable id)value andPriority:(nullable id)priority withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** + * Ensure the data at this location is removed when + * the client is disconnected (due to closing the app, navigating + * to a new page, or network issues). + * + * onDisconnectRemoveValue is especially useful for implementing "presence" systems. + */ +- (void) onDisconnectRemoveValue; + + +/** + * Ensure the data at this location is removed when + * the client is disconnected (due to closing the app, navigating + * to a new page, or network issues). + * + * onDisconnectRemoveValueWithCompletionBlock: is especially useful for implementing "presence" systems. + * + * @param block Block to be triggered when the operation has been queued up on the Firebase Database servers + */ +- (void) onDisconnectRemoveValueWithCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + + +/** + * Ensure the data has the specified child values updated when + * the client is disconnected (due to closing the browser, navigating + * to a new page, or network issues). + * + * + * @param values A dictionary of child node keys and the values to set them to after the connection is lost. + */ +- (void) onDisconnectUpdateChildValues:(NSDictionary *)values; + + +/** + * Ensure the data has the specified child values updated when + * the client is disconnected (due to closing the browser, navigating + * to a new page, or network issues). + * + * + * @param values A dictionary of child node keys and the values to set them to after the connection is lost. + * @param block A block that will be called once the operation has been queued up on the Firebase Database servers + */ +- (void) onDisconnectUpdateChildValues:(NSDictionary *)values withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** + * Cancel any operations that are set to run on disconnect. If you previously called onDisconnectSetValue:, + * onDisconnectRemoveValue:, or onDisconnectUpdateChildValues:, and no longer want the values updated when the + * connection is lost, call cancelDisconnectOperations: + */ +- (void) cancelDisconnectOperations; + + +/** + * Cancel any operations that are set to run on disconnect. If you previously called onDisconnectSetValue:, + * onDisconnectRemoveValue:, or onDisconnectUpdateChildValues:, and no longer want the values updated when the + * connection is lost, call cancelDisconnectOperations: + * + * @param block A block that will be triggered once the Firebase Database servers have acknowledged the cancel request. + */ +- (void) cancelDisconnectOperationsWithCompletionBlock:(nullable void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block; + + +/** @name Manual Connection Management */ + +/** + * Manually disconnect the Firebase Database client from the server and disable automatic reconnection. + * + * The Firebase Database client automatically maintains a persistent connection to the Firebase Database server, + * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( ) + * and goOnline( ) methods may be used to manually control the client connection in cases where + * a persistent connection is undesirable. + * + * While offline, the Firebase Database client will no longer receive data updates from the server. However, + * all database operations performed locally will continue to immediately fire events, allowing + * your application to continue behaving normally. Additionally, each operation performed locally + * will automatically be queued and retried upon reconnection to the Firebase Database server. + * + * To reconnect to the Firebase Database server and begin receiving remote events, see goOnline( ). + * Once the connection is reestablished, the Firebase Database client will transmit the appropriate data + * and fire the appropriate events so that your client "catches up" automatically. + * + * Note: Invoking this method will impact all Firebase Database connections. + */ ++ (void) goOffline; + +/** + * Manually reestablish a connection to the Firebase Database server and enable automatic reconnection. + * + * The Firebase Database client automatically maintains a persistent connection to the Firebase Database server, + * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( ) + * and goOnline( ) methods may be used to manually control the client connection in cases where + * a persistent connection is undesirable. + * + * This method should be used after invoking goOffline( ) to disable the active connection. + * Once reconnected, the Firebase Database client will automatically transmit the proper data and fire + * the appropriate events so that your client "catches up" automatically. + * + * To disconnect from the Firebase Database server, see goOffline( ). + * + * Note: Invoking this method will impact all Firebase Database connections. + */ ++ (void) goOnline; + + +/** @name Transactions */ + +/** + * Performs an optimistic-concurrency transactional update to the data at this location. Your block will be called with a FIRMutableData + * instance that contains the current data at this location. Your block should update this data to the value you + * wish to write to this location, and then return an instance of FIRTransactionResult with the new data. + * + * If, when the operation reaches the server, it turns out that this client had stale data, your block will be run + * again with the latest data from the server. + * + * When your block is run, you may decide to abort the transaction by returning [FIRTransactionResult abort]. + * + * @param block This block receives the current data at this location and must return an instance of FIRTransactionResult + */ +- (void) runTransactionBlock:(FIRTransactionResult * (^) (FIRMutableData* currentData))block; + + +/** + * Performs an optimistic-concurrency transactional update to the data at this location. Your block will be called with a FIRMutableData + * instance that contains the current data at this location. Your block should update this data to the value you + * wish to write to this location, and then return an instance of FIRTransactionResult with the new data. + * + * If, when the operation reaches the server, it turns out that this client had stale data, your block will be run + * again with the latest data from the server. + * + * When your block is run, you may decide to abort the transaction by returning [FIRTransactionResult abort]. + * + * @param block This block receives the current data at this location and must return an instance of FIRTransactionResult + * @param completionBlock This block will be triggered once the transaction is complete, whether it was successful or not. It will indicate if there was an error, whether or not the data was committed, and what the current value of the data at this location is. + */ +- (void)runTransactionBlock:(FIRTransactionResult * (^) (FIRMutableData* currentData))block andCompletionBlock:(void (^) (NSError *__nullable error, BOOL committed, FIRDataSnapshot *__nullable snapshot))completionBlock; + + + +/** + * Performs an optimistic-concurrency transactional update to the data at this location. Your block will be called with a FIRMutableData + * instance that contains the current data at this location. Your block should update this data to the value you + * wish to write to this location, and then return an instance of FIRTransactionResult with the new data. + * + * If, when the operation reaches the server, it turns out that this client had stale data, your block will be run + * again with the latest data from the server. + * + * When your block is run, you may decide to abort the transaction by return [FIRTransactionResult abort]. + * + * Since your block may be run multiple times, this client could see several immediate states that don't exist on the server. You can suppress those immediate states until the server confirms the final state of the transaction. + * + * @param block This block receives the current data at this location and must return an instance of FIRTransactionResult + * @param completionBlock This block will be triggered once the transaction is complete, whether it was successful or not. It will indicate if there was an error, whether or not the data was committed, and what the current value of the data at this location is. + * @param localEvents Set this to NO to suppress events raised for intermediate states, and only get events based on the final state of the transaction. + */ +- (void)runTransactionBlock:(FIRTransactionResult * (^) (FIRMutableData* currentData))block andCompletionBlock:(nullable void (^) (NSError *__nullable error, BOOL committed, FIRDataSnapshot *__nullable snapshot))completionBlock withLocalEvents:(BOOL)localEvents; + + +/** @name Retrieving String Representation */ + +/** + * Gets the absolute URL of this Firebase Database location. + * + * @return The absolute URL of the referenced Firebase Database location. + */ +- (NSString *) description; + +/** @name Properties */ + +/** + * Gets a FIRDatabaseReference for the parent location. + * If this instance refers to the root of your Firebase Database, it has no parent, + * and therefore parent( ) will return null. + * + * @return A FIRDatabaseReference for the parent location. + */ +@property (strong, readonly, nonatomic, nullable) FIRDatabaseReference * parent; + + +/** + * Gets a FIRDatabaseReference for the root location + * + * @return A new FIRDatabaseReference to root location. + */ +@property (strong, readonly, nonatomic) FIRDatabaseReference * root; + + +/** + * Gets the last token in a Firebase Database location (e.g. 'fred' in https://SampleChat.firebaseIO-demo.com/users/fred) + * + * @return The key of the location this reference points to. + */ +@property (strong, readonly, nonatomic) NSString* key; + +/** + * Gets the URL for the Firebase Database location referenced by this FIRDatabaseReference. + * + * @return The url of the location this reference points to. + */ +@property (strong, readonly, nonatomic) NSString* URL; + +/** + * Gets the FIRDatabase instance associated with this reference. + * + * @return The FIRDatabase object for this reference. + */ +@property (strong, readonly, nonatomic) FIRDatabase *database; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h new file mode 100755 index 0000000..252f9f4 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h @@ -0,0 +1,139 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A FIRMutableData instance is populated with data from a Firebase Database location. + * When you are using runTransactionBlock:, you will be given an instance containing the current + * data at that location. Your block will be responsible for updating that instance to the data + * you wish to save at that location, and then returning using [FIRTransactionResult successWithValue:]. + * + * To modify the data, set its value property to any of the native types support by Firebase Database: + * * NSNumber (includes BOOL) + * * NSDictionary + * * NSArray + * * NSString + * * nil / NSNull to remove the data + * + * Note that changes made to a child FIRMutableData instance will be visible to the parent. + */ +@interface FIRMutableData : NSObject + + +/** @name Inspecting and navigating the data */ + + +/** + * Returns boolean indicating whether this mutable data has children. + * + * @return YES if this data contains child nodes. + */ +- (BOOL) hasChildren; + + +/** + * Indicates whether this mutable data has a child at the given path. + * + * @param path A path string, consisting either of a single segment, like 'child', or multiple segments, 'a/deeper/child' + * @return YES if this data contains a child at the specified relative path + */ +- (BOOL) hasChildAtPath:(NSString *)path; + + +/** + * Used to obtain a FIRMutableData instance that encapsulates the data at the given relative path. + * Note that changes made to the child will be visible to the parent. + * + * @param path A path string, consisting either of a single segment, like 'child', or multiple segments, 'a/deeper/child' + * @return A FIRMutableData instance containing the data at the given path + */ +- (FIRMutableData *)childDataByAppendingPath:(NSString *)path; + + +/** @name Properties */ + + +/** + * To modify the data contained by this instance of FIRMutableData, set this to any of the native types supported by Firebase Database: + * + * * NSNumber (includes BOOL) + * * NSDictionary + * * NSArray + * * NSString + * * nil / NSNull to remove the data + * + * Note that setting this value will override the priority at this location. + * + * @return The current data at this location as a native object + */ +@property (strong, nonatomic, nullable) id value; + + +/** + * Set this property to update the priority of the data at this location. Can be set to the following types: + * + * * NSNumber + * * NSString + * * nil / NSNull to remove the priority + * + * @return The priority of the data at this location + */ +@property (strong, nonatomic, nullable) id priority; + + +/** + * @return The number of child nodes at this location + */ +@property (readonly, nonatomic) NSUInteger childrenCount; + + +/** + * Used to iterate over the children at this location. You can use the native for .. in syntax: + * + * for (FIRMutableData* child in data.children) { + * ... + * } + * + * Note that this enumerator operates on an immutable copy of the child list. So, you can modify the instance + * during iteration, but the new additions will not be visible until you get a new enumerator. + */ +@property (readonly, nonatomic, strong) NSEnumerator* children; + + +/** + * @return The key name of this node, or nil if it is the top-most location + */ +@property (readonly, nonatomic, strong, nullable) NSString* key; + + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h new file mode 100755 index 0000000..c93a524 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h @@ -0,0 +1,44 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +NS_ASSUME_NONNULL_BEGIN + +/** + * Placeholder values you may write into Firebase Database as a value or priority + * that will automatically be populated by the Firebase Database server. + */ +@interface FIRServerValue : NSObject + +/** + * Placeholder value for the number of milliseconds since the Unix epoch + */ ++ (NSDictionary *) timestamp; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h new file mode 100755 index 0000000..07439e1 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h @@ -0,0 +1,57 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2013 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import "FIRMutableData.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Used for runTransactionBlock:. An FIRTransactionResult instance is a container for the results of the transaction. + */ +@interface FIRTransactionResult : NSObject + +/** + * Used for runTransactionBlock:. Indicates that the new value should be saved at this location + * + * @param value A FIRMutableData instance containing the new value to be set + * @return An FIRTransactionResult instance that can be used as a return value from the block given to runTransactionBlock: + */ ++ (FIRTransactionResult *)successWithValue:(FIRMutableData *)value; + + +/** + * Used for runTransactionBlock:. Indicates that the current transaction should no longer proceed. + * + * @return An FIRTransactionResult instance that can be used as a return value from the block given to runTransactionBlock: + */ ++ (FIRTransactionResult *) abort; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h new file mode 100755 index 0000000..d903c1b --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h @@ -0,0 +1,41 @@ +/* + * Firebase iOS Client Library + * + * Copyright © 2016 Firebase - All Rights Reserved + * https://www.firebase.com + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binaryform must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef FirebaseDatabase_h +#define FirebaseDatabase_h + +#import "FIRDatabase.h" +#import "FIRDatabaseQuery.h" +#import "FIRDatabaseReference.h" +#import "FIRDataEventType.h" +#import "FIRDataSnapshot.h" +#import "FIRMutableData.h" +#import "FIRServerValue.h" +#import "FIRTransactionResult.h" + +#endif /* FirebaseDatabase_h */ diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Info.plist b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Info.plist new file mode 100755 index 0000000..efbddc6 Binary files /dev/null and b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Info.plist differ diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap new file mode 100755 index 0000000..28b323e --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap @@ -0,0 +1,13 @@ +framework module FirebaseDatabase { + umbrella header "FirebaseDatabase.h" + + export * + module * { export * } + + link framework "CFNetwork" + link framework "Security" + link framework "SystemConfiguration" + + link "c++" + link "icucore" +} diff --git a/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/NOTICE b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/NOTICE new file mode 100755 index 0000000..410cbd6 --- /dev/null +++ b/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/NOTICE @@ -0,0 +1,47 @@ +Google LevelDB +Copyright (c) 2011 The LevelDB Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-- + +Square Socket Rocket +Copyright 2012 Square Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +-- + +APLevelDB +Created by Adam Preble on 1/23/12. +Copyright (c) 2012 Adam Preble. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/FirebaseInstanceID b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/FirebaseInstanceID new file mode 100755 index 0000000..5d67d05 Binary files /dev/null and b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/FirebaseInstanceID differ diff --git a/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h new file mode 100755 index 0000000..717e290 --- /dev/null +++ b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h @@ -0,0 +1,245 @@ +#import + +/** + * @memberof FIRInstanceID + * + * The scope to be used when fetching/deleting a token for Firebase Messaging. + */ +FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDScopeFirebaseMessaging; + +/** + * Called when the system determines that tokens need to be refreshed. + * This method is also called if Instance ID has been reset in which + * case, tokens and FCM topic subscriptions also need to be refreshed. + * + * Instance ID service will throttle the refresh event across all devices + * to control the rate of token updates on application servers. + */ +FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDTokenRefreshNotification; + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the InstanceID token returns. If + * the call fails we return the appropriate `error code` as described below. + * + * @param token The valid token as returned by InstanceID backend. + * + * @param error The error describing why generating a new token + * failed. See the error codes below for a more detailed + * description. + */ +typedef void(^FIRInstanceIDTokenHandler)( NSString * __nullable token, NSError * __nullable error); + + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the InstanceID `deleteToken` returns. If + * the call fails we return the appropriate `error code` as described below + * + * @param error The error describing why deleting the token failed. + * See the error codes below for a more detailed description. + */ +typedef void(^FIRInstanceIDDeleteTokenHandler)(NSError * __nullable error); + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the app identity is created. If the + * identity wasn't created for some reason we return the appropriate error code. + * + * @param identity A valid identity for the app instance, nil if there was an error + * while creating an identity. + * @param error The error if fetching the identity fails else nil. + */ +typedef void(^FIRInstanceIDHandler)(NSString * __nullable identity, NSError * __nullable error); + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the app identity and all the tokens associated + * with it are deleted. Returns a valid error object in case of failure else nil. + * + * @param error The error if deleting the identity and all the tokens associated with + * it fails else nil. + */ +typedef void(^FIRInstanceIDDeleteHandler)(NSError * __nullable error); + +/** + * @enum FIRInstanceIDError + */ +typedef NS_ENUM(NSUInteger, FIRInstanceIDError) { + // Http related errors. + + /// Unknown error. + FIRInstanceIDErrorUnknown = 0, + + /// Auth Error -- GCM couldn't validate request from this client. + FIRInstanceIDErrorAuthentication = 1, + + /// NoAccess -- InstanceID service cannot be accessed. + FIRInstanceIDErrorNoAccess = 2, + + /// Timeout -- Request to InstanceID backend timed out. + FIRInstanceIDErrorTimeout = 3, + + /// Network -- No network available to reach the servers. + FIRInstanceIDErrorNetwork = 4, + + /// OperationInProgress -- Another similar operation in progress, + /// bailing this one. + FIRInstanceIDErrorOperationInProgress = 5, + + /// InvalidRequest -- Some parameters of the request were invalid. + FIRInstanceIDErrorInvalidRequest = 7, +}; + +/** + * The APNS token type for the app. If the token type is set to `UNKNOWN` + * InstanceID will implicitly try to figure out what the actual token type + * is from the provisioning profile. + */ +typedef NS_ENUM(NSInteger, FIRInstanceIDAPNSTokenType) { + /// Unknown token type. + FIRInstanceIDAPNSTokenTypeUnknown, + /// Sandbox token type. + FIRInstanceIDAPNSTokenTypeSandbox, + /// Production token type. + FIRInstanceIDAPNSTokenTypeProd, +}; + +/** + * Instance ID provides a unique identifier for each app instance and a mechanism + * to authenticate and authorize actions (for example, sending a GCM message). + * + * Instance ID is long lived but, may be reset if the device is not used for + * a long time or the Instance ID service detects a problem. + * If Instance ID is reset, the app will be notified with a `com.firebase.iid.token-refresh` + * notification. + * + * If the Instance ID has become invalid, the app can request a new one and + * send it to the app server. + * To prove ownership of Instance ID and to allow servers to access data or + * services associated with the app, call + * `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`. + */ +@interface FIRInstanceID : NSObject + +/** + * FIRInstanceID. + * + * @return A shared instance of FIRInstanceID. + */ ++ (nonnull instancetype)instanceID NS_SWIFT_NAME(instanceID()); + +/** + * Unavailable. Use +instanceID instead. + */ +- (nonnull instancetype)init __attribute__((unavailable("Use +instanceID instead."))); + +/** + * Set APNS token for the application. This APNS token will be used to register + * with Firebase Messaging using `token` or + * `tokenWithAuthorizedEntity:scope:options:handler`. If the token type is set to + * `FIRInstanceIDAPNSTokenTypeUnknown` InstanceID will read the provisioning profile + * to find out the token type. + * + * @param token The APNS token for the application. + * @param type The APNS token type for the above token. + */ +- (void)setAPNSToken:(nonnull NSData *)token + type:(FIRInstanceIDAPNSTokenType)type; + +#pragma mark - Tokens + +/** + * Returns a Firebase Messaging scoped token for the firebase app. + * + * @return Null Returns null if the device has not yet been registerd with + * Firebase Message else returns a valid token. + */ +- (nullable NSString *)token; + +/** + * Returns a token that authorizes an Entity (example: cloud service) to perform + * an action on behalf of the application identified by Instance ID. + * + * This is similar to an OAuth2 token except, it applies to the + * application instance instead of a user. + * + * This is an asynchronous call. If the token fetching fails for some reason + * we invoke the completion callback with nil `token` and the appropriate + * error. + * + * Note, you can only have one `token` or `deleteToken` call for a given + * authorizedEntity and scope at any point of time. Making another such call with the + * same authorizedEntity and scope before the last one finishes will result in an + * error with code `OperationInProgress`. + * + * @see FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler: + * + * @param authorizedEntity Entity authorized by the token. + * @param scope Action authorized for authorizedEntity. + * @param options The extra options to be sent with your token request. The + * value for the `apns_token` should be the NSData object + * passed to UIApplication's + * `didRegisterForRemoteNotificationsWithDeviceToken` method. + * All other keys and values in the options dict need to be + * instances of NSString or else they will be discarded. Bundle + * keys starting with 'GCM.' and 'GOOGLE.' are reserved. + * @param handler The callback handler which is invoked when the token is + * successfully fetched. In case of success a valid `token` and + * `nil` error are returned. In case of any error the `token` + * is nil and a valid `error` is returned. The valid error + * codes have been documented above. + */ +- (void)tokenWithAuthorizedEntity:(nonnull NSString *)authorizedEntity + scope:(nonnull NSString *)scope + options:(nullable NSDictionary *)options + handler:(nonnull FIRInstanceIDTokenHandler)handler; + +/** + * Revokes access to a scope (action) for an entity previously + * authorized by `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`. + * + * This is an asynchronous call. Call this on the main thread since InstanceID lib + * is not thread safe. In case token deletion fails for some reason we invoke the + * `handler` callback passed in with the appropriate error code. + * + * Note, you can only have one `token` or `deleteToken` call for a given + * authorizedEntity and scope at a point of time. Making another such call with the + * same authorizedEntity and scope before the last one finishes will result in an error + * with code `OperationInProgress`. + * + * @param authorizedEntity Entity that must no longer have access. + * @param scope Action that entity is no longer authorized to perform. + * @param handler The handler that is invoked once the unsubscribe call ends. + * In case of error an appropriate error object is returned + * else error is nil. + */ +- (void)deleteTokenWithAuthorizedEntity:(nonnull NSString *)authorizedEntity + scope:(nonnull NSString *)scope + handler:(nonnull FIRInstanceIDDeleteTokenHandler)handler; + +#pragma mark - Identity + +/** + * Asynchronously fetch a stable identifier that uniquely identifies the app + * instance. If the identifier has been revoked or has expired, this method will + * return a new identifier. + * + * + * @param handler The handler to invoke once the identifier has been fetched. + * In case of error an appropriate error object is returned else + * a valid identifier is returned and a valid identifier for the + * application instance. + */ +- (void)getIDWithHandler:(nonnull FIRInstanceIDHandler)handler; + +/** + * Resets Instance ID and revokes all tokens. + */ +- (void)deleteIDWithHandler:(nonnull FIRInstanceIDDeleteHandler)handler; + +@end diff --git a/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h new file mode 100755 index 0000000..053ec2b --- /dev/null +++ b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h @@ -0,0 +1 @@ +#import "FIRInstanceID.h" diff --git a/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Modules/module.modulemap b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Modules/module.modulemap new file mode 100755 index 0000000..b4a5b5e --- /dev/null +++ b/Pods/FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module FirebaseInstanceID { + + export * + + umbrella header "FirebaseInstanceID.h" + + header "FIRInstanceID.h" +} diff --git a/Pods/FirebaseInstanceID/Sources/FIRInstanceID.h b/Pods/FirebaseInstanceID/Sources/FIRInstanceID.h new file mode 100755 index 0000000..e3782f8 --- /dev/null +++ b/Pods/FirebaseInstanceID/Sources/FIRInstanceID.h @@ -0,0 +1,237 @@ +#import + +/** + * @memberof FIRInstanceID + * + * The scope to be used when fetching/deleting a token for Firebase Messaging. + */ +FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDScopeFirebaseMessaging; + +/** + * Called when the system determines that tokens need to be refreshed. + * This method is also called if Instance ID has been reset in which + * case, tokens and FCM topic subscriptions also need to be refreshed. + * + * Instance ID service will throttle the refresh event across all devices + * to control the rate of token updates on application servers. + */ +FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDTokenRefreshNotification; + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the InstanceID token returns. If + * the call fails we return the appropriate `error code` as described below. + * + * @param token The valid token as returned by InstanceID backend. + * + * @param error The error describing why generating a new token + * failed. See the error codes below for a more detailed + * description. + */ +typedef void(^FIRInstanceIDTokenHandler)(NSString * __nullable token, NSError * __nullable error); + + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the InstanceID `deleteToken` returns. If + * the call fails we return the appropriate `error code` as described below + * + * @param error The error describing why deleting the token failed. + * See the error codes below for a more detailed description. + */ +typedef void(^FIRInstanceIDDeleteTokenHandler)(NSError * __nullable error); + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the app identity is created. If the + * identity wasn't created for some reason we return the appropriate error code. + * + * @param identity A valid identity for the app instance, nil if there was an error + * while creating an identity. + * @param error The error if fetching the identity fails else nil. + */ +typedef void(^FIRInstanceIDHandler)(NSString * __nullable identity, NSError * __nullable error); + +/** + * @related FIRInstanceID + * + * The completion handler invoked when the app identity and all the tokens associated + * with it are deleted. Returns a valid error object in case of failure else nil. + * + * @param error The error if deleting the identity and all the tokens associated with + * it fails else nil. + */ +typedef void(^FIRInstanceIDDeleteHandler)(NSError * __nullable error); + +/** + * @enum FIRInstanceIDError + */ +typedef NS_ENUM(NSUInteger, FIRInstanceIDError) { + /// Unknown error. + FIRInstanceIDErrorUnknown = 0, + + /// Auth Error -- FCM couldn't validate request from this client. + FIRInstanceIDErrorAuthentication = 1, + + /// NoAccess -- InstanceID service cannot be accessed. + FIRInstanceIDErrorNoAccess = 2, + + /// Timeout -- Request to InstanceID backend timed out. + FIRInstanceIDErrorTimeout = 3, + + /// Network -- No network available to reach the servers. + FIRInstanceIDErrorNetwork = 4, + + /// OperationInProgress -- Another similar operation in progress, + /// bailing this one. + FIRInstanceIDErrorOperationInProgress = 5, + + /// InvalidRequest -- Some parameters of the request were invalid. + FIRInstanceIDErrorInvalidRequest = 7, +}; + +/** + * The APNS token type for the app. If the token type is set to `UNKNOWN` + * InstanceID will implicitly try to figure out what the actual token type + * is from the provisioning profile. + */ +typedef NS_ENUM(NSInteger, FIRInstanceIDAPNSTokenType) { + /// Unknown token type. + FIRInstanceIDAPNSTokenTypeUnknown, + /// Sandbox token type. + FIRInstanceIDAPNSTokenTypeSandbox, + /// Production token type. + FIRInstanceIDAPNSTokenTypeProd, +}; + +/** + * Instance ID provides a unique identifier for each app instance and a mechanism + * to authenticate and authorize actions (for example, sending a GCM message). + * + * Instance ID is long lived but, may be reset if the device is not used for + * a long time or the Instance ID service detects a problem. + * If Instance ID is reset, the app will be notified with a `com.firebase.iid.token-refresh` + * notification. + * + * If the Instance ID has become invalid, the app can request a new one and + * send it to the app server. + * To prove ownership of Instance ID and to allow servers to access data or + * services associated with the app, call + * `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`. + */ +@interface FIRInstanceID : NSObject + +/** + * FIRInstanceID. + * + * @return A shared instance of FIRInstanceID. + */ ++ (nonnull instancetype)instanceID; + +/** + * Set APNS token for the application. This APNS token will be used to register + * with Firebase Messaging using `token` or + * `tokenWithAuthorizedEntity:scope:options:handler`. If the token type is set to + * `FIRInstanceIDAPNSTokenTypeUnknown` InstanceID will read the provisioning profile + * to find out the token type. + * + * @param token The APNS token for the application. + * @param type The APNS token type for the above token. + */ +- (void)setAPNSToken:(nonnull NSData *)token type:(FIRInstanceIDAPNSTokenType)type; + +#pragma mark - Tokens + +/** + * Returns a Firebase Messaging scoped token for the firebase app. + * + * @return Null Returns null if the device has not yet been registerd with + * Firebase Message else returns a valid token. + */ +- (nullable NSString *)token; + +/** + * Returns a token that authorizes an Entity (example: cloud service) to perform + * an action on behalf of the application identified by Instance ID. + * + * This is similar to an OAuth2 token except, it applies to the + * application instance instead of a user. + * + * This is an asynchronous call. If the token fetching fails for some reason + * we invoke the completion callback with nil `token` and the appropriate + * error. + * + * Note, you can only have one `token` or `deleteToken` call for a given + * authorizedEntity and scope at any point of time. Making another such call with the + * same authorizedEntity and scope before the last one finishes will result in an + * error with code `OperationInProgress`. + * + * @see FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler: + * + * @param authorizedEntity Entity authorized by the token. + * @param scope Action authorized for authorizedEntity. + * @param options The extra options to be sent with your token request. The + * value for the `apns_token` should be the NSData object + * passed to UIApplication's + * `didRegisterForRemoteNotificationsWithDeviceToken` method. + * All other keys and values in the options dict need to be + * instances of NSString or else they will be discarded. Bundle + * keys starting with 'GCM.' and 'GOOGLE.' are reserved. + * @param handler The callback handler which is invoked when the token is + * successfully fetched. In case of success a valid `token` and + * `nil` error are returned. In case of any error the `token` + * is nil and a valid `error` is returned. The valid error + * codes have been documented above. + */ +- (void)tokenWithAuthorizedEntity:(nonnull NSString *)authorizedEntity + scope:(nonnull NSString *)scope + options:(nonnull NSDictionary *)options + handler:(nonnull FIRInstanceIDTokenHandler)handler; + +/** + * Revokes access to a scope (action) for an entity previously + * authorized by `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`. + * + * This is an asynchronous call. Call this on the main thread since InstanceID lib + * is not thread safe. In case token deletion fails for some reason we invoke the + * `handler` callback passed in with the appropriate error code. + * + * Note, you can only have one `token` or `deleteToken` call for a given + * authorizedEntity and scope at a point of time. Making another such call with the + * same authorizedEntity and scope before the last one finishes will result in an error + * with code `OperationInProgress`. + * + * @param authorizedEntity Entity that must no longer have access. + * @param scope Action that entity is no longer authorized to perform. + * @param handler The handler that is invoked once the unsubscribe call ends. + * In case of error an appropriate error object is returned + * else error is nil. + */ +- (void)deleteTokenWithAuthorizedEntity:(nonnull NSString *)authorizedEntity + scope:(nonnull NSString *)scope + handler:(nonnull FIRInstanceIDDeleteTokenHandler)handler; + +#pragma mark - Identity + +/** + * Asynchronously fetch a stable identifier that uniquely identifies the app + * instance. If the identifier has been revoked or has expired, this method will + * return a new identifier. + * + * + * @param handler The handler to invoke once the identifier has been fetched. + * In case of error an appropriate error object is returned else + * a valid identifier is returned and a valid identifier for the + * application instance. + */ +- (void)getIDWithHandler:(nonnull FIRInstanceIDHandler)handler; + +/** + * Resets Instance ID and revokes all tokens. + */ +- (void)deleteIDWithHandler:(nonnull FIRInstanceIDDeleteHandler)handler; + +@end diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/FirebaseStorage b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/FirebaseStorage new file mode 100755 index 0000000..b90202b Binary files /dev/null and b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/FirebaseStorage differ diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorage.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorage.h new file mode 100755 index 0000000..6d0a5aa --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorage.h @@ -0,0 +1,100 @@ +// clang-format off +/** @file FIRStorage.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +#import "FIRStorageConstants.h" + +@class FIRApp; +@class FIRStorageReference; + +NS_ASSUME_NONNULL_BEGIN + +/** + * FirebaseStorage is a service that supports uploading and downloading binary objects, + * such as images, videos, and other files to Google Cloud Storage. + * + * If you call [FIRStorage storage], the instance will initialize with the default FIRApp, + * [FIRApp defaultApp], and the storage location will come from the provided + * GoogleService-Info.plist. + * + * If you call [FIRStorage storageForApp:] and provide a custom instance of FIRApp, + * the storage location will be specified via the FIROptions#storageBucket property. + */ +@interface FIRStorage : NSObject + +/** + * Creates an instance of FIRStorage, configured with the default FIRApp. + * @return the FIRStorage instance, initialized with the default FIRApp. + */ ++ (instancetype)storage NS_SWIFT_NAME(storage()); + +/** + * Creates an instance of FIRStorage, configured with the custom FIRApp @a app. + * @param app The custom FIRApp used for initialization. + * @return the FIRStorage instance, initialized with the custom FIRApp. + */ ++ (instancetype)storageForApp:(FIRApp *)app NS_SWIFT_NAME(storage(app:)); + +/** + * The Firebase App associated with this Firebase Storage instance. + */ +@property(strong, nonatomic, readonly) FIRApp *app; + +/** + * Maximum time in seconds to retry an upload if a failure occurs. + * Defaults to 10 minutes (600 seconds). + */ +@property NSTimeInterval maxUploadRetryTime; + +/** + * Maximum time in seconds to retry a download if a failure occurs. + * Defaults to 10 minutes (600 seconds). + */ +@property NSTimeInterval maxDownloadRetryTime; + +/** + * Maximum time in seconds to retry operations other than upload and download if a failure occurs. + * Defaults to 2 minutes (120 seconds). + */ +@property NSTimeInterval maxOperationRetryTime; + +/** + * Queue that all developer callbacks are fired on. Defaults to the main queue. + */ +@property(strong, nonatomic) dispatch_queue_t callbackQueue; + +/** + * Creates a FIRStorageReference initialized at the root Firebase Storage location. + * @return An instance of FIRStorageReference initialized at the root. + */ +- (FIRStorageReference *)reference; + +/** + * Creates a FIRStorageReference given a gs:// or https:// URL pointing to a Firebase Storage + * location. For example, you can pass in an https:// download URL retrieved from + * [FIRStorageReference getDownloadURL] or the gs:// URI from [FIRStorageReference description]. + * @param string A gs:// or https:// URL to initialize the reference with. + * @return An instance of FIRStorageReference at the given child path. + * @throws Throws an exception if passed in URL is not associated with the FIRApp used to initialize + * this FIRStorage. + */ +- (FIRStorageReference *)referenceForURL:(NSString *)string; + +/** + * Creates a FIRStorageReference initialized at a child Firebase Storage location. + * @param string A relative path from the root to initialize the reference with, + * for instance @"path/to/object". + * @return An instance of FIRStorageReference at the given child path. + */ +- (FIRStorageReference *)referenceWithPath:(NSString *)string; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h new file mode 100755 index 0000000..273d788 --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h @@ -0,0 +1,123 @@ +// clang-format off +/** @file FIRStorageConstants.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +@class FIRStorageDownloadTask; +@class FIRStorageMetadata; +@class FIRStorageTaskSnapshot; +@class FIRStorageUploadTask; + +NS_ASSUME_NONNULL_BEGIN + +/** + * NSString typedef representing a task listener handle. + */ +typedef NSString *FIRStorageHandle; + +/** + * Block typedef typically used when downloading data. + * @param data The data returned by the download, or nil if no data available or download failed. + * @param error The error describing failure, if one occurred. + */ +typedef void (^FIRStorageVoidDataError)(NSData *_Nullable data, NSError *_Nullable error); + +/** + * Block typedef typically used when performing "binary" async operations such as delete, + * where the operation either succeeds without an error or fails with an error. + * @param error The error describing failure, if one occurred. + */ +typedef void (^FIRStorageVoidError)(NSError *_Nullable error); + +/** + * Block typedef typically used when retrieving metadata. + * @param metadata The metadata returned by the operation, if metadata exists. + */ +typedef void (^FIRStorageVoidMetadata)(FIRStorageMetadata *_Nullable metadata); + +/** + * Block typedef typically used when retrieving metadata with the possibility of an error. + * @param metadata The metadata returned by the operation, if metadata exists. + * @param error The error describing failure, if one occurred. + */ +typedef void (^FIRStorageVoidMetadataError)(FIRStorageMetadata *_Nullable metadata, + NSError *_Nullable error); + +/** + * Block typedef typically used when getting or updating metadata with the possibility of an error. + * @param metadata The metadata returned by the operation, if metadata exists. + * @param error The error describing failure, if one occurred. + */ +typedef void (^FIRStorageVoidSnapshot)(FIRStorageTaskSnapshot *snapshot); + +/** + * Block typedef typically used when retrieving a download URL. + * @param URL The download URL associated with the operation. + * @param error The error describing failure, if one occurred. + */ +typedef void (^FIRStorageVoidURLError)(NSURL *_Nullable URL, NSError *_Nullable error); + +/** + * Enum representing the upload and download task status. + */ +typedef NS_ENUM(NSInteger, FIRStorageTaskStatus) { + /** + * Unknown task status. + */ + FIRStorageTaskStatusUnknown, + + /** + * Task is being resumed. + */ + FIRStorageTaskStatusResume, + + /** + * Task reported a progress event. + */ + FIRStorageTaskStatusProgress, + + /** + * Task is paused. + */ + FIRStorageTaskStatusPause, + + /** + * Task has completed successfully. + */ + FIRStorageTaskStatusSuccess, + + /** + * Task has failed and is unrecoverable. + */ + FIRStorageTaskStatusFailure +}; + +/** + * Firebase Storage error domain. + */ +FOUNDATION_EXPORT NSString *const FIRStorageErrorDomain; + +/** + * Enum representing the errors raised by Firebase Storage. + */ +typedef NS_ENUM(NSInteger, FIRStorageErrorCode) { + FIRStorageErrorCodeUnknown = -13000, + FIRStorageErrorCodeObjectNotFound = -13010, + FIRStorageErrorCodeBucketNotFound = -13011, + FIRStorageErrorCodeProjectNotFound = -13012, + FIRStorageErrorCodeQuotaExceeded = -13013, + FIRStorageErrorCodeUnauthenticated = -13020, + FIRStorageErrorCodeUnauthorized = -13021, + FIRStorageErrorCodeRetryLimitExceeded = -13030, + FIRStorageErrorCodeNonMatchingChecksum = -13031, + FIRStorageErrorCodeDownloadSizeExceeded = -13032, + FIRStorageErrorCodeCancelled = -13040 +}; + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h new file mode 100755 index 0000000..efeb34e --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h @@ -0,0 +1,30 @@ +// clang-format off +/** @file FIRStorageDownloadTask.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +#import "FIRStorageObservableTask.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * FIRStorageDownloadTask implements resumable downloads from an object in Firebase Storage. + * Downloads can be returned on completion with a completion handler, and can be monitored + * by attaching observers, or controlled by calling FIRStorageTask#pause, FIRStorageTask#resume, + * or FIRStorageTask#cancel. + * Downloads can currently be returned as NSData in memory, or as an NSURL to a file on disk. + * Downloads are performed on a background queue, and callbacks are raised on the developer + * specified callbackQueue in FIRStorage, or the main queue if left unspecified. + * Currently all uploads must be initiated and managed on the main queue. + */ +@interface FIRStorageDownloadTask : FIRStorageObservableTask + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h new file mode 100755 index 0000000..0e38ebf --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h @@ -0,0 +1,138 @@ +// clang-format off +/** @file FIRStorageMetadata.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +@class FIRStorageReference; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class which represents the metadata on an object in Firebase Storage. This metadata is + * returned on successful operations, and can be used to retrieve download URLs, content types, + * and a FIRStorage reference to the object in question. Full documentation can be found at the GCS + * Objects#resource docs. + * @see https://cloud.google.com/storage/docs/json_api/v1/objects#resource + */ +@interface FIRStorageMetadata : NSObject + +/** + * The name of the bucket containing this object. + */ +@property(copy, nonatomic, readonly) NSString *bucket; + +/** + * Cache-Control directive for the object data. + */ +@property(copy, nonatomic, nullable) NSString *cacheControl; + +/** + * Content-Disposition of the object data. + */ +@property(copy, nonatomic, nullable) NSString *contentDisposition; + +/** + * Content-Encoding of the object data. + */ +@property(copy, nonatomic, nullable) NSString *contentEncoding; + +/** + * Content-Language of the object data. + */ +@property(copy, nonatomic, nullable) NSString *contentLanguage; + +/** + * Content-Type of the object data. + */ +@property(copy, nonatomic, nullable) NSString *contentType; + +/** + * The content generation of this object. Used for object versioning. + */ +@property(readonly) int64_t generation; + +/** + * User-provided metadata, in key/value pairs. + */ +@property(copy, nonatomic, nullable) NSDictionary *customMetadata; + +/** + * The version of the metadata for this object at this generation. Used + * for preconditions and for detecting changes in metadata. A metageneration number is only + * meaningful in the context of a particular generation of a particular object. + */ +@property(readonly) int64_t metageneration; + +/** + * The name of this object, in gs://bucket/path/to/object.txt, this is object.txt. + */ +@property(copy, nonatomic, readonly, nullable) NSString *name; + +/** + * The full path of this object, in gs://bucket/path/to/object.txt, this is path/to/object.txt. + */ +@property(copy, nonatomic, readonly, nullable) NSString *path; + +/** + * Content-Length of the data in bytes. + */ +@property(readonly) int64_t size; + +/** + * The creation time of the object in RFC 3339 format. + */ +@property(copy, nonatomic, readonly, nullable) NSDate *timeCreated; + +/** + * The modification time of the object metadata in RFC 3339 format. + */ +@property(copy, nonatomic, readonly, nullable) NSDate *updated; + +/** + * A reference to the object in Firebase Storage. + */ +@property(strong, nonatomic, readonly, nullable) FIRStorageReference *storageReference; + +/** + * An array containing all download URLs available for the object. + */ +@property(strong, nonatomic, readonly, nullable) NSArray *downloadURLs; + +/** + * Creates an instanece of FIRStorageMetadata from the contents of a dictionary. + * @return An instance of FIRStorageMetadata that represents the contents of a dictionary. + */ +- (nullable instancetype)initWithDictionary:(NSDictionary *)dictionary NS_DESIGNATED_INITIALIZER; + +/** + * Creates an NSDictionary from the contents of the metadata. + * @return An NSDictionary that represents the contents of the metadata. + */ +- (NSDictionary *)dictionaryRepresentation; + +/** + * Determines if the current metadata represents a "file". + */ +@property(readonly, getter=isFile) BOOL file; + +/** + * Determines if the current metadata represents a "folder". + */ +@property(readonly, getter=isFolder) BOOL folder; + +/** + * Retrieves a download URL for the given object, or nil if none exist. + * Note that if there are many valid download tokens, this will always return the first + * valid token created. + */ +- (nullable NSURL *)downloadURL; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h new file mode 100755 index 0000000..8b66ca7 --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h @@ -0,0 +1,54 @@ +// clang-format off +/** @file FIRStorageObservableTask.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import "FIRStorageTask.h" + +NS_ASSUME_NONNULL_BEGIN + +@class FIRStorageReference; +@class FIRStorageTaskSnapshot; + +/** + * Extends FIRStorageTask to provide observable semantics such as adding and removing observers. + * Observers produce a FIRStorageHandle, which is used to keep track of and remove specific + * observers at a later date. + * This class is currently not thread safe and can only be called on the main thread. + */ +@interface FIRStorageObservableTask : FIRStorageTask + +/** + * Observes changes in the upload status: Resume, Pause, Progress, Success, and Failure. + * @param status The FIRStorageTaskStatus change to observe. + * @param handler A callback that fires every time the status event occurs, + * returns a FIRStorageTaskSnapshot containing the state of the task. + * @return A task handle that can be used to remove the observer at a later date. + */ +- (FIRStorageHandle)observeStatus:(FIRStorageTaskStatus)status + handler:(void (^)(FIRStorageTaskSnapshot *snapshot))handler; + +/** + * Removes the single observer with the provided handle. + * @param handle The handle of the task to remove. + */ +- (void)removeObserverWithHandle:(FIRStorageHandle)handle; + +/** + * Removes all observers for a single status. + * @param status A FIRStorageTaskStatus to remove listeners for. + */ +- (void)removeAllObserversForStatus:(FIRStorageTaskStatus)status; + +/** + * Removes all observers. + */ +- (void)removeAllObservers; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h new file mode 100755 index 0000000..2ed4f75 --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h @@ -0,0 +1,228 @@ +// clang-format off +/** @file FIRStorageReference.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +#import "FIRStorage.h" +#import "FIRStorageConstants.h" +#import "FIRStorageDownloadTask.h" +#import "FIRStorageMetadata.h" +#import "FIRStorageTask.h" +#import "FIRStorageUploadTask.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * FIRStorageReference represents a reference to a Google Cloud Storage object. Developers can + * upload and download objects, as well as get/set object metadata, and delete an object at the + * path. + * @see https://cloud.google.com/storage/ + */ +@interface FIRStorageReference : NSObject + +/** + * The FIRStorage service object which created this reference. + */ +@property(nonatomic, readonly) FIRStorage *storage; + +/** + * The name of the Google Cloud Storage bucket associated with this reference, + * in gs://bucket/path/to/object.txt, the bucket would be: 'bucket' + */ +@property(nonatomic, readonly) NSString *bucket; + +/** + * The full path to this object, not including the Google Cloud Storage bucket. + * In gs://bucket/path/to/object.txt, the full path would be: 'path/to/object.txt' + */ +@property(nonatomic, readonly) NSString *fullPath; + +/** + * The short name of the object associated with this reference, + * in gs://bucket/path/to/object.txt, the name of the object would be: 'object.txt' + */ +@property(nonatomic, readonly) NSString *name; + +#pragma mark - Path Operations + +/** + * Creates a new FIRStorageReference pointing to the root object. + * @return A new FIRStorageReference pointing to the root object. + */ +- (FIRStorageReference *)root; + +/** + * Creates a new FIRStorageReference pointing to the parent of the current reference + * or nil if this instance references the root location. + * For example: + * path = foo/bar/baz parent = foo/bar + * path = foo parent = (root) + * path = (root) parent = nil + * @return A new FIRStorageReference pointing to the parent of the current reference. + */ +- (nullable FIRStorageReference *)parent; + +/** + * Creates a new FIRStorageReference pointing to a child object of the current reference. + * path = foo child = bar newPath = foo/bar + * path = foo/bar child = baz newPath = foo/bar/baz + * All leading and trailing slashes will be removed, and consecutive slashes will be + * compressed to single slashes. For example: + * child = /foo/bar newPath = foo/bar + * child = foo/bar/ newPath = foo/bar + * child = foo///bar newPath = foo/bar + * @param path Path to append to the current path. + * @return A new FIRStorageReference pointing to a child location of the current reference. + */ +- (FIRStorageReference *)child:(NSString *)path; + +#pragma mark - Uploads + +/** + * Asynchronously uploads data to the currently specified FIRStorageReference, + * without additional metadata. + * This is not recommended for large files, and one should instead upload a file from disk. + * @param uploadData The NSData to upload. + * @return An instance of FIRStorageUploadTask, which can be used to monitor or manage the upload. + */ +- (FIRStorageUploadTask *)putData:(NSData *)uploadData; + +/** + * Asynchronously uploads data to the currently specified FIRStorageReference. + * This is not recommended for large files, and one should instead upload a file from disk. + * @param uploadData The NSData to upload. + * @param metadata FIRStorageMetadata containing additional information (MIME type, etc.) + * about the object being uploaded. + * @return An instance of FIRStorageUploadTask, which can be used to monitor or manage the upload. + */ +- (FIRStorageUploadTask *)putData:(NSData *)uploadData + metadata:(nullable FIRStorageMetadata *)metadata; + +/** + * Asynchronously uploads data to the currently specified FIRStorageReference. + * This is not recommended for large files, and one should instead upload a file from disk. + * @param uploadData The NSData to upload. + * @param metadata FIRStorageMetadata containing additional information (MIME type, etc.) + * about the object being uploaded. + * @param completion A completion block that either returns the object metadata on success, + * or an error on failure. + * @return An instance of FIRStorageUploadTask, which can be used to monitor or manage the upload. + */ +- (FIRStorageUploadTask *)putData:(NSData *)uploadData + metadata:(nullable FIRStorageMetadata *)metadata + completion:(nullable void (^)(FIRStorageMetadata *_Nullable metadata, + NSError *_Nullable error))completion; + +/** + * Asynchronously uploads a file to the currently specified FIRStorageReference, + * without additional metadata. + * @param fileURL A URL representing the system file path of the object to be uploaded. + * @return An instance of FIRStorageUploadTask, which can be used to monitor or manage the upload. + */ +- (FIRStorageUploadTask *)putFile:(NSURL *)fileURL; + +/** + * Asynchronously uploads a file to the currently specified FIRStorageReference. + * @param fileURL A URL representing the system file path of the object to be uploaded. + * @param metadata FIRStorageMetadata containing additional information (MIME type, etc.) + * about the object being uploaded. + * @return An instance of FIRStorageUploadTask, which can be used to monitor or manage the upload. + */ +- (FIRStorageUploadTask *)putFile:(NSURL *)fileURL metadata:(nullable FIRStorageMetadata *)metadata; + +/** + * Asynchronously uploads a file to the currently specified FIRStorageReference. + * @param fileURL A URL representing the system file path of the object to be uploaded. + * @param metadata FIRStorageMetadata containing additional information (MIME type, etc.) + * about the object being uploaded. + * @param completion A completion block that either returns the object metadata on success, + * or an error on failure. + * @return An instance of FIRStorageUploadTask, which can be used to monitor or manage the upload. + */ +- (FIRStorageUploadTask *)putFile:(NSURL *)fileURL + metadata:(nullable FIRStorageMetadata *)metadata + completion:(nullable void (^)(FIRStorageMetadata *_Nullable metadata, + NSError *_Nullable error))completion; + +#pragma mark - Downloads + +/** + * Asynchronously downloads the object at the FIRStorageReference to an NSData object in memory. + * An NSData of the provided max size will be allocated, so ensure that the device has enough free + * memory to complete the download. For downloading large files, writeToFile may be a better option. + * @param size The maximum size in bytes to download. If the download exceeds this size + * the task will be cancelled and an error will be returned. + * @param completion A completion block that either returns the object data on success, + * or an error on failure. + * @return An FIRStorageDownloadTask that can be used to monitor or manage the download. + */ +- (FIRStorageDownloadTask *)dataWithMaxSize:(int64_t)size + completion:(void (^)(NSData *_Nullable data, + NSError *_Nullable error))completion; + +/** + * Asynchronously retrieves a long lived download URL with a revokable token. + * This can be used to share the file with others, but can be revoked by a developer + * in the Firebase Console if desired. + * @param completion A completion block that either returns the URL on success, + * or an error on failure. + */ +- (void)downloadURLWithCompletion:(void (^)(NSURL *_Nullable URL, + NSError *_Nullable error))completion; + +/** + * Asynchronously downloads the object at the current path to a specified system filepath. + * @param fileURL A file system URL representing the path the object should be downloaded to. + * @return An FIRStorageDownloadTask that can be used to monitor or manage the download. + */ +- (FIRStorageDownloadTask *)writeToFile:(NSURL *)fileURL; + +/** + * Asynchronously downloads the object at the current path to a specified system filepath. + * @param fileURL A file system URL representing the path the object should be downloaded to. + * @param completion A completion block that fires when the file download completes. + * Returns an NSURL pointing to the file path of the downloaded file on success, + * or an error on failure. + * @return An FIRStorageDownloadTask that can be used to monitor or manage the download. + */ +- (FIRStorageDownloadTask *)writeToFile:(NSURL *)fileURL + completion:(nullable void (^)(NSURL *_Nullable URL, + NSError *_Nullable error))completion; + +#pragma mark - Metadata Operations + +/** + * Retrieves metadata associated with an object at the current path. + * @param completion A completion block which returns the object metadata on success, + * or an error on failure. + */ +- (void)metadataWithCompletion:(void (^)(FIRStorageMetadata *_Nullable metadata, + NSError *_Nullable error))completion; + +/** + * Updates the metadata associated with an object at the current path. + * @param metadata An FIRStorageMetadata object with the metadata to update. + * @param completion A completion block which returns the FIRStorageMetadata on success, + * or an error on failure. + */ +- (void)updateMetadata:(FIRStorageMetadata *)metadata + completion:(nullable void (^)(FIRStorageMetadata *_Nullable metadata, + NSError *_Nullable error))completion; + +#pragma mark - Delete + +/** + * Deletes the object at the current path. + * @param completion A completion block which returns nil on success, or an error on failure. + */ +- (void)deleteWithCompletion:(nullable void (^)(NSError *_Nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h new file mode 100755 index 0000000..8744fcb --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h @@ -0,0 +1,66 @@ +// clang-format off +/** @file FIRStorageTask.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +#import "FIRStorageConstants.h" +#import "FIRStorageMetadata.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * A superclass to all FIRStorage*Tasks, including FIRStorageUploadTask + * and FIRStorageDownloadTask, to provide state transitions, event raising, and common storage + * or metadata and errors. + * Callbacks are always fired on the developer specified callback queue. + * If no queue is specified by the developer, it defaults to the main queue. + * Currently not thread safe, so only call methods on the main thread. + */ +@interface FIRStorageTask : NSObject + +/** + * An immutable view of the task and associated metadata, progress, error, etc. + */ +@property(strong, readonly, nonatomic, nonnull) FIRStorageTaskSnapshot *snapshot; + +@end + +/** + * Defines task operations such as pause, resume, cancel, and enqueue for all tasks. + * All tasks are required to implement enqueue, which begins the task, and may optionally + * implement pause, resume, and cancel, which operate on the task to pause, resume, and cancel + * operations. + */ +@protocol FIRStorageTaskManagement + +@required +/** + * Prepares a task and begins execution. + */ +- (void)enqueue; + +@optional +/** + * Pauses a task currently in progress. + */ +- (void)pause; + +/** + * Cancels a task currently in progress. + */ +- (void)cancel; + +/** + * Resumes a task that is paused. + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h new file mode 100755 index 0000000..5841754 --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h @@ -0,0 +1,59 @@ +// clang-format off +/** @file FIRStorageTaskSnapshot.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +#import "FIRStorageConstants.h" + +NS_ASSUME_NONNULL_BEGIN + +@class FIRStorageMetadata; +@class FIRStorageReference; +@class FIRStorageTask; + +/** + * FIRStorageTaskSnapshot represents an immutable view of a task. + * A Snapshot contains a task, storage reference, metadata (if it exists), + * progress, and an error (if one occurred). + */ +@interface FIRStorageTaskSnapshot : NSObject + +/** + * Subclass of FIRStorageTask this snapshot represents. + */ +@property(readonly, copy, nonatomic) __kindof FIRStorageTask *task; + +/** + * Metadata returned by the task, or nil if no metadata returned. + */ +@property(readonly, copy, nonatomic, nullable) FIRStorageMetadata *metadata; + +/** + * FIRStorageReference this task is operates on. + */ +@property(readonly, copy, nonatomic) FIRStorageReference *reference; + +/** + * NSProgress object which tracks the progess of an upload or download. + */ +@property(readonly, strong, nonatomic, nullable) NSProgress *progress; + +/** + * Error during task execution, or nil if no error occurred. + */ +@property(readonly, copy, nonatomic, nullable) NSError *error; + +/** + * Status of the task. + */ +@property(readonly, nonatomic) FIRStorageTaskStatus status; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h new file mode 100755 index 0000000..27ddc02 --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h @@ -0,0 +1,30 @@ +// clang-format off +/** @file FIRStorageUploadTask.h + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import + +#import "FIRStorageObservableTask.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * FIRStorageUploadTask implements resumable uploads to a file in Firebase Storage. + * Uploads can be returned on completion with a completion callback, and can be monitored + * by attaching observers, or controlled by calling FIRStorageTask#pause, FIRStorageTask#resume, + * or FIRStorageTask#cancel. + * Uploads can take NSData in memory, or an NSURL to a file on disk. + * Uploads are performed on a background queue, and callbacks are raised on the developer + * specified callbackQueue in FIRStorage, or the main queue if left unspecified. + * Currently all uploads must be initiated and managed on the main queue. + */ +@interface FIRStorageUploadTask : FIRStorageObservableTask + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h new file mode 100755 index 0000000..17238fe --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h @@ -0,0 +1,21 @@ +// clang-format off +/** @file FirebaseStorage.m + @brief Firebase SDK + @copyright Copyright 2016 Google Inc. + @remarks Use of this SDK is subject to the Google APIs Terms of Service: + https://developers.google.com/terms/ + */ +// clang-format on + +#import "FIRStorage.h" +#import "FIRStorageConstants.h" +#import "FIRStorageDownloadTask.h" +#import "FIRStorageMetadata.h" +#import "FIRStorageObservableTask.h" +#import "FIRStorageReference.h" +#import "FIRStorageTask.h" +#import "FIRStorageTaskSnapshot.h" +#import "FIRStorageUploadTask.h" + +//! Project version string for FirebaseStorage. +FOUNDATION_EXPORT const unsigned char *const FirebaseStorageVersionString; diff --git a/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Modules/module.modulemap b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Modules/module.modulemap new file mode 100755 index 0000000..3a256b3 --- /dev/null +++ b/Pods/FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Modules/module.modulemap @@ -0,0 +1,18 @@ +framework module FirebaseStorage { + + export * + + umbrella header "FirebaseStorage.h" + + header "FIRStorage.h" + header "FIRStorageConstants.h" + header "FIRStorageDownloadTask.h" + header "FIRStorageMetadata.h" + header "FIRStorageObservableTask.h" + header "FIRStorageReference.h" + header "FIRStorageTask.h" + header "FIRStorageTaskSnapshot.h" + header "FIRStorageUploadTask.h" + + link framework "MobileCoreServices" +} diff --git a/Pods/GoogleInterchangeUtilities/Frameworks/frameworks/GoogleInterchangeUtilities.framework/GoogleInterchangeUtilities b/Pods/GoogleInterchangeUtilities/Frameworks/frameworks/GoogleInterchangeUtilities.framework/GoogleInterchangeUtilities new file mode 100755 index 0000000..de40424 Binary files /dev/null and b/Pods/GoogleInterchangeUtilities/Frameworks/frameworks/GoogleInterchangeUtilities.framework/GoogleInterchangeUtilities differ diff --git a/Pods/GoogleNetworkingUtilities/Frameworks/frameworks/GoogleNetworkingUtilities.framework/GoogleNetworkingUtilities b/Pods/GoogleNetworkingUtilities/Frameworks/frameworks/GoogleNetworkingUtilities.framework/GoogleNetworkingUtilities new file mode 100755 index 0000000..11e4ac7 Binary files /dev/null and b/Pods/GoogleNetworkingUtilities/Frameworks/frameworks/GoogleNetworkingUtilities.framework/GoogleNetworkingUtilities differ diff --git a/Pods/GoogleSymbolUtilities/Frameworks/frameworks/GoogleSymbolUtilities.framework/GoogleSymbolUtilities b/Pods/GoogleSymbolUtilities/Frameworks/frameworks/GoogleSymbolUtilities.framework/GoogleSymbolUtilities new file mode 100755 index 0000000..408a002 Binary files /dev/null and b/Pods/GoogleSymbolUtilities/Frameworks/frameworks/GoogleSymbolUtilities.framework/GoogleSymbolUtilities differ diff --git a/Pods/GoogleUtilities/Frameworks/frameworks/GoogleUtilities.framework/GoogleUtilities b/Pods/GoogleUtilities/Frameworks/frameworks/GoogleUtilities.framework/GoogleUtilities new file mode 100755 index 0000000..0fd17b6 Binary files /dev/null and b/Pods/GoogleUtilities/Frameworks/frameworks/GoogleUtilities.framework/GoogleUtilities differ diff --git a/Pods/Headers/Private/Firebase/Firebase.h b/Pods/Headers/Private/Firebase/Firebase.h new file mode 120000 index 0000000..6d62033 --- /dev/null +++ b/Pods/Headers/Private/Firebase/Firebase.h @@ -0,0 +1 @@ +../../../Firebase/Core/Sources/Firebase.h \ No newline at end of file diff --git a/Pods/Headers/Private/FirebaseInstanceID/FIRInstanceID.h b/Pods/Headers/Private/FirebaseInstanceID/FIRInstanceID.h new file mode 120000 index 0000000..0aaa73c --- /dev/null +++ b/Pods/Headers/Private/FirebaseInstanceID/FIRInstanceID.h @@ -0,0 +1 @@ +../../../FirebaseInstanceID/Sources/FIRInstanceID.h \ No newline at end of file diff --git a/Pods/Headers/Public/Firebase/Firebase.h b/Pods/Headers/Public/Firebase/Firebase.h new file mode 120000 index 0000000..6d62033 --- /dev/null +++ b/Pods/Headers/Public/Firebase/Firebase.h @@ -0,0 +1 @@ +../../../Firebase/Core/Sources/Firebase.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalytics+AppDelegate.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalytics+AppDelegate.h new file mode 120000 index 0000000..5ea8208 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalytics+AppDelegate.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalytics.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalytics.h new file mode 120000 index 0000000..92d9b85 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalytics.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalyticsConfiguration.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalyticsConfiguration.h new file mode 120000 index 0000000..1e35aa2 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRAnalyticsConfiguration.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRApp.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRApp.h new file mode 120000 index 0000000..a4ca439 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRApp.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRConfiguration.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRConfiguration.h new file mode 120000 index 0000000..4c29bba --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRConfiguration.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIREventNames.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIREventNames.h new file mode 120000 index 0000000..75aea08 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIREventNames.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIROptions.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIROptions.h new file mode 120000 index 0000000..eb7d9f5 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIROptions.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRParameterNames.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRParameterNames.h new file mode 120000 index 0000000..c5f352c --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRParameterNames.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRUserPropertyNames.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRUserPropertyNames.h new file mode 120000 index 0000000..6e26060 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FIRUserPropertyNames.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FirebaseAnalytics.h b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FirebaseAnalytics.h new file mode 120000 index 0000000..0859122 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAnalytics/FirebaseAnalytics/FirebaseAnalytics.h @@ -0,0 +1 @@ +../../../../FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h new file mode 120000 index 0000000..8196f5a --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuthCredential.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuthCredential.h new file mode 120000 index 0000000..2ef5ac8 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuthCredential.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuthErrors.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuthErrors.h new file mode 120000 index 0000000..dd17a23 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuthErrors.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIREmailPasswordAuthProvider.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIREmailPasswordAuthProvider.h new file mode 120000 index 0000000..8fc925f --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIREmailPasswordAuthProvider.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRFacebookAuthProvider.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRFacebookAuthProvider.h new file mode 120000 index 0000000..8eba155 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRFacebookAuthProvider.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRGitHubAuthProvider.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRGitHubAuthProvider.h new file mode 120000 index 0000000..6e94066 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRGitHubAuthProvider.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRGoogleAuthProvider.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRGoogleAuthProvider.h new file mode 120000 index 0000000..966579f --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRGoogleAuthProvider.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRTwitterAuthProvider.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRTwitterAuthProvider.h new file mode 120000 index 0000000..b4325f3 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRTwitterAuthProvider.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRUser.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRUser.h new file mode 120000 index 0000000..f6b013b --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRUser.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRUserInfo.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRUserInfo.h new file mode 120000 index 0000000..368d346 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRUserInfo.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h new file mode 120000 index 0000000..488c240 --- /dev/null +++ b/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h @@ -0,0 +1 @@ +../../../../FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRAnalyticsConfiguration.h b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRAnalyticsConfiguration.h new file mode 120000 index 0000000..52778f0 --- /dev/null +++ b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRAnalyticsConfiguration.h @@ -0,0 +1 @@ +../../../../FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRApp.h b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRApp.h new file mode 120000 index 0000000..a0b1657 --- /dev/null +++ b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRApp.h @@ -0,0 +1 @@ +../../../../FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRApp.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRConfiguration.h b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRConfiguration.h new file mode 120000 index 0000000..fd1cfbf --- /dev/null +++ b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIRConfiguration.h @@ -0,0 +1 @@ +../../../../FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIROptions.h b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIROptions.h new file mode 120000 index 0000000..39759eb --- /dev/null +++ b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FIROptions.h @@ -0,0 +1 @@ +../../../../FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FIROptions.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseCore/FirebaseCore/FirebaseCore.h b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FirebaseCore.h new file mode 120000 index 0000000..8f62016 --- /dev/null +++ b/Pods/Headers/Public/FirebaseCore/FirebaseCore/FirebaseCore.h @@ -0,0 +1 @@ +../../../../FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/Headers/FirebaseCore.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDataEventType.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDataEventType.h new file mode 120000 index 0000000..ba0eb10 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDataEventType.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDataSnapshot.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDataSnapshot.h new file mode 120000 index 0000000..635d198 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDataSnapshot.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabase.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabase.h new file mode 120000 index 0000000..72f9038 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabase.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabaseQuery.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabaseQuery.h new file mode 120000 index 0000000..9ad7555 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabaseQuery.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabaseReference.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabaseReference.h new file mode 120000 index 0000000..b935ca6 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRDatabaseReference.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRMutableData.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRMutableData.h new file mode 120000 index 0000000..4efb3f2 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRMutableData.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRServerValue.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRServerValue.h new file mode 120000 index 0000000..8632fa0 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRServerValue.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRTransactionResult.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRTransactionResult.h new file mode 120000 index 0000000..c56d5c8 --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FIRTransactionResult.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FirebaseDatabase.h b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FirebaseDatabase.h new file mode 120000 index 0000000..4eefb9c --- /dev/null +++ b/Pods/Headers/Public/FirebaseDatabase/FirebaseDatabase/FirebaseDatabase.h @@ -0,0 +1 @@ +../../../../FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseInstanceID/FIRInstanceID.h b/Pods/Headers/Public/FirebaseInstanceID/FIRInstanceID.h new file mode 120000 index 0000000..0aaa73c --- /dev/null +++ b/Pods/Headers/Public/FirebaseInstanceID/FIRInstanceID.h @@ -0,0 +1 @@ +../../../FirebaseInstanceID/Sources/FIRInstanceID.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseInstanceID/FirebaseInstanceID/FIRInstanceID.h b/Pods/Headers/Public/FirebaseInstanceID/FirebaseInstanceID/FIRInstanceID.h new file mode 120000 index 0000000..61992a3 --- /dev/null +++ b/Pods/Headers/Public/FirebaseInstanceID/FirebaseInstanceID/FIRInstanceID.h @@ -0,0 +1 @@ +../../../../FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseInstanceID/FirebaseInstanceID/FirebaseInstanceID.h b/Pods/Headers/Public/FirebaseInstanceID/FirebaseInstanceID/FirebaseInstanceID.h new file mode 120000 index 0000000..9c6ce35 --- /dev/null +++ b/Pods/Headers/Public/FirebaseInstanceID/FirebaseInstanceID/FirebaseInstanceID.h @@ -0,0 +1 @@ +../../../../FirebaseInstanceID/Frameworks/frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorage.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorage.h new file mode 120000 index 0000000..de8bb84 --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorage.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorage.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageConstants.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageConstants.h new file mode 120000 index 0000000..c995637 --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageConstants.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageDownloadTask.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageDownloadTask.h new file mode 120000 index 0000000..393aebb --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageDownloadTask.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageMetadata.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageMetadata.h new file mode 120000 index 0000000..7b61f85 --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageMetadata.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageObservableTask.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageObservableTask.h new file mode 120000 index 0000000..908d2f3 --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageObservableTask.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageReference.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageReference.h new file mode 120000 index 0000000..22d5ae8 --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageReference.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageTask.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageTask.h new file mode 120000 index 0000000..01713ea --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageTask.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageTaskSnapshot.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageTaskSnapshot.h new file mode 120000 index 0000000..8b014ee --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageTaskSnapshot.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageUploadTask.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageUploadTask.h new file mode 120000 index 0000000..39bc9cd --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FIRStorageUploadTask.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h \ No newline at end of file diff --git a/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FirebaseStorage.h b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FirebaseStorage.h new file mode 120000 index 0000000..5e953c0 --- /dev/null +++ b/Pods/Headers/Public/FirebaseStorage/FirebaseStorage/FirebaseStorage.h @@ -0,0 +1 @@ +../../../../FirebaseStorage/Frameworks/frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h \ No newline at end of file diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock new file mode 100644 index 0000000..ed4e03f --- /dev/null +++ b/Pods/Manifest.lock @@ -0,0 +1,63 @@ +PODS: + - Firebase (3.7.1): + - Firebase/Core (= 3.7.1) + - Firebase/Auth (3.7.1): + - Firebase/Core + - FirebaseAuth (= 3.0.5) + - Firebase/Core (3.7.1): + - FirebaseAnalytics (= 3.4.4) + - FirebaseCore (= 3.4.3) + - Firebase/Database (3.7.1): + - Firebase/Core + - FirebaseDatabase (= 3.0.3) + - Firebase/Storage (3.7.1): + - Firebase/Core + - FirebaseStorage (= 1.0.3) + - FirebaseAnalytics (3.4.4): + - FirebaseCore (~> 3.4) + - FirebaseInstanceID (~> 1.0) + - GoogleInterchangeUtilities (~> 1.2) + - GoogleSymbolUtilities (~> 1.1) + - FirebaseAuth (3.0.5): + - FirebaseAnalytics (~> 3.3) + - GoogleNetworkingUtilities (~> 1.2) + - GoogleUtilities (~> 1.2) + - FirebaseCore (3.4.3): + - GoogleInterchangeUtilities (~> 1.2) + - GoogleUtilities (~> 1.2) + - FirebaseDatabase (3.0.3): + - FirebaseAnalytics (~> 3.3) + - FirebaseInstanceID (1.0.8) + - FirebaseStorage (1.0.3): + - FirebaseAnalytics (~> 3.3) + - GoogleNetworkingUtilities (~> 1.2) + - GoogleInterchangeUtilities (1.2.2): + - GoogleSymbolUtilities (~> 1.1) + - GoogleNetworkingUtilities (1.2.2): + - GoogleSymbolUtilities (~> 1.1) + - GoogleSymbolUtilities (1.1.2) + - GoogleUtilities (1.3.2): + - GoogleSymbolUtilities (~> 1.1) + +DEPENDENCIES: + - Firebase + - Firebase/Auth + - Firebase/Database + - Firebase/Storage + +SPEC CHECKSUMS: + Firebase: be473484f0d515e72ffd04acf22f981773c23e58 + FirebaseAnalytics: 0533a00b681e08fd0b2cd0444b7ddf0ef9fd7a1a + FirebaseAuth: 75a062bbf2d3c97d1e6e55bbc110e13a6853e25d + FirebaseCore: 5a885548bbc5f0c410b04f8e9ac9d73ff1221907 + FirebaseDatabase: 750a4a0fe18ef114318876fd654b2d9c671e0992 + FirebaseInstanceID: ba1e640935235e5fac39dfa816fe7660e72e1a8a + FirebaseStorage: 3992817bf405f5c1a4f8349678d22724cd0ef509 + GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7 + GoogleNetworkingUtilities: 3edd3a8161347494f2da60ea0deddc8a472d94cb + GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96 + GoogleUtilities: 8bbc733218aad26306f9d4a253823986110e3358 + +PODFILE CHECKSUM: 993896036b516895b018f388192a132d478faf13 + +COCOAPODS: 1.0.1 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..a64854d --- /dev/null +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,1094 @@ + + + + + archiveVersion + 1 + classes + + objectVersion + 46 + objects + + 034014829C1E4434983CF3A690C12017 + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_ANALYZER_NONNULL + YES + 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 + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES + CLANG_WARN_UNREACHABLE_CODE + YES + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + COPY_PHASE_STRIP + NO + ENABLE_TESTABILITY + YES + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PREPROCESSOR_DEFINITIONS + + POD_CONFIGURATION_DEBUG=1 + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 9.0 + ONLY_ACTIVE_ARCH + YES + STRIP_INSTALLED_PRODUCT + NO + SYMROOT + ${SRCROOT}/../build + + isa + XCBuildConfiguration + name + Debug + + 03F10EA88AB373ECF1F216F26159D846 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + FirebaseCore.framework + path + Frameworks/frameworks/FirebaseCore.framework + sourceTree + <group> + + 05969CE8C814626DCF7C18FB1EE854FB + + children + + DE0F29B2CDF5157CB6689A162FA014DD + + isa + PBXGroup + name + Core + sourceTree + <group> + + 1C4D490A81F158DDAB65E7CC8D90A85F + + children + + D56ED780ADBC5788CA821514FBBCAAED + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 265F2AEB997F061FE12329360A246000 + + baseConfigurationReference + D0256CA5ABA44775FCD1AC5A21F59C0E + buildSettings + + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + DEBUG_INFORMATION_FORMAT + dwarf-with-dsym + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_NO_COMMON_BLOCKS + YES + IPHONEOS_DEPLOYMENT_TARGET + 9.0 + MACH_O_TYPE + staticlib + MTL_ENABLE_DEBUG_INFO + NO + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PODS_ROOT + $(SRCROOT) + PRODUCT_BUNDLE_IDENTIFIER + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + PRODUCT_NAME + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + + isa + XCBuildConfiguration + name + Release + + 2D8E8EC45A3A1A1D94AE762CB5028504 + + buildConfigurations + + 034014829C1E4434983CF3A690C12017 + C7E474A03CAE21F1CB6046E7344C59BD + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 2FABECECE6B18939A36A0C90C111D241 + + children + + A1A30BEF334710E8C6ABEC7DE75E9B61 + + isa + PBXGroup + name + FirebaseDatabase + path + FirebaseDatabase + sourceTree + <group> + + 33864FFF651E0EF55A0E9AC7F8E255A4 + + children + + 71C74BEBF58592B916A9DCF666828279 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 33AD4E002635D77A439F00FC267CF60D + + children + + 05969CE8C814626DCF7C18FB1EE854FB + + isa + PBXGroup + name + Firebase + path + Firebase + sourceTree + <group> + + 33CD0FBCB142D7E7B9F51B6C66611E9F + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Pods-MDBSocials-acknowledgements.plist + sourceTree + <group> + + 3DCAB2B7CDE207B3958B6CB957FCC758 + + children + + CEC22C73C1608DFA5D5D78BDCB218219 + + isa + PBXGroup + name + iOS + sourceTree + <group> + + 42D85E69BEB6220206FB2649CD417302 + + buildConfigurations + + A0BFD99EB0BDB0642BCE4F458146F456 + 265F2AEB997F061FE12329360A246000 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 43EBD1E6B6D18D3627F1307D9CA88CB1 + + fileRef + CEC22C73C1608DFA5D5D78BDCB218219 + isa + PBXBuildFile + + 461E182EAF50BF3E14D161601601DFF0 + + children + + 6AD394DCA02FB1FE4E2E90FB7BF273F8 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 46FB8816E29BA362E72274C12B1E383B + + fileRef + 9354988F443C37CCDEB39F0E6DB4DE37 + isa + PBXBuildFile + + 51C2AF5031C03E9F970C87F710EA4957 + + children + + B38AFC64546F2C693709E36A6A434CB8 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 56C354061E5BA483A261F87A11D5A7A8 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text + path + Pods-MDBSocials-acknowledgements.markdown + sourceTree + <group> + + 56DCD628FD16E5E16E59FA494B4D75AA + + children + + 51C2AF5031C03E9F970C87F710EA4957 + + isa + PBXGroup + name + FirebaseAnalytics + path + FirebaseAnalytics + sourceTree + <group> + + 584F196128203ECD401A7FAF9F5EEA7F + + children + + 667DFC9C3CA7BD538FDCF7C6E44A1C5D + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 5BB23FE6711ACDB4E85887FD325D014F + + explicitFileType + archive.ar + includeInIndex + 0 + isa + PBXFileReference + name + libPods-MDBSocials.a + path + libPods-MDBSocials.a + sourceTree + BUILT_PRODUCTS_DIR + + 65A484AA9BEBBDF1FEFA22B4C7244785 + + buildActionMask + 2147483647 + files + + 46FB8816E29BA362E72274C12B1E383B + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 667DFC9C3CA7BD538FDCF7C6E44A1C5D + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + GoogleInterchangeUtilities.framework + path + Frameworks/frameworks/GoogleInterchangeUtilities.framework + sourceTree + <group> + + 68EE4BBBC3FC44039313F33A87F8D9FB + + children + + B449EB6652F951C856415323335CB454 + + isa + PBXGroup + name + Targets Support Files + sourceTree + <group> + + 6AD394DCA02FB1FE4E2E90FB7BF273F8 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + FirebaseInstanceID.framework + path + Frameworks/frameworks/FirebaseInstanceID.framework + sourceTree + <group> + + 71C74BEBF58592B916A9DCF666828279 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + GoogleNetworkingUtilities.framework + path + Frameworks/frameworks/GoogleNetworkingUtilities.framework + sourceTree + <group> + + 742B07204B882769A21A8F1AABFDC380 + + children + + 843F08F57AE17E2B209D28C24DDA797C + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 75B9865F261B7E0F7CA604F67CE99CA9 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + GoogleUtilities.framework + path + Frameworks/frameworks/GoogleUtilities.framework + sourceTree + <group> + + 7DB346D0F39D3F0E887471402A8071AB + + children + + 93A4A3777CF96A4AAC1D13BA6DCCEA73 + BC3CA7F9E30CC8F7E2DD044DD34432FC + 9060B306DA2FFF9E9431F331F6716F6E + F0F8B7BD6AB53F5034450BAA05AEC87B + 68EE4BBBC3FC44039313F33A87F8D9FB + + isa + PBXGroup + sourceTree + <group> + + 80201464BFA8DA0E3B48C876F406F1B2 + + children + + DE75EB25212430477216F64B434EC05B + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 843F08F57AE17E2B209D28C24DDA797C + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + FirebaseAuth.framework + path + Frameworks/frameworks/FirebaseAuth.framework + sourceTree + <group> + + 853A7225D29401F1913C189FFE1F2832 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + FIRInstanceID.h + path + Sources/FIRInstanceID.h + sourceTree + <group> + + 8F04291EC89EBDEEBC4AA53CEC1CE61F + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.script.sh + path + Pods-MDBSocials-resources.sh + sourceTree + <group> + + 9060B306DA2FFF9E9431F331F6716F6E + + children + + 33AD4E002635D77A439F00FC267CF60D + 56DCD628FD16E5E16E59FA494B4D75AA + D5F0619D4A07F01C91751B552D91F234 + 9BE87193F008AF3FAE86C574EC50E8B0 + 2FABECECE6B18939A36A0C90C111D241 + C86FC21F4C24884026C23771428DA03C + B37586A847B1F296909CF2B55986F2D8 + A02112CE2F63A84C041084D28ED2C69B + FEFA282458228D518E048E72E89AF37C + A9CF4FC6CB26C05886D6FD55FF95A4EA + 9B868F9FEB46D3020035A87F5329FC19 + + isa + PBXGroup + name + Pods + sourceTree + <group> + + 9354988F443C37CCDEB39F0E6DB4DE37 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Pods-MDBSocials-dummy.m + sourceTree + <group> + + 93A4A3777CF96A4AAC1D13BA6DCCEA73 + + explicitFileType + text.script.ruby + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text + name + Podfile + path + ../Podfile + sourceTree + SOURCE_ROOT + xcLanguageSpecificationIdentifier + xcode.lang.ruby + + 9B868F9FEB46D3020035A87F5329FC19 + + children + + C988137323ABA327F03FE45C4CD6A62F + + isa + PBXGroup + name + GoogleUtilities + path + GoogleUtilities + sourceTree + <group> + + 9BE87193F008AF3FAE86C574EC50E8B0 + + children + + EF5A7CC3FE88626C6319416821DD26BC + + isa + PBXGroup + name + FirebaseCore + path + FirebaseCore + sourceTree + <group> + + A02112CE2F63A84C041084D28ED2C69B + + children + + 584F196128203ECD401A7FAF9F5EEA7F + + isa + PBXGroup + name + GoogleInterchangeUtilities + path + GoogleInterchangeUtilities + sourceTree + <group> + + A0BFD99EB0BDB0642BCE4F458146F456 + + baseConfigurationReference + FDA763D36684A67BEF1666ABABDBFABB + buildSettings + + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + DEBUG_INFORMATION_FORMAT + dwarf + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_NO_COMMON_BLOCKS + YES + IPHONEOS_DEPLOYMENT_TARGET + 9.0 + MACH_O_TYPE + staticlib + MTL_ENABLE_DEBUG_INFO + YES + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PODS_ROOT + $(SRCROOT) + PRODUCT_BUNDLE_IDENTIFIER + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + PRODUCT_NAME + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + + isa + XCBuildConfiguration + name + Debug + + A1A30BEF334710E8C6ABEC7DE75E9B61 + + children + + D9F8BB89EC1E030F12204A51D039AFD4 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + A9CF4FC6CB26C05886D6FD55FF95A4EA + + children + + 80201464BFA8DA0E3B48C876F406F1B2 + + isa + PBXGroup + name + GoogleSymbolUtilities + path + GoogleSymbolUtilities + sourceTree + <group> + + B37586A847B1F296909CF2B55986F2D8 + + children + + 1C4D490A81F158DDAB65E7CC8D90A85F + + isa + PBXGroup + name + FirebaseStorage + path + FirebaseStorage + sourceTree + <group> + + B38AFC64546F2C693709E36A6A434CB8 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + FirebaseAnalytics.framework + path + Frameworks/frameworks/FirebaseAnalytics.framework + sourceTree + <group> + + B449EB6652F951C856415323335CB454 + + children + + 56C354061E5BA483A261F87A11D5A7A8 + 33CD0FBCB142D7E7B9F51B6C66611E9F + 9354988F443C37CCDEB39F0E6DB4DE37 + D37ABDF7654563899BB6005DAD1F8B8E + 8F04291EC89EBDEEBC4AA53CEC1CE61F + FDA763D36684A67BEF1666ABABDBFABB + D0256CA5ABA44775FCD1AC5A21F59C0E + + isa + PBXGroup + name + Pods-MDBSocials + path + Target Support Files/Pods-MDBSocials + sourceTree + <group> + + BC3CA7F9E30CC8F7E2DD044DD34432FC + + children + + 3DCAB2B7CDE207B3958B6CB957FCC758 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + C7E474A03CAE21F1CB6046E7344C59BD + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_ANALYZER_NONNULL + YES + 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 + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES + CLANG_WARN_UNREACHABLE_CODE + YES + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + COPY_PHASE_STRIP + YES + ENABLE_NS_ASSERTIONS + NO + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_PREPROCESSOR_DEFINITIONS + + POD_CONFIGURATION_RELEASE=1 + $(inherited) + + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 9.0 + STRIP_INSTALLED_PRODUCT + NO + SYMROOT + ${SRCROOT}/../build + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + C86FC21F4C24884026C23771428DA03C + + children + + 853A7225D29401F1913C189FFE1F2832 + 461E182EAF50BF3E14D161601601DFF0 + + isa + PBXGroup + name + FirebaseInstanceID + path + FirebaseInstanceID + sourceTree + <group> + + C93EB9E4AC8C4881B7EC6B27FEEA995A + + buildActionMask + 2147483647 + files + + 43EBD1E6B6D18D3627F1307D9CA88CB1 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + C988137323ABA327F03FE45C4CD6A62F + + children + + 75B9865F261B7E0F7CA604F67CE99CA9 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + CEC22C73C1608DFA5D5D78BDCB218219 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Foundation.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework + sourceTree + DEVELOPER_DIR + + D0256CA5ABA44775FCD1AC5A21F59C0E + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-MDBSocials.release.xcconfig + sourceTree + <group> + + D37ABDF7654563899BB6005DAD1F8B8E + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.script.sh + path + Pods-MDBSocials-frameworks.sh + sourceTree + <group> + + D41D8CD98F00B204E9800998ECF8427E + + attributes + + LastSwiftUpdateCheck + 0730 + LastUpgradeCheck + 0700 + + buildConfigurationList + 2D8E8EC45A3A1A1D94AE762CB5028504 + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 + isa + PBXProject + knownRegions + + en + + mainGroup + 7DB346D0F39D3F0E887471402A8071AB + productRefGroup + F0F8B7BD6AB53F5034450BAA05AEC87B + projectDirPath + + projectReferences + + projectRoot + + targets + + FDA239CE839B0B7BE169B302A59D8902 + + + D56ED780ADBC5788CA821514FBBCAAED + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + FirebaseStorage.framework + path + Frameworks/frameworks/FirebaseStorage.framework + sourceTree + <group> + + D5F0619D4A07F01C91751B552D91F234 + + children + + 742B07204B882769A21A8F1AABFDC380 + + isa + PBXGroup + name + FirebaseAuth + path + FirebaseAuth + sourceTree + <group> + + D9F8BB89EC1E030F12204A51D039AFD4 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + FirebaseDatabase.framework + path + Frameworks/FirebaseDatabase.framework + sourceTree + <group> + + DE0F29B2CDF5157CB6689A162FA014DD + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + Firebase.h + path + Core/Sources/Firebase.h + sourceTree + <group> + + DE75EB25212430477216F64B434EC05B + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + GoogleSymbolUtilities.framework + path + Frameworks/frameworks/GoogleSymbolUtilities.framework + sourceTree + <group> + + EF5A7CC3FE88626C6319416821DD26BC + + children + + 03F10EA88AB373ECF1F216F26159D846 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + F0F8B7BD6AB53F5034450BAA05AEC87B + + children + + 5BB23FE6711ACDB4E85887FD325D014F + + isa + PBXGroup + name + Products + sourceTree + <group> + + FDA239CE839B0B7BE169B302A59D8902 + + buildConfigurationList + 42D85E69BEB6220206FB2649CD417302 + buildPhases + + 65A484AA9BEBBDF1FEFA22B4C7244785 + C93EB9E4AC8C4881B7EC6B27FEEA995A + + buildRules + + dependencies + + isa + PBXNativeTarget + name + Pods-MDBSocials + productName + Pods-MDBSocials + productReference + 5BB23FE6711ACDB4E85887FD325D014F + productType + com.apple.product-type.library.static + + FDA763D36684A67BEF1666ABABDBFABB + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-MDBSocials.debug.xcconfig + sourceTree + <group> + + FEFA282458228D518E048E72E89AF37C + + children + + 33864FFF651E0EF55A0E9AC7F8E255A4 + + isa + PBXGroup + name + GoogleNetworkingUtilities + path + GoogleNetworkingUtilities + sourceTree + <group> + + + rootObject + D41D8CD98F00B204E9800998ECF8427E + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/Pods-MDBSocials.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/Pods-MDBSocials.xcscheme new file mode 100644 index 0000000..a75b94e --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/Pods-MDBSocials.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/xcschememanagement.plist b/Pods/Pods.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b75aa2a --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/eliothan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Pods-MDBSocials.xcscheme + + isShown + + + + SuppressBuildableAutocreation + + FDA239CE839B0B7BE169B302A59D8902 + + primary + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/Pods-MDBSocials.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/Pods-MDBSocials.xcscheme new file mode 100644 index 0000000..c5ea89d --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/Pods-MDBSocials.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/xcschememanagement.plist b/Pods/Pods.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..6fcb4f7 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/rochelleshen.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Pods-MDBSocials.xcscheme + + orderHint + 1 + + + SuppressBuildableAutocreation + + FDA239CE839B0B7BE169B302A59D8902 + + primary + + + + + diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-acknowledgements.markdown b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-acknowledgements.markdown new file mode 100644 index 0000000..8253073 --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-acknowledgements.markdown @@ -0,0 +1,47 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## Firebase + +Copyright 2016 Google + +## FirebaseAnalytics + +Copyright 2016 Google + +## FirebaseAuth + +Copyright 2016 Google + +## FirebaseCore + +Copyright 2016 Google + +## FirebaseDatabase + +Copyright 2016 Google + +## FirebaseInstanceID + +Copyright 2016 Google + +## FirebaseStorage + +Copyright 2016 Google + +## GoogleInterchangeUtilities + +Copyright 2016 Google + +## GoogleNetworkingUtilities + +Copyright 2016 Google + +## GoogleSymbolUtilities + +Copyright 2016 Google + +## GoogleUtilities + +Copyright 2016 Google +Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-acknowledgements.plist b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-acknowledgements.plist new file mode 100644 index 0000000..5506e70 --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-acknowledgements.plist @@ -0,0 +1,117 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + Firebase + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + FirebaseAnalytics + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + FirebaseAuth + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + FirebaseCore + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + FirebaseDatabase + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + FirebaseInstanceID + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + FirebaseStorage + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + GoogleInterchangeUtilities + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + GoogleNetworkingUtilities + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + GoogleSymbolUtilities + Type + PSGroupSpecifier + + + FooterText + Copyright 2016 Google + Title + GoogleUtilities + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-dummy.m b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-dummy.m new file mode 100644 index 0000000..81ccf86 --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_MDBSocials : NSObject +@end +@implementation PodsDummy_Pods_MDBSocials +@end diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-frameworks.sh b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-frameworks.sh new file mode 100755 index 0000000..893c16a --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-frameworks.sh @@ -0,0 +1,84 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-resources.sh b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-resources.sh new file mode 100755 index 0000000..0a15615 --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials-resources.sh @@ -0,0 +1,102 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.debug.xcconfig b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.debug.xcconfig new file mode 100644 index 0000000..beb34ff --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.debug.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/FirebaseAnalytics/Frameworks/frameworks" "${PODS_ROOT}/FirebaseAuth/Frameworks/frameworks" "${PODS_ROOT}/FirebaseCore/Frameworks/frameworks" "${PODS_ROOT}/FirebaseDatabase/Frameworks" "${PODS_ROOT}/FirebaseInstanceID/Frameworks/frameworks" "${PODS_ROOT}/FirebaseStorage/Frameworks/frameworks" "${PODS_ROOT}/GoogleInterchangeUtilities/Frameworks/frameworks" "${PODS_ROOT}/GoogleNetworkingUtilities/Frameworks/frameworks" "${PODS_ROOT}/GoogleSymbolUtilities/Frameworks/frameworks" "${PODS_ROOT}/GoogleUtilities/Frameworks/frameworks" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) ${PODS_ROOT}/Firebase/Core/Sources $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseAuth" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" "${PODS_ROOT}/Headers/Public/GoogleInterchangeUtilities" "${PODS_ROOT}/Headers/Public/GoogleNetworkingUtilities" "${PODS_ROOT}/Headers/Public/GoogleSymbolUtilities" "${PODS_ROOT}/Headers/Public/GoogleUtilities" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Firebase" -isystem "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" -isystem "${PODS_ROOT}/Headers/Public/FirebaseAuth" -isystem "${PODS_ROOT}/Headers/Public/FirebaseCore" -isystem "${PODS_ROOT}/Headers/Public/FirebaseDatabase" -isystem "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" -isystem "${PODS_ROOT}/Headers/Public/FirebaseStorage" -isystem "${PODS_ROOT}/Headers/Public/GoogleInterchangeUtilities" -isystem "${PODS_ROOT}/Headers/Public/GoogleNetworkingUtilities" -isystem "${PODS_ROOT}/Headers/Public/GoogleSymbolUtilities" -isystem "${PODS_ROOT}/Headers/Public/GoogleUtilities" +OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"icucore" -l"sqlite3" -l"z" -framework "AddressBook" -framework "CFNetwork" -framework "CoreGraphics" -framework "FirebaseAnalytics" -framework "FirebaseAuth" -framework "FirebaseCore" -framework "FirebaseDatabase" -framework "FirebaseInstanceID" -framework "FirebaseStorage" -framework "GoogleInterchangeUtilities" -framework "GoogleNetworkingUtilities" -framework "GoogleSymbolUtilities" -framework "GoogleUtilities" -framework "MobileCoreServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.release.xcconfig b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.release.xcconfig new file mode 100644 index 0000000..beb34ff --- /dev/null +++ b/Pods/Target Support Files/Pods-MDBSocials/Pods-MDBSocials.release.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/FirebaseAnalytics/Frameworks/frameworks" "${PODS_ROOT}/FirebaseAuth/Frameworks/frameworks" "${PODS_ROOT}/FirebaseCore/Frameworks/frameworks" "${PODS_ROOT}/FirebaseDatabase/Frameworks" "${PODS_ROOT}/FirebaseInstanceID/Frameworks/frameworks" "${PODS_ROOT}/FirebaseStorage/Frameworks/frameworks" "${PODS_ROOT}/GoogleInterchangeUtilities/Frameworks/frameworks" "${PODS_ROOT}/GoogleNetworkingUtilities/Frameworks/frameworks" "${PODS_ROOT}/GoogleSymbolUtilities/Frameworks/frameworks" "${PODS_ROOT}/GoogleUtilities/Frameworks/frameworks" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) ${PODS_ROOT}/Firebase/Core/Sources $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseAuth" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FirebaseStorage" "${PODS_ROOT}/Headers/Public/GoogleInterchangeUtilities" "${PODS_ROOT}/Headers/Public/GoogleNetworkingUtilities" "${PODS_ROOT}/Headers/Public/GoogleSymbolUtilities" "${PODS_ROOT}/Headers/Public/GoogleUtilities" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Firebase" -isystem "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" -isystem "${PODS_ROOT}/Headers/Public/FirebaseAuth" -isystem "${PODS_ROOT}/Headers/Public/FirebaseCore" -isystem "${PODS_ROOT}/Headers/Public/FirebaseDatabase" -isystem "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" -isystem "${PODS_ROOT}/Headers/Public/FirebaseStorage" -isystem "${PODS_ROOT}/Headers/Public/GoogleInterchangeUtilities" -isystem "${PODS_ROOT}/Headers/Public/GoogleNetworkingUtilities" -isystem "${PODS_ROOT}/Headers/Public/GoogleSymbolUtilities" -isystem "${PODS_ROOT}/Headers/Public/GoogleUtilities" +OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"icucore" -l"sqlite3" -l"z" -framework "AddressBook" -framework "CFNetwork" -framework "CoreGraphics" -framework "FirebaseAnalytics" -framework "FirebaseAuth" -framework "FirebaseCore" -framework "FirebaseDatabase" -framework "FirebaseInstanceID" -framework "FirebaseStorage" -framework "GoogleInterchangeUtilities" -framework "GoogleNetworkingUtilities" -framework "GoogleSymbolUtilities" -framework "GoogleUtilities" -framework "MobileCoreServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods