diff --git a/README.md b/README.md index 80542e7..855ef4a 100644 --- a/README.md +++ b/README.md @@ -1 +1,15 @@ -# AC3.2-StoryTell \ No newline at end of file +## 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 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. + +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!** diff --git a/StoryTell/StoryTell/V2ReaderViewController.swift b/StoryTell/StoryTell/V2ReaderViewController.swift index 6b5f2cf..e737d46 100644 --- a/StoryTell/StoryTell/V2ReaderViewController.swift +++ b/StoryTell/StoryTell/V2ReaderViewController.swift @@ -59,7 +59,7 @@ class V2ReaderViewController: UIViewController { } - + func longTap(_ sender : UIGestureRecognizer){ print("Long tap") @@ -158,6 +158,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() @@ -167,7 +172,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() + } @@ -178,6 +189,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() }