Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
30 changes: 30 additions & 0 deletions StandardPaths.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Pod::Spec.new do |s|
s.name = "StandardPaths"
s.version = "1.6.4"
s.summary = "Category on NSFileManager for simple consistent access to standard application directories."
s.description = <<-DESC
StandardPaths is a category on `NSFileManager` for simplifying access to standard application directories on iOS and Mac OS and abstracting the iCloud backup flags on iOS.
It also provides support for working with device-specific file suffixes, such as the `@2x` suffix for Retina displays, or the `-568h` suffix for iPhone 5 and can optionally swizzle certain UIKit methods to support these suffixes more consistently.
DESC
s.homepage = "https://github.com/nicklockwood/StandardPaths"
s.license = "Zlib License"
s.author = { "Nick Lockwood" => "http://charcoaldesign.co.uk/" }
s.social_media_url = "http://twitter.com/nicklockwood"
s.ios.deployment_target = "4.3"
s.osx.deployment_target = "10.6"
s.source = { :git => "https://github.com/nicklockwood/StandardPaths.git", :tag => s.version.to_s }
s.source_files = "StandardPaths/"
s.requires_arc = true
s.default_subspecs = ['Swizzle']

s.subspec 'Swizzle' do |ss|
ss.source_files = ''
ss.prefix_header_contents = '#define SP_SWIZZLE_ENABLED 1'
end

s.subspec 'NoSwizzle' do |ss|
ss.source_files = 'StandardPaths/'
ss.prefix_header_contents = '#define SP_SWIZZLE_ENABLED 0'
end

end
24 changes: 0 additions & 24 deletions StandardPaths.podspec.json

This file was deleted.