Skip to content

Commit

Permalink
Added PodSpec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
asifbilal786 committed Jun 9, 2016
1 parent 3cc07df commit 3f7fa81
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions SimplePhotoPicker.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Pod::Spec.new do |s|

# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = 'SimplePhotoPicker'
s.version = '0.1.0'
s.summary = 'This is the simple photo picker which uses default iPhone SDK with UIImagePickerController.'
s.description = <<-DESC
SimplePhotoPicker is a control that optionally takes inputs of Source Type & allow Editing. On the basis of these inputs, this control displays the action sheet if needed and displays the iOS default image editor if selected. It has simple block based implementation. No need to implement delegate methods.
DESC

s.homepage = 'https://github.com/asifbilal786/SimplePhotoPicker'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'


# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = { :type => 'MIT', :file => 'LICENSE' }



# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.author = { 'Asif Bilal' => 'asifbilal786@gmail.com' }


# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.platform = :ios, "8.0"


# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => 'https://github.com/<GITHUB_USERNAME>/SimplePhotoPicker.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/asifbilal786'

s.ios.deployment_target = '8.0'

s.source_files = 'SimplePhotoPicker/*.swift’

end
2 changes: 1 addition & 1 deletion SimplePhotoPicker/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Allow Editing" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d6A-0z-5gQ">
<rect key="frame" x="10" y="15" width="99" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="FQB-mB-5N3">
Expand Down

0 comments on commit 3f7fa81

Please sign in to comment.