Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncommented demo code that hid features #83

Open
wants to merge 10 commits into
base: mi-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# 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 read by pressing on it.

![](https://static1.squarespace.com/static/5159f901e4b0e6ea87df4446/t/59cda01bf6576e05c30eceab/1506648102563/StoryTell+Landing+Page.png?format=500w)

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.

![](https://static1.squarespace.com/static/5159f901e4b0e6ea87df4446/t/59cda03e90badeb929a0a413/1506648132299/StoryTell+Reading.png?format=500w)

You can also turn on "Night Mode" to ease eye strain during nighttime reading (or if you need a high contrast mode to suit your vision needs) by pressing the gear on the upper-right hand page of the Reader, then pressing the switch labeled "Night Mode."

![](https://static1.squarespace.com/static/5159f901e4b0e6ea87df4446/t/59cda05546c3c4f5a93f0c38/1506648154583/StoryTell+vision.png?format=500w)

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!**
18 changes: 17 additions & 1 deletion StoryTell/StoryTell/V2ReaderViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class V2ReaderViewController: UIViewController {


}


func editButtonAction(){
print("I am a motherfucking barbutton!")
Expand Down Expand Up @@ -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()

Expand All @@ -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()

}


Expand All @@ -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()
}

Expand Down