Skip to content

Commit a577ca4

Browse files
committed
Add DynamicText project
1 parent 3cd76d5 commit a577ca4

File tree

18 files changed

+967
-0
lines changed

18 files changed

+967
-0
lines changed

DynamicText/DynamicText.xcodeproj/project.pbxproj

Lines changed: 476 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4510" systemVersion="12F37" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="448-2b-7dK">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
5+
</dependencies>
6+
<scenes>
7+
<!--Table View Controller - Dynamic Text-->
8+
<scene sceneID="Cl0-w7-yeM">
9+
<objects>
10+
<tableViewController storyboardIdentifier="UYLTableViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="L15-LJ-3tS" customClass="UYLTableViewController" sceneMemberID="viewController">
11+
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="64" sectionHeaderHeight="22" sectionFooterHeight="22" id="AIF-3i-Yus">
12+
<rect key="frame" x="0.0" y="64" width="320" height="504"/>
13+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14+
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
15+
<prototypes>
16+
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="UYLBasicCell" textLabel="Qas-0j-tWU" detailTextLabel="MSp-Y0-eMa" style="IBUITableViewCellStyleSubtitle" id="4VL-Ie-UPD">
17+
<rect key="frame" x="0.0" y="22" width="320" height="64"/>
18+
<autoresizingMask key="autoresizingMask"/>
19+
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="4VL-Ie-UPD" id="dNB-C9-2fi">
20+
<rect key="frame" x="0.0" y="0.0" width="320" height="63"/>
21+
<autoresizingMask key="autoresizingMask"/>
22+
<subviews>
23+
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontSizeToFit="NO" id="Qas-0j-tWU">
24+
<rect key="frame" x="15" y="13" width="32" height="20"/>
25+
<autoresizingMask key="autoresizingMask"/>
26+
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
27+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
28+
<nil key="highlightedColor"/>
29+
</label>
30+
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Subtitle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="MSp-Y0-eMa">
31+
<rect key="frame" x="15" y="33" width="50" height="17"/>
32+
<autoresizingMask key="autoresizingMask"/>
33+
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
34+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
35+
<nil key="highlightedColor"/>
36+
</label>
37+
</subviews>
38+
</tableViewCellContentView>
39+
</tableViewCell>
40+
</prototypes>
41+
<connections>
42+
<outlet property="dataSource" destination="L15-LJ-3tS" id="5bn-jM-H7W"/>
43+
<outlet property="delegate" destination="L15-LJ-3tS" id="xUP-6I-EPd"/>
44+
</connections>
45+
</tableView>
46+
<extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
47+
<navigationItem key="navigationItem" title="Dynamic Text" id="psG-TE-sS1"/>
48+
</tableViewController>
49+
<placeholder placeholderIdentifier="IBFirstResponder" id="boZ-64-Vec" userLabel="First Responder" sceneMemberID="firstResponder"/>
50+
</objects>
51+
<point key="canvasLocation" x="781" y="139"/>
52+
</scene>
53+
<!--Navigation Controller-->
54+
<scene sceneID="8Am-EY-tMp">
55+
<objects>
56+
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="448-2b-7dK" sceneMemberID="viewController">
57+
<toolbarItems/>
58+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="8Yr-zn-LFS">
59+
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
60+
<autoresizingMask key="autoresizingMask"/>
61+
</navigationBar>
62+
<nil name="viewControllers"/>
63+
<connections>
64+
<segue destination="L15-LJ-3tS" kind="relationship" relationship="rootViewController" id="gsg-H0-NTB"/>
65+
</connections>
66+
</navigationController>
67+
<placeholder placeholderIdentifier="IBFirstResponder" id="h8C-bh-gvM" userLabel="First Responder" sceneMemberID="firstResponder"/>
68+
</objects>
69+
<point key="canvasLocation" x="255" y="139"/>
70+
</scene>
71+
</scenes>
72+
<simulatedMetricsContainer key="defaultSimulatedMetrics">
73+
<simulatedStatusBarMetrics key="statusBar"/>
74+
<simulatedOrientationMetrics key="orientation"/>
75+
<simulatedScreenMetrics key="destination" type="retina4"/>
76+
</simulatedMetricsContainer>
77+
</document>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>${PRODUCT_NAME}</string>
9+
<key>CFBundleExecutable</key>
10+
<string>${EXECUTABLE_NAME}</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>com.useyourloaf.${PRODUCT_NAME:rfc1034identifier}</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>${PRODUCT_NAME}</string>
17+
<key>CFBundlePackageType</key>
18+
<string>APPL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0</string>
21+
<key>CFBundleSignature</key>
22+
<string>????</string>
23+
<key>CFBundleVersion</key>
24+
<string>1.0</string>
25+
<key>LSRequiresIPhoneOS</key>
26+
<true/>
27+
<key>UIMainStoryboardFile</key>
28+
<string>Main</string>
29+
<key>UIRequiredDeviceCapabilities</key>
30+
<array>
31+
<string>armv7</string>
32+
</array>
33+
<key>UISupportedInterfaceOrientations</key>
34+
<array>
35+
<string>UIInterfaceOrientationPortrait</string>
36+
<string>UIInterfaceOrientationLandscapeLeft</string>
37+
<string>UIInterfaceOrientationLandscapeRight</string>
38+
</array>
39+
</dict>
40+
</plist>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// Prefix header
3+
//
4+
// The contents of this file are implicitly included at the beginning of every source file.
5+
//
6+
7+
#import <Availability.h>
8+
9+
#ifndef __IPHONE_5_0
10+
#warning "This project uses features only available in iOS SDK 5.0 and later."
11+
#endif
12+
13+
#ifdef __OBJC__
14+
#import <UIKit/UIKit.h>
15+
#import <Foundation/Foundation.h>
16+
#endif
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"size" : "29x29",
5+
"idiom" : "iphone",
6+
"filename" : "[email protected]",
7+
"scale" : "2x"
8+
},
9+
{
10+
"size" : "40x40",
11+
"idiom" : "iphone",
12+
"filename" : "[email protected]",
13+
"scale" : "2x"
14+
},
15+
{
16+
"size" : "60x60",
17+
"idiom" : "iphone",
18+
"filename" : "[email protected]",
19+
"scale" : "2x"
20+
}
21+
],
22+
"info" : {
23+
"version" : 1,
24+
"author" : "xcode"
25+
}
26+
}
2.5 KB
Loading
4.6 KB
Loading
17.9 KB
Loading
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"images" : [
3+
{
4+
"orientation" : "portrait",
5+
"idiom" : "iphone",
6+
"extent" : "full-screen",
7+
"minimum-system-version" : "7.0",
8+
"scale" : "2x"
9+
},
10+
{
11+
"orientation" : "portrait",
12+
"idiom" : "iphone",
13+
"extent" : "full-screen",
14+
"minimum-system-version" : "7.0",
15+
"subtype" : "retina4",
16+
"scale" : "2x"
17+
},
18+
{
19+
"orientation" : "portrait",
20+
"idiom" : "iphone",
21+
"extent" : "full-screen",
22+
"subtype" : "retina4",
23+
"scale" : "2x"
24+
}
25+
],
26+
"info" : {
27+
"version" : 1,
28+
"author" : "xcode"
29+
}
30+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//
2+
// UYLAppDelegate.h
3+
// DynamicText
4+
//
5+
// Created by Keith Harrison http://useyourloaf.com
6+
// Copyright (c) 2013 Keith Harrison. All rights reserved.
7+
//
8+
// Redistribution and use in source and binary forms, with or without
9+
// modification, are permitted provided that the following conditions are met:
10+
//
11+
// Redistributions of source code must retain the above copyright
12+
// notice, this list of conditions and the following disclaimer.
13+
//
14+
// Redistributions in binary form must reproduce the above copyright
15+
// notice, this list of conditions and the following disclaimer in the
16+
// documentation and/or other materials provided with the distribution.
17+
//
18+
// Neither the name of Keith Harrison nor the names of its contributors
19+
// may be used to endorse or promote products derived from this software
20+
// without specific prior written permission.
21+
//
22+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ''AS IS'' AND ANY
23+
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24+
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
26+
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27+
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28+
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29+
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31+
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32+
33+
34+
#import <UIKit/UIKit.h>
35+
36+
@interface UYLAppDelegate : UIResponder <UIApplicationDelegate>
37+
38+
@property (strong, nonatomic) UIWindow *window;
39+
40+
@end

0 commit comments

Comments
 (0)