Commit e6c2a56f authored by Deployer's avatar Deployer

Added attribution and changed Podspec name

parent 1eb1e80a
#
# Be sure to run `pod lib lint CedarMap.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "CedarMaps"
s.version = "0.1.0"
s.summary = "Cedar Studio iOS SDK"
s.description = "Cedar Studio should write something to introduce their Pod."
s.homepage = "http://cedar.ir"
s.license = 'MIT'
s.author = { "Emad A." => "emad310@gmail.com" }
s.source = { :git => "http://gitlab.cedar.ir/cedar.studios/cedarmaps-sdk-ios.git", :tag => s.version.to_s }
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'Pod/Classes'
s.resource_bundles = {
'CedarMap' => ['Pod/Assets/*.png']
}
s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit'
s.dependency 'Mapbox-iOS-SDK', '~> 1.5.0'
end
......@@ -44,6 +44,16 @@
<outlet property="delegate" destination="hj0-IR-2tU" id="tug-86-dpa"/>
</connections>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="bV6-3P-wiJ">
<rect key="frame" x="0.0" y="490" width="170" height="25"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<state key="normal" image="attribution">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="attributionDidTouchUpInside:" destination="hj0-IR-2tU" eventType="touchUpInside" id="R1V-1t-l6a"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
......@@ -70,6 +80,18 @@
<view contentMode="scaleToFill" id="jSh-jc-HHQ" customClass="RMMapView">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="G88-Us-ELx">
<rect key="frame" x="0.0" y="490" width="170" height="25"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<state key="normal" image="attribution">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="attributionDidTouchUpInside:" destination="zHL-Jq-Uo2" eventType="touchUpInside" id="UJy-H4-e8g"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<connections>
<outlet property="delegate" destination="zHL-Jq-Uo2" id="bk3-ul-kd4"/>
......@@ -107,6 +129,9 @@
<point key="canvasLocation" x="-315" y="335"/>
</scene>
</scenes>
<resources>
<image name="attribution" width="158" height="22"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
......
......@@ -53,7 +53,12 @@
self.mapView.centerCoordinate = CLLocationCoordinate2DMake(35.770889877650724, 51.439468860626214);
}
#pragma mark -
#pragma mark
- (IBAction)attributionDidTouchUpInside:(id)sender
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://cedarmaps.com"]];
}
#pragma mark - RMMapViewDelegate Methods
......
......@@ -56,6 +56,13 @@
}
}
#pragma mark
- (IBAction)attributionDidTouchUpInside:(id)sender
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://cedarmaps.com"]];
}
#pragma mark - UITextFieldDelegate Methods
- (BOOL)textFieldShouldReturn:(UITextField *)textField
......
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "cedarmaps-attribution.png"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "cedarmaps-attribution@2x.png"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
source 'https://github.com/CocoaPods/Specs.git'
target 'CedarMap', :exclusive => true do
pod "CedarMap", :path => "../"
pod 'CedarMap', '~> 0.1.0'
end
target 'Tests', :exclusive => true do
pod "CedarMap", :path => "../"
pod 'CedarMap', '~> 0.1.0'
end
PODS:
- CedarMap (0.0.11):
- CedarMap (0.1.0):
- Mapbox-iOS-SDK (~> 1.5.0)
- FMDB (2.3):
- FMDB/standard (= 2.3)
......@@ -16,14 +16,10 @@ PODS:
- SMCalloutView (2.0)
DEPENDENCIES:
- CedarMap (from `../`)
EXTERNAL SOURCES:
CedarMap:
:path: ../
- CedarMap (~> 0.1.0)
SPEC CHECKSUMS:
CedarMap: f3a1285da2187a31dba1463207fea9386663680b
CedarMap: 8dea158a2ffe386e97940f94e89ef1b434bdafc5
FMDB: 31ec26773c7f7b7890a6038235a1f2bbd933a7cb
GRMustache: ab96109b7ba4b9568425bea40d6cd2cdc7582b6c
JRSwizzle: 30da7a2c539a4ebf954b16d15f6dd8221c9f6fa5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment