Skip to content

Commit

Permalink
- Created folder resources
Browse files Browse the repository at this point in the history
- Created podspec file
  • Loading branch information
pmusolino committed May 10, 2016
1 parent 4f0b4db commit f02270a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
File renamed without changes
21 changes: 21 additions & 0 deletions PMAlertController.podspec
Original file line number Diff line number Diff line change
@@ -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" => "[email protected]" }
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
16 changes: 12 additions & 4 deletions PMAlertController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -55,7 +55,7 @@
453B4F0C1CDE411100BFB901 /* PMAlertController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PMAlertController.swift; sourceTree = "<group>"; };
453B4F0D1CDE411100BFB901 /* PMAlertController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PMAlertController.xib; sourceTree = "<group>"; };
453B4F161CDF456F00BFB901 /* PMAlertAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PMAlertAction.swift; sourceTree = "<group>"; };
453B4F1A1CDFCFC900BFB901 /* flag.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = flag.png; sourceTree = "<group>"; };
45D057B81CE2938100AEB2C7 /* flag.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = flag.png; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -141,11 +141,19 @@
453B4F0C1CDE411100BFB901 /* PMAlertController.swift */,
453B4F0D1CDE411100BFB901 /* PMAlertController.xib */,
453B4F161CDF456F00BFB901 /* PMAlertAction.swift */,
453B4F1A1CDFCFC900BFB901 /* flag.png */,
45D057B71CE2938100AEB2C7 /* Resources */,
);
path = Library;
sourceTree = "<group>";
};
45D057B71CE2938100AEB2C7 /* Resources */ = {
isa = PBXGroup;
children = (
45D057B81CE2938100AEB2C7 /* flag.png */,
);
path = Resources;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -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;
};
Expand Down

0 comments on commit f02270a

Please sign in to comment.