www.pudn.com > Dazzle_Mac.zip > iPhone.storyboard, change:2012-02-21,size:17014b


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="1.0" toolsVersion="1938" systemVersion="11D50b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="4">
    <dependencies>
        <development defaultVersion="4200" identifier="xcode"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="933"/>
    </dependencies>
    <scenes>
        <scene sceneID="11">
            <objects>
                <placeholder placeholderIdentifier="IBFirstResponder" id="10" sceneMemberID="firstResponder"/>
                <viewController title="First" id="2" customClass="DazViewController" sceneMemberID="viewController">
                    <view key="view" contentMode="scaleToFill" id="raF-MG-WtN">
                        <rect key="frame" x="0.0" y="20" width="320" height="411"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <subviews>
                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" showsTouchWhenHighlighted="YES" lineBreakMode="middleTruncation" id="tBm-RZ-8FS">
                                <rect key="frame" x="82" y="354" width="156" height="37"/>
                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
                                <color key="tintColor" red="0.79899138209999998" green="0.39769583939999997" blue="0.79536771770000003" alpha="1" colorSpace="calibratedRGB"/>
                                <state key="normal" title="I Like Hearts">
                                    <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
                                    <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
                                </state>
                                <state key="highlighted">
                                    <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                </state>
                                <connections>
                                    <action selector="likeButtonPressed:" destination="2" eventType="touchUpInside" id="TYE-tk-2cI"/>
                                </connections>
                            </button>
                        </subviews>
                        <color key="backgroundColor" red="0.20000000298023224" green="0.20000000298023224" blue="0.20000000298023224" alpha="1" colorSpace="calibratedRGB"/>
                    </view>
                    <tabBarItem key="tabBarItem" title="Hearts" image="DazHeartIcon" id="7"/>
                    <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/>
                    <connections>
                        <outlet property="likeButton" destination="tBm-RZ-8FS" id="cIZ-69-InB"/>
                    </connections>
                </viewController>
            </objects>
            <point key="canvasLocation" x="644" y="430"/>
        </scene>
        <scene sceneID="4D6-Jl-ibY">
            <objects>
                <placeholder placeholderIdentifier="IBFirstResponder" id="BG1-bm-UMU" userLabel="First Responder" sceneMemberID="firstResponder"/>
                <viewController id="DhX-S5-ixy" customClass="DazFireController" sceneMemberID="viewController">
                    <view key="view" contentMode="scaleToFill" id="9O3-QX-UdP">
                        <rect key="frame" x="0.0" y="20" width="320" height="411"/>
                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                        <subviews>
                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Touch to control the height" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" id="Mjd-qB-SvH">
                                <rect key="frame" x="57" y="20" width="206" height="21"/>
                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                <color key="textColor" red="0.49803921580314636" green="0.49803921580314636" blue="0.49803921580314636" alpha="1" colorSpace="calibratedRGB"/>
                                <nil key="highlightedColor"/>
                                <color key="shadowColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                <size key="shadowOffset" width="0.0" height="0.0"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" red="0.20000000298023224" green="0.20000000298023224" blue="0.20000000298023224" alpha="1" colorSpace="calibratedRGB"/>
                        <gestureRecognizers/>
                    </view>
                    <tabBarItem key="tabBarItem" title="Fire" image="DazFlameIcon" id="UIo-aQ-YkY"/>
                    <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/>
                </viewController>
            </objects>
            <point key="canvasLocation" x="1006" y="430"/>
        </scene>
        <scene sceneID="13">
            <objects>
                <placeholder placeholderIdentifier="IBFirstResponder" id="12" sceneMemberID="firstResponder"/>
                <viewController title="Second" id="3" customClass="DazInfoController" sceneMemberID="viewController">
                    <view key="view" contentMode="scaleToFill" id="17">
                        <rect key="frame" x="0.0" y="20" width="320" height="411"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <subviews>
                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Dazzle" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" id="22">
                                <rect key="frame" x="54" y="32" width="212" height="43"/>
                                <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
                                <color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="calibratedWhite"/>
                                <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="36"/>
                                <color key="textColor" red="0.33097070455551147" green="0.36995616555213928" blue="0.4901740550994873" alpha="1" colorSpace="calibratedRGB"/>
                                <nil key="highlightedColor"/>
                                <color key="shadowColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                <size key="shadowOffset" width="0.0" height="1"/>
                            </label>
                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Created by Leonhard Lichtschlag for the iOS Programmming class of WS 2011/12." lineBreakMode="tailTruncation" numberOfLines="3" minimumFontSize="10" id="gyi-jI-jgu">
                                <rect key="frame" x="20" y="109" width="280" height="70"/>
                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                <fontDescription key="fontDescription" type="system" pointSize="15"/>
                                <color key="textColor" red="0.23883308470249176" green="0.30038738250732422" blue="0.49090388417243958" alpha="1" colorSpace="calibratedRGB"/>
                                <nil key="highlightedColor"/>
                                <color key="shadowColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                <size key="shadowOffset" width="0.0" height="1"/>
                            </label>
                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" lineBreakMode="wordWrap" numberOfLines="13" minimumFontSize="10" id="IUK-62-anR">
                                <rect key="frame" x="20" y="215" width="280" height="176"/>
                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                <string key="text">In iOS 5, CoreAnimation added support for particle effects through the CAEmitterLayer and CAEmitterCell classes. These tabs show some tricks with them.

I adapted the fire source code from the corresponding example for Mac OS provided by Apple.</string>
                                <fontDescription key="fontDescription" type="system" pointSize="15"/>
                                <color key="textColor" red="0.23883308470249176" green="0.30038738250732422" blue="0.49090388417243958" alpha="1" colorSpace="calibratedRGB"/>
                                <nil key="highlightedColor"/>
                                <color key="shadowColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                <size key="shadowOffset" width="0.0" height="1"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
                    </view>
                    <tabBarItem key="tabBarItem" title="Info" image="DazFlakeIcon" id="6"/>
                    <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/>
                    <nil key="simulatedTopBarMetrics"/>
                </viewController>
            </objects>
            <point key="canvasLocation" x="644" y="-149"/>
        </scene>
        <scene sceneID="gsc-B0-dNf">
            <objects>
                <placeholder placeholderIdentifier="IBFirstResponder" id="NLf-NZ-yvW" userLabel="First Responder" sceneMemberID="firstResponder"/>
                <viewController id="an2-2D-Dcy" customClass="DazTouchController" sceneMemberID="viewController">
                    <view key="view" contentMode="scaleToFill" id="gyr-3m-DyK">
                        <rect key="frame" x="0.0" y="20" width="320" height="411"/>
                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                        <subviews>
                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Tap, tap, tap..." textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" id="Dcn-8A-zvX">
                                <rect key="frame" x="57" y="20" width="206" height="21"/>
                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                <color key="textColor" red="0.49803921579999999" green="0.49803921579999999" blue="0.49803921579999999" alpha="1" colorSpace="calibratedRGB"/>
                                <nil key="highlightedColor"/>
                                <color key="shadowColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                <size key="shadowOffset" width="0.0" height="0.0"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" red="0.20000000298023224" green="0.20000000298023224" blue="0.20000000298023224" alpha="1" colorSpace="calibratedRGB"/>
                    </view>
                    <tabBarItem key="tabBarItem" title="Touch" image="first" id="baS-VP-5MK"/>
                    <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/>
                </viewController>
            </objects>
            <point key="canvasLocation" x="1006" y="-149"/>
        </scene>
        <scene sceneID="VvL-JH-6oe">
            <objects>
                <placeholder placeholderIdentifier="IBFirstResponder" id="e7S-il-F5h" userLabel="First Responder" sceneMemberID="firstResponder"/>
                <viewController id="YWZ-GQ-Hbv" customClass="DazFireworksController" sceneMemberID="viewController">
                    <view key="view" contentMode="scaleToFill" id="v5m-Bc-LW4">
                        <rect key="frame" x="0.0" y="20" width="320" height="411"/>
                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                        <color key="backgroundColor" red="0.20000000298023224" green="0.20000000298023224" blue="0.20000000298023224" alpha="1" colorSpace="calibratedRGB"/>
                    </view>
                    <tabBarItem key="tabBarItem" title="Fireworks" image="DazStarIcon" id="JsW-ax-Cou"/>
                </viewController>
            </objects>
            <point key="canvasLocation" x="1363" y="-149"/>
        </scene>
        <scene sceneID="15">
            <objects>
                <placeholder placeholderIdentifier="IBFirstResponder" id="14" sceneMemberID="firstResponder"/>
                <tabBarController id="4" sceneMemberID="viewController">
                    <simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="blackOpaque"/>
                    <nil key="simulatedBottomBarMetrics"/>
                    <tabBar key="tabBar" contentMode="scaleToFill" id="5">
                        <rect key="frame" x="0.0" y="431" width="320" height="49"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
                        <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
                    </tabBar>
                    <connections>
                        <segue destination="3" kind="relationship" relationship="viewControllers" id="27"/>
                        <segue destination="2" kind="relationship" relationship="viewControllers" id="26"/>
                        <segue destination="DhX-S5-ixy" kind="relationship" relationship="viewControllers" id="wom-Ik-cB8"/>
                        <segue destination="an2-2D-Dcy" kind="relationship" relationship="viewControllers" id="ykA-in-cVb"/>
                        <segue destination="YWZ-GQ-Hbv" kind="relationship" relationship="viewControllers" id="weK-m7-Wbi"/>
                    </connections>
                </tabBarController>
            </objects>
            <point key="canvasLocation" x="116" y="132"/>
        </scene>
    </scenes>
    <resources>
        <image name="DazFlakeIcon" width="16" height="16"/>
        <image name="DazFlameIcon" width="16" height="16"/>
        <image name="DazHeartIcon" width="16" height="16"/>
        <image name="DazStarIcon" width="16" height="16"/>
        <image name="first" width="16" height="16"/>
    </resources>
    <classes>
        <class className="DazFireController" superclassName="UIViewController">
            <source key="sourceIdentifier" type="project" relativePath="./Classes/DazFireController.h"/>
        </class>
        <class className="DazFireworksController" superclassName="UIViewController">
            <source key="sourceIdentifier" type="project" relativePath="./Classes/DazFireworksController.h"/>
        </class>
        <class className="DazInfoController" superclassName="UIViewController">
            <source key="sourceIdentifier" type="project" relativePath="./Classes/DazInfoController.h"/>
        </class>
        <class className="DazTouchController" superclassName="UIViewController">
            <source key="sourceIdentifier" type="project" relativePath="./Classes/DazTouchController.h"/>
        </class>
        <class className="DazViewController" superclassName="UIViewController">
            <source key="sourceIdentifier" type="project" relativePath="./Classes/DazViewController.h"/>
            <relationships>
                <relationship kind="action" name="likeButtonPressed:"/>
                <relationship kind="outlet" name="likeButton" candidateClass="UIButton"/>
            </relationships>
        </class>
    </classes>
    <simulatedMetricsContainer key="defaultSimulatedMetrics">
        <simulatedStatusBarMetrics key="statusBar"/>
        <simulatedOrientationMetrics key="orientation"/>
        <simulatedScreenMetrics key="destination"/>
    </simulatedMetricsContainer>
</document>