diff --git a/CocoaBar.podspec b/CocoaBar.podspec index b34cdc8..7ae8bf6 100644 --- a/CocoaBar.podspec +++ b/CocoaBar.podspec @@ -7,13 +7,13 @@ Pod::Spec.new do |s| A flexible and simple to use SnackBar view for iOS. Written in Swift 2.2. DESC s.homepage = "https://github.com/MerrickSapsford/CocoaBar" - s.screenshots = "https://github.com/MerrickSapsford/CocoaBar/blob/develop/Resource/screenshot1.png", "https://github.com/MerrickSapsford/CocoaBar/blob/develop/Resource/screenshot2.png" + s.screenshots = "https://raw.githubusercontent.com/MerrickSapsford/CocoaBar/develop/Resource/screenshot1.png", "https://raw.githubusercontent.com/MerrickSapsford/CocoaBar/develop/Resource/screenshot2.png" s.license = "MIT" s.author = { "Merrick Sapsford" => "merrick@sapsford.tech" } - s.social_media_url = "http://twitter.com/Merrick Sapsford" + s.social_media_url = "http://twitter.com/MerrickSapsford" s.platform = :ios, "8.0" s.source = { :git => "https://github.com/MerrickSapsford/CocoaBar.git", :tag => s.version.to_s } - s.source_files = "CocoaBar", "Source/**/*.{h,m}" + s.source_files = "Source", "Source/**/*.{h,m}" s.resources = ['Source/**/*.{xib}'] end diff --git a/Source/Utilities/AutoLayoutUtils.swift b/Source/Utilities/AutoLayoutUtils.swift index 8f0f4bd..473628d 100644 --- a/Source/Utilities/AutoLayoutUtils.swift +++ b/Source/Utilities/AutoLayoutUtils.swift @@ -8,7 +8,7 @@ import UIKit -extension UIView { +internal extension UIView { internal func autoPinToEdges() -> [NSLayoutConstraint] { let views = self.setUpForAutoLayout()