From 3151cf27778fcf1e1c98c040817ff88e08143c39 Mon Sep 17 00:00:00 2001 From: Gabriel Breshears Date: Tue, 21 Mar 2017 10:00:52 -0400 Subject: [PATCH 1/5] Night mode in the Nav bar --- .../StoryTell/V2ReaderViewController.swift | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/StoryTell/StoryTell/V2ReaderViewController.swift b/StoryTell/StoryTell/V2ReaderViewController.swift index 8ab72d7..f2266f7 100644 --- a/StoryTell/StoryTell/V2ReaderViewController.swift +++ b/StoryTell/StoryTell/V2ReaderViewController.swift @@ -63,7 +63,7 @@ class V2ReaderViewController: UIViewController { } - + func editButtonAction(){ print("I am a motherfucking barbutton!") @@ -174,6 +174,11 @@ class V2ReaderViewController: UIViewController { self.readerTextView.backgroundColor = UIColor.black self.optionsTableView.backgroundColor = UIColor.black self.view.backgroundColor = UIColor.black + navigationController?.navigationBar.tintColor = UIColor.white + navigationController?.navigationBar.barTintColor = UIColor.black + self.navigationController?.navigationBar.titleTextAttributes = + [NSForegroundColorAttributeName: UIColor.white, + NSFontAttributeName: UIFont(name: "Cochin-BoldItalic", size: 21)!] optionsTableView.reloadData() @@ -183,7 +188,13 @@ class V2ReaderViewController: UIViewController { self.readerTextView.textColor = Colors.navy self.readerTextView.backgroundColor = Colors.cream self.optionsTableView.backgroundColor = Colors.cranberry + navigationController?.navigationBar.barTintColor = Colors.cream + navigationController?.navigationBar.tintColor = Colors.cranberry + self.navigationController?.navigationBar.titleTextAttributes = + [NSForegroundColorAttributeName: Colors.navy, + NSFontAttributeName: UIFont(name: "Cochin-BoldItalic", size: 21)!] optionsTableView.reloadData() + } @@ -194,6 +205,11 @@ class V2ReaderViewController: UIViewController { self.readerTextView.textColor = UIColor.black self.readerTextView.backgroundColor = Colors.cream self.optionsTableView.backgroundColor = Colors.cranberry + navigationController?.navigationBar.barTintColor = Colors.cream + navigationController?.navigationBar.tintColor = Colors.cranberry + self.navigationController?.navigationBar.titleTextAttributes = + [NSForegroundColorAttributeName: Colors.navy, + NSFontAttributeName: UIFont(name: "Cochin-BoldItalic", size: 21)!] optionsTableView.reloadData() } From ea47b7db3494b5e51e077ab5164a82010b84f1cc Mon Sep 17 00:00:00 2001 From: "Margaret E. Ikeda" Date: Fri, 24 Mar 2017 15:56:06 -0400 Subject: [PATCH 2/5] Update README.md --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80542e7..c342109 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ -# AC3.2-StoryTell \ No newline at end of file +# AC3.2-StoryTell +## Welcome To +# Story Tell + ++Story Tell is an app for people who want to read and write their own choose-your-own-adventure stories. + +## Getting Started +![](https://github.com/Mgtei/AC3.2-StoryTell-1/blob/master/StoryTell/StoryTell/Assets.xcassets/logo.imageset/S%20Logo%20Rounded%20Sq.png) + +Upon launching Story Tell you are brought to your Bookshelf, which contains some instructions as well as all the titles that have been written on your device. Pick a title to write by pressing on it. + +Story Tell features a Reader that has a "Peek Ahead" function when you long press on a story option at the bottom of the page. You can also turn on "Night Mode" to ease eye strain during nighttime reading if you press the gear on the upper-right hand page of the Reader, then press the switch labeled "Night Mode" that appears. + +To edit text, tap on it twice. When finished editing, press the button that appears in the upper right hand button that looks like an editing pencil. + +Story Tell is still being developed. Please check back soon for more features and eventual push to the Apple App Store! From 32940cbdd805ae3a4a54a22c5d5608676f2ecff6 Mon Sep 17 00:00:00 2001 From: "Margaret E. Ikeda" Date: Fri, 24 Mar 2017 15:56:35 -0400 Subject: [PATCH 3/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c342109..5dbf75b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Welcome To # Story Tell -+Story Tell is an app for people who want to read and write their own choose-your-own-adventure stories. +Story Tell is an app for people who want to read and write their own choose-your-own-adventure stories. ## Getting Started ![](https://github.com/Mgtei/AC3.2-StoryTell-1/blob/master/StoryTell/StoryTell/Assets.xcassets/logo.imageset/S%20Logo%20Rounded%20Sq.png) @@ -13,4 +13,4 @@ Story Tell features a Reader that has a "Peek Ahead" function when you long pres To edit text, tap on it twice. When finished editing, press the button that appears in the upper right hand button that looks like an editing pencil. -Story Tell is still being developed. Please check back soon for more features and eventual push to the Apple App Store! +**Story Tell is still being developed. Please check back soon for more features and eventual push to the Apple App Store!** From 3d498d575d3dd859f49884ea94fdb14bc9d90a88 Mon Sep 17 00:00:00 2001 From: "Margaret E. Ikeda" Date: Fri, 24 Mar 2017 15:58:16 -0400 Subject: [PATCH 4/5] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 5dbf75b..3f5bacb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -# AC3.2-StoryTell ## Welcome To # Story Tell From 422d00a6babb4b1dddb0acb97545aaac5ef0c70f Mon Sep 17 00:00:00 2001 From: "Margaret E. Ikeda" Date: Fri, 24 Mar 2017 15:59:19 -0400 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f5bacb..855ef4a 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ Story Tell is an app for people who want to read and write their own choose-your ## Getting Started ![](https://github.com/Mgtei/AC3.2-StoryTell-1/blob/master/StoryTell/StoryTell/Assets.xcassets/logo.imageset/S%20Logo%20Rounded%20Sq.png) -Upon launching Story Tell you are brought to your Bookshelf, which contains some instructions as well as all the titles that have been written on your device. Pick a title to write by pressing on it. +Upon launching Story Tell you are brought to your *Bookshelf*, which contains some instructions as well as all the titles that have been written on your device. Pick a title to read by pressing on it. -Story Tell features a Reader that has a "Peek Ahead" function when you long press on a story option at the bottom of the page. You can also turn on "Night Mode" to ease eye strain during nighttime reading if you press the gear on the upper-right hand page of the Reader, then press the switch labeled "Night Mode" that appears. +Story Tell features a *Reader* that has a "Peek Ahead" function when you long press on a story option at the bottom of the page. You can also turn on "Night Mode" to ease eye strain during nighttime reading if you press the gear on the upper-right hand page of the Reader, then press the switch labeled "Night Mode" that appears. To edit text, tap on it twice. When finished editing, press the button that appears in the upper right hand button that looks like an editing pencil.