From ccb27d7d979a894c0068963791a5b1108f6cdb48 Mon Sep 17 00:00:00 2001 From: Florian Gabach Date: Tue, 28 Mar 2017 10:07:21 +0200 Subject: [PATCH] Fix warning --- .../OpenSourceController.xcodeproj/project.pbxproj | 12 ------------ Example/OpenSourceController/ViewController.swift | 8 ++++---- .../Classes/Model/OpenSourceControllerConfig.swift | 2 +- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/Example/OpenSourceController.xcodeproj/project.pbxproj b/Example/OpenSourceController.xcodeproj/project.pbxproj index 8314dd2..94ce7aa 100644 --- a/Example/OpenSourceController.xcodeproj/project.pbxproj +++ b/Example/OpenSourceController.xcodeproj/project.pbxproj @@ -14,9 +14,6 @@ 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 6B97E461A777A38641DFF2BB /* Pods_OpenSourceController_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 01C1ED0DAD6B8C56070C2725 /* Pods_OpenSourceController_Example.framework */; }; - 767195ED1E697890005424C6 /* CONTRIBUTORS.md in Sources */ = {isa = PBXBuildFile; fileRef = 767195EC1E697890005424C6 /* CONTRIBUTORS.md */; }; - 767195EF1E697896005424C6 /* CONTRIBUTING.md in Sources */ = {isa = PBXBuildFile; fileRef = 767195EE1E697896005424C6 /* CONTRIBUTING.md */; }; - 768FE1CC1E7062350037E80E /* CHANGELOG.md in Sources */ = {isa = PBXBuildFile; fileRef = 768FE1CB1E7062350037E80E /* CHANGELOG.md */; }; DE9F38AD98FC5DFBDF7EADF1 /* Pods_OpenSourceController_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B544A0C5F114143EEFD0366A /* Pods_OpenSourceController_Tests.framework */; }; /* End PBXBuildFile section */ @@ -57,9 +54,6 @@ 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 64B1D807A1D310FDA418A3AD /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 64E410A815536CB40C9EFD4D /* Pods-OpenSourceController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSourceController_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OpenSourceController_Example/Pods-OpenSourceController_Example.debug.xcconfig"; sourceTree = ""; }; - 767195EC1E697890005424C6 /* CONTRIBUTORS.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTORS.md; path = ../CONTRIBUTORS.md; sourceTree = ""; }; - 767195EE1E697896005424C6 /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTING.md; path = ../CONTRIBUTING.md; sourceTree = ""; }; - 768FE1CB1E7062350037E80E /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CHANGELOG.md; path = ../CHANGELOG.md; sourceTree = ""; }; 7992D734190D4686F9AF2409 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 87501F335829155E114806FA /* Pods-OpenSourceController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSourceController_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OpenSourceController_Tests/Pods-OpenSourceController_Tests.release.xcconfig"; sourceTree = ""; }; B544A0C5F114143EEFD0366A /* Pods_OpenSourceController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OpenSourceController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -153,9 +147,6 @@ C1CC167BCAEA652E1A800918 /* OpenSourceController.podspec */, 64B1D807A1D310FDA418A3AD /* README.md */, 7992D734190D4686F9AF2409 /* LICENSE */, - 767195EC1E697890005424C6 /* CONTRIBUTORS.md */, - 767195EE1E697896005424C6 /* CONTRIBUTING.md */, - 768FE1CB1E7062350037E80E /* CHANGELOG.md */, ); name = "Podspec Metadata"; sourceTree = ""; @@ -414,10 +405,7 @@ buildActionMask = 2147483647; files = ( 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, - 768FE1CC1E7062350037E80E /* CHANGELOG.md in Sources */, 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, - 767195EF1E697896005424C6 /* CONTRIBUTING.md in Sources */, - 767195ED1E697890005424C6 /* CONTRIBUTORS.md in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Example/OpenSourceController/ViewController.swift b/Example/OpenSourceController/ViewController.swift index 2385a39..ee2b206 100644 --- a/Example/OpenSourceController/ViewController.swift +++ b/Example/OpenSourceController/ViewController.swift @@ -40,13 +40,13 @@ class ViewController: UIViewController { url: "https://raw.githubusercontent.com/jessesquires/JSQMessagesViewController/develop/LICENSE"), LicenceFile(title: "OpenSourceController", url: "https://raw.githubusercontent.com/terflogag/OpenSourceController/master/LICENSE"), - LicenceFile(title: "PermissionScope", + LicenceFile(title: "PermissionScope", url: "https://raw.githubusercontent.com/nickoneill/PermissionScope/master/LICENSE"), - LicenceFile(title: "EasyTipView", + LicenceFile(title: "EasyTipView", url: "https://raw.githubusercontent.com/teodorpatras/EasyTipView/master/LICENSE"), - LicenceFile(title: "ReachabilitySwift", + LicenceFile(title: "ReachabilitySwift", url: "https://raw.githubusercontent.com/ashleymills/Reachability.swift/master/LICENSE"), - LicenceFile(title: "KeychainAccess", + LicenceFile(title: "KeychainAccess", url: "https://raw.githubusercontent.com/kishikawakatsumi/KeychainAccess/master/LICENSE")] // Present controller diff --git a/OpenSourceController/Classes/Model/OpenSourceControllerConfig.swift b/OpenSourceController/Classes/Model/OpenSourceControllerConfig.swift index e4552f0..b388f85 100644 --- a/OpenSourceController/Classes/Model/OpenSourceControllerConfig.swift +++ b/OpenSourceController/Classes/Model/OpenSourceControllerConfig.swift @@ -15,7 +15,7 @@ public struct OpenSourceControllerConfig { public var barTintColor: UIColor? /// Will be applied to the navigation bar - public var backgroundColor: UIColor? + public var backgroundColor: UIColor? /// Will be applied to licence text public var licenceBackgroundColor: UIColor?