Skip to content

Commit

Permalink
prepare examples for iOS5
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoji2 committed May 31, 2013
1 parent 45cb2b3 commit ff42f0c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SIAlertViewExample/SIAlertViewExample-Prefix.pch";
INFOPLIST_FILE = "SIAlertViewExample/SIAlertViewExample-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand All @@ -353,7 +353,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SIAlertViewExample/SIAlertViewExample-Prefix.pch";
INFOPLIST_FILE = "SIAlertViewExample/SIAlertViewExample-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="12D78" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="12D78" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" initialViewController="2">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="2083"/>
</dependencies>
Expand All @@ -12,10 +12,9 @@
<rect key="frame" x="0.0" y="20" width="768" height="1004"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1Wq-T8-JXM">
<constraints>
<constraint firstAttribute="width" constant="73" id="EFL-g6-BIZ"/>
</constraints>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="1Wq-T8-JXM">
<rect key="frame" x="348" y="85" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Alert1">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -28,7 +27,9 @@
<action selector="alert1:" destination="2" eventType="touchUpInside" id="LC3-sB-IJf"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="A2r-37-Tpd">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="A2r-37-Tpd">
<rect key="frame" x="348" y="136" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Alert2">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -41,7 +42,9 @@
<action selector="alert2:" destination="2" eventType="touchUpInside" id="Jz9-db-wNg"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CzZ-EZ-2gj">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="CzZ-EZ-2gj">
<rect key="frame" x="348" y="187" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Alert3">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -54,7 +57,9 @@
<action selector="alert3:" destination="2" eventType="touchUpInside" id="myx-Mf-aSw"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b8f-lj-NAQ">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="b8f-lj-NAQ">
<rect key="frame" x="348" y="238" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="1+2+3">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -69,29 +74,14 @@
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="b8f-lj-NAQ" firstAttribute="trailing" secondItem="CzZ-EZ-2gj" secondAttribute="trailing" type="default" id="1aT-4y-1Lk"/>
<constraint firstItem="b8f-lj-NAQ" firstAttribute="top" secondItem="CzZ-EZ-2gj" secondAttribute="bottom" constant="8" symbolic="YES" type="default" id="8A1-XS-wGk"/>
<constraint firstItem="A2r-37-Tpd" firstAttribute="leading" secondItem="CzZ-EZ-2gj" secondAttribute="leading" type="default" id="AIJ-3t-bfs"/>
<constraint firstItem="CzZ-EZ-2gj" firstAttribute="top" secondItem="A2r-37-Tpd" secondAttribute="bottom" constant="8" symbolic="YES" type="default" id="CZ3-fd-PsU"/>
<constraint firstItem="A2r-37-Tpd" firstAttribute="top" secondItem="1Wq-T8-JXM" secondAttribute="bottom" constant="8" symbolic="YES" type="default" id="Ddr-XZ-ZMk"/>
<constraint firstItem="CzZ-EZ-2gj" firstAttribute="leading" secondItem="b8f-lj-NAQ" secondAttribute="leading" type="default" id="Kn5-IC-7rJ"/>
<constraint firstItem="1Wq-T8-JXM" firstAttribute="top" secondItem="5" secondAttribute="top" constant="85" id="Sky-cU-pRH"/>
<constraint firstItem="A2r-37-Tpd" firstAttribute="centerX" secondItem="5" secondAttribute="centerX" type="default" id="aSv-eJ-VW9"/>
<constraint firstItem="CzZ-EZ-2gj" firstAttribute="trailing" secondItem="A2r-37-Tpd" secondAttribute="trailing" type="default" id="nmN-9Z-Mjb"/>
<constraint firstItem="1Wq-T8-JXM" firstAttribute="trailing" secondItem="A2r-37-Tpd" secondAttribute="trailing" type="default" id="rtA-GO-FOy"/>
<constraint firstItem="1Wq-T8-JXM" firstAttribute="leading" secondItem="A2r-37-Tpd" secondAttribute="leading" type="default" id="shN-qg-dC5"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="3" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="15" y="66"/>
</scene>
</scenes>
<classes>
<class className="NSLayoutConstraint" superclassName="NSObject">
<source key="sourceIdentifier" type="project" relativePath="./Classes/NSLayoutConstraint.h"/>
</class>
<class className="ViewController" superclassName="UIViewController">
<source key="sourceIdentifier" type="project" relativePath="./Classes/ViewController.h"/>
<relationships>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="12D78" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="12D78" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="2">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="2083"/>
</dependencies>
Expand All @@ -12,10 +12,9 @@
<rect key="frame" x="0.0" y="20" width="320" height="548"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pOO-xA-Q3d">
<constraints>
<constraint firstAttribute="width" constant="73" id="JxU-WL-jbm"/>
</constraints>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="pOO-xA-Q3d">
<rect key="frame" x="124" y="34" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Alert1">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -28,7 +27,9 @@
<action selector="alert1:" destination="2" eventType="touchUpInside" id="eI7-ge-PtA"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dRt-8t-N8e">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="dRt-8t-N8e">
<rect key="frame" x="124" y="85" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Alert2">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -41,7 +42,9 @@
<action selector="alert2:" destination="2" eventType="touchUpInside" id="Hs7-Mg-iYe"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sMS-O7-o5V">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="sMS-O7-o5V">
<rect key="frame" x="124" y="136" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="Alert3">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -54,7 +57,9 @@
<action selector="alert3:" destination="2" eventType="touchUpInside" id="oTa-SE-c9l"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="twJ-0X-iwj">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="twJ-0X-iwj">
<rect key="frame" x="124" y="187" width="73" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" title="1+2+3">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
Expand All @@ -69,19 +74,6 @@
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="sMS-O7-o5V" firstAttribute="top" secondItem="dRt-8t-N8e" secondAttribute="bottom" constant="8" symbolic="YES" type="default" id="0Xl-2X-zp1"/>
<constraint firstItem="twJ-0X-iwj" firstAttribute="leading" secondItem="sMS-O7-o5V" secondAttribute="leading" type="default" id="3bR-fa-0qq"/>
<constraint firstItem="twJ-0X-iwj" firstAttribute="top" secondItem="sMS-O7-o5V" secondAttribute="bottom" constant="8" symbolic="YES" type="default" id="Frc-xk-rb6"/>
<constraint firstItem="pOO-xA-Q3d" firstAttribute="centerX" secondItem="3" secondAttribute="centerX" type="default" id="cO0-fo-Zix"/>
<constraint firstItem="pOO-xA-Q3d" firstAttribute="trailing" secondItem="dRt-8t-N8e" secondAttribute="trailing" type="default" id="dEF-F9-Oc0"/>
<constraint firstItem="sMS-O7-o5V" firstAttribute="leading" secondItem="dRt-8t-N8e" secondAttribute="leading" type="default" id="dhC-wf-Pvj"/>
<constraint firstItem="sMS-O7-o5V" firstAttribute="trailing" secondItem="dRt-8t-N8e" secondAttribute="trailing" type="default" id="ltx-nG-S14"/>
<constraint firstItem="dRt-8t-N8e" firstAttribute="top" secondItem="pOO-xA-Q3d" secondAttribute="bottom" constant="8" symbolic="YES" type="default" id="mFi-Hq-dK2"/>
<constraint firstItem="pOO-xA-Q3d" firstAttribute="top" secondItem="3" secondAttribute="top" constant="34" id="nZk-yU-DmC"/>
<constraint firstItem="dRt-8t-N8e" firstAttribute="leading" secondItem="pOO-xA-Q3d" secondAttribute="leading" type="default" id="o2P-u4-HSM"/>
<constraint firstItem="twJ-0X-iwj" firstAttribute="trailing" secondItem="sMS-O7-o5V" secondAttribute="trailing" type="default" id="opL-m5-bgq"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="4" sceneMemberID="firstResponder"/>
Expand Down

0 comments on commit ff42f0c

Please sign in to comment.