From f02270a664a99c683642636d2a34651980f0b919 Mon Sep 17 00:00:00 2001 From: PAOLO MUSOLINO Date: Wed, 11 May 2016 00:10:12 +0200 Subject: [PATCH] - Created folder resources - Created podspec file --- Library/{ => Resources}/flag.png | Bin PMAlertController.podspec | 21 ++++++++++++++++++++ PMAlertController.xcodeproj/project.pbxproj | 16 +++++++++++---- 3 files changed, 33 insertions(+), 4 deletions(-) rename Library/{ => Resources}/flag.png (100%) create mode 100644 PMAlertController.podspec diff --git a/Library/flag.png b/Library/Resources/flag.png similarity index 100% rename from Library/flag.png rename to Library/Resources/flag.png diff --git a/PMAlertController.podspec b/PMAlertController.podspec new file mode 100644 index 0000000..5f6d0b2 --- /dev/null +++ b/PMAlertController.podspec @@ -0,0 +1,21 @@ +Pod::Spec.new do |s| + s.name = "PMAlertController" + s.version = "1.0.0" + s.summary = "PMAlertController is a great and customizable substitute to UIAlertController" + s.description = <<-DESC + PMAlertController is a small library that allows you to substitute the uncustomizable UIAlertController of Apple, with a beautiful and totally customizable alert that you can use in your iOS app. Enjoy! + DESC + s.homepage = "https://github.com/Codeido/PMAlertController" + s.screenshots = "https://raw.githubusercontent.com/Codeido/PMAlertController/master/preview_pmalertacontroller.jpg" + s.license = { :type => "MIT", :file => "LICENSE" } + s.author = { "Paolo Musolino" => "info@codeido.com" } + s.social_media_url = "http://twitter.com/pmusolino" + s.platform = :ios, "9.0" + s.source = { :git => "https://github.com/Codeido/PMAlertController.git", :tag => "1.0.0" } + s.source_files = "Library/**/*" + s.resource_bundles = { + 'PMAlertController' => ['Library/Resources/**/*.png'] + } + s.framework = "UIKit" + s.requires_arc = true +end diff --git a/PMAlertController.xcodeproj/project.pbxproj b/PMAlertController.xcodeproj/project.pbxproj index 3a362df..6c74d60 100644 --- a/PMAlertController.xcodeproj/project.pbxproj +++ b/PMAlertController.xcodeproj/project.pbxproj @@ -18,7 +18,7 @@ 453B4F141CDE540400BFB901 /* PMAlertController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 453B4F0D1CDE411100BFB901 /* PMAlertController.xib */; }; 453B4F151CDE7B6700BFB901 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 453B4EE51CDE3F0A00BFB901 /* Info.plist */; }; 453B4F171CDF456F00BFB901 /* PMAlertAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 453B4F161CDF456F00BFB901 /* PMAlertAction.swift */; }; - 453B4F1B1CDFCFC900BFB901 /* flag.png in Resources */ = {isa = PBXBuildFile; fileRef = 453B4F1A1CDFCFC900BFB901 /* flag.png */; }; + 45D057B91CE2938100AEB2C7 /* flag.png in Resources */ = {isa = PBXBuildFile; fileRef = 45D057B81CE2938100AEB2C7 /* flag.png */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -55,7 +55,7 @@ 453B4F0C1CDE411100BFB901 /* PMAlertController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PMAlertController.swift; sourceTree = ""; }; 453B4F0D1CDE411100BFB901 /* PMAlertController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PMAlertController.xib; sourceTree = ""; }; 453B4F161CDF456F00BFB901 /* PMAlertAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PMAlertAction.swift; sourceTree = ""; }; - 453B4F1A1CDFCFC900BFB901 /* flag.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = flag.png; sourceTree = ""; }; + 45D057B81CE2938100AEB2C7 /* flag.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = flag.png; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -141,11 +141,19 @@ 453B4F0C1CDE411100BFB901 /* PMAlertController.swift */, 453B4F0D1CDE411100BFB901 /* PMAlertController.xib */, 453B4F161CDF456F00BFB901 /* PMAlertAction.swift */, - 453B4F1A1CDFCFC900BFB901 /* flag.png */, + 45D057B71CE2938100AEB2C7 /* Resources */, ); path = Library; sourceTree = ""; }; + 45D057B71CE2938100AEB2C7 /* Resources */ = { + isa = PBXGroup; + children = ( + 45D057B81CE2938100AEB2C7 /* flag.png */, + ); + path = Resources; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -253,9 +261,9 @@ 453B4F151CDE7B6700BFB901 /* Info.plist in Resources */, 453B4EE41CDE3F0A00BFB901 /* LaunchScreen.storyboard in Resources */, 453B4EE11CDE3F0A00BFB901 /* Assets.xcassets in Resources */, + 45D057B91CE2938100AEB2C7 /* flag.png in Resources */, 453B4EDF1CDE3F0A00BFB901 /* Main.storyboard in Resources */, 453B4F141CDE540400BFB901 /* PMAlertController.xib in Resources */, - 453B4F1B1CDFCFC900BFB901 /* flag.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; };