From c0c8e17e482a5a7d2e7ed0a707e77ec50a33de2d Mon Sep 17 00:00:00 2001 From: Jinhuan Li Date: Wed, 17 Feb 2016 22:53:27 -0600 Subject: [PATCH 1/2] commit --- .../UserInterfaceState.xcuserstate | Bin 0 -> 12046 bytes .../xcschemes/StopWatch.xcscheme | 111 ++++++++++++++++++ .../xcschemes/xcschememanagement.plist | 32 +++++ .../StopWatch/Base.lproj/Main.storyboard | 2 +- 4 files changed, 144 insertions(+), 1 deletion(-) create mode 100644 Project 01 - SimpleStopWatch/StopWatch.xcodeproj/project.xcworkspace/xcuserdata/jinhuanli.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 Project 01 - SimpleStopWatch/StopWatch.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/StopWatch.xcscheme create mode 100644 Project 01 - SimpleStopWatch/StopWatch.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/Project 01 - SimpleStopWatch/StopWatch.xcodeproj/project.xcworkspace/xcuserdata/jinhuanli.xcuserdatad/UserInterfaceState.xcuserstate b/Project 01 - SimpleStopWatch/StopWatch.xcodeproj/project.xcworkspace/xcuserdata/jinhuanli.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..c1818335d5c4ce6d5cdf1ae925aab06ee4e56c16 GIT binary patch literal 12046 zcmd5?cYKpo_rIeft4&DT%qC4U%Iq#}SqdFs1)^yU-jo7tKTWq50@Rv;aMX9z&0#Cr~?Dj#i+RXcbzGo4cksJ-C*F%s;#2qwd>Vg=&)~1{S^PCVhrhw+@sIc-zJ&iIh+skpB~l_Ii6n`r zNE+!%x{>ar2kA+AksOjs`jEb)h!m3&ax*C>Bghysf!Ij{nM&NmPi`l($vkp5SwJ2l z3(1pYFEEI@w0HlbvK2IZTd_qvRO*kbFbVlW)m)yR)3_Gjc=+GpnN?PY%kJ~Fp*R%J2%~LCfx56L z_7JP8Q6!d?l#cayr}>)f4z9%GX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z>;+f%mHw&!hYZ0l@q z*xs~lv%O_|&vw{$)b_sZbKBRpUu>6bmu-KfC8nv + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project 01 - SimpleStopWatch/StopWatch.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist b/Project 01 - SimpleStopWatch/StopWatch.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f56998a --- /dev/null +++ b/Project 01 - SimpleStopWatch/StopWatch.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + StopWatch.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 9FEF1CF51C3A23BC00B2C64E + + primary + + + 9FEF1D0C1C3A23BC00B2C64E + + primary + + + 9FEF1D171C3A23BC00B2C64E + + primary + + + + + diff --git a/Project 01 - SimpleStopWatch/StopWatch/Base.lproj/Main.storyboard b/Project 01 - SimpleStopWatch/StopWatch/Base.lproj/Main.storyboard index 794b616..d555dfa 100644 --- a/Project 01 - SimpleStopWatch/StopWatch/Base.lproj/Main.storyboard +++ b/Project 01 - SimpleStopWatch/StopWatch/Base.lproj/Main.storyboard @@ -1,5 +1,5 @@ - + From cf6ab09a9657d4194726027c25069fe3906825c4 Mon Sep 17 00:00:00 2001 From: Jinhuan Li Date: Thu, 18 Feb 2016 17:46:08 -0600 Subject: [PATCH 2/2] add current font and counter --- .../UserInterfaceState.xcuserstate | Bin 0 -> 14937 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 55 +++++++++ .../xcschemes/CustomFont.xcscheme | 111 ++++++++++++++++++ .../xcschemes/xcschememanagement.plist | 32 +++++ .../CustomFont/Base.lproj/Main.storyboard | 14 ++- .../CustomFont/ViewController.swift | 8 +- 6 files changed, 216 insertions(+), 4 deletions(-) create mode 100644 Project 02 - CustomFont/CustomFont.xcodeproj/project.xcworkspace/xcuserdata/jinhuanli.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 100644 Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/CustomFont.xcscheme create mode 100644 Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/Project 02 - CustomFont/CustomFont.xcodeproj/project.xcworkspace/xcuserdata/jinhuanli.xcuserdatad/UserInterfaceState.xcuserstate b/Project 02 - CustomFont/CustomFont.xcodeproj/project.xcworkspace/xcuserdata/jinhuanli.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..d299f2f6bf9a5749a424e25e7460313b6ddb4456 GIT binary patch literal 14937 zcmd5?cU)6f`#pkvCNfuXqvke|sCV8B#N`x10 zd`y8oNQ?qe7z#%bCt!7x35kBK`(n!k6*4 z_&fYPK?D;*7{U?}2_Rw;N~9#5s7VxwB?&}F3?!AL6B99$Tv9*=ksHV`Qc7+lV@Wxw zA=5}JxrxjtHmjU>JsFL`)DPV4vM;eOv#+qP zvhT15*>~AP?1$`0_9OOF_B8tgdxiax{fYgV{e}HQghfQeh{RP%jyAjf2ns?H6pTWU z3@Im!sW8p7cDQTcZ?~0HC)L|6Zg&?7MN&#A(}mH>gX{|iGtYp{(r)#FW)lzRQan`rBSREeU%8@7z zC2vD2q()IlgQ8IkilrhNK*cnW22lwO-iG3l7A3$IqEHgj(-0a;Ww04BjiyyJbsA6I z=4f!vE_GR2thMq4cre!0V0Bp={Hs=4>WZBXkIQMdgCD4s5AMCCK7+M+`FX{8g&8^N z1*MtA={cnZ+35xO1$pV&!%8x93kpk1G7Ix-<^6gS5SH&*pvqyJ)n+YgfMePkZB|#U zJRYVO)_cI+Tz^Zo@+h95_Z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Y-ITU4ZE@P|Y0J`B{U`pERL=~L6^=0J10d4icUFEy_+uQzWtZ!_;SKWpA?e#?Boe9ZiT`9t$Z<}b}( fn=hHaGhZ?Plp)EGWkhu2d?Nf6Df+;Cl%e`Ro_4hf literal 0 HcmV?d00001 diff --git a/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..79216f4 --- /dev/null +++ b/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + diff --git a/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/CustomFont.xcscheme b/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/CustomFont.xcscheme new file mode 100644 index 0000000..05fcc12 --- /dev/null +++ b/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/CustomFont.xcscheme @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist b/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..e864785 --- /dev/null +++ b/Project 02 - CustomFont/CustomFont.xcodeproj/xcuserdata/jinhuanli.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + CustomFont.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 9F5C11F71C3E58C50047AC8A + + primary + + + 9F5C120E1C3E58C60047AC8A + + primary + + + 9F5C12191C3E58C60047AC8A + + primary + + + + + diff --git a/Project 02 - CustomFont/CustomFont/Base.lproj/Main.storyboard b/Project 02 - CustomFont/CustomFont/Base.lproj/Main.storyboard index 507b01d..d09989b 100644 --- a/Project 02 - CustomFont/CustomFont/Base.lproj/Main.storyboard +++ b/Project 02 - CustomFont/CustomFont/Base.lproj/Main.storyboard @@ -1,8 +1,9 @@ - + + @@ -66,14 +67,24 @@ + + + + + @@ -87,6 +98,7 @@ + diff --git a/Project 02 - CustomFont/CustomFont/ViewController.swift b/Project 02 - CustomFont/CustomFont/ViewController.swift index b92021f..8324359 100644 --- a/Project 02 - CustomFont/CustomFont/ViewController.swift +++ b/Project 02 - CustomFont/CustomFont/ViewController.swift @@ -18,9 +18,11 @@ class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSour @IBOutlet weak var changeFontButton: UIButton! @IBOutlet weak var fontTableView: UITableView! + @IBOutlet weak var currentFontLabel: UILabel! @IBAction func changeFontDidTouch(sender: AnyObject) { - fontRowIndex = (fontRowIndex + 1) % 3 + fontRowIndex = (fontRowIndex + 1) % fontNames.count + currentFontLabel.text = "Current Font: \(fontNames[fontRowIndex]); (\(fontRowIndex)/\(fontNames.count))" fontTableView.reloadData() } @@ -38,11 +40,11 @@ class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSour for family in UIFont.familyNames() { for font in UIFont.fontNamesForFamilyName(family){ print(font) + fontNames.append(font) } } - changeFontButton.layer.cornerRadius = 55 - + currentFontLabel.text = "Current Font: \(fontNames[0]); (0/\(fontNames.count))" } func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {