<commit_before>

## TSIntro
### Basic Scrolling App Intro
This allows you to drag in a folder and instantly have an app intro.

### Installation


To install download the repo and drag the Intro folder into your project. 

Then all you have to do is paste the code below into your view controller

```swift
let userDefaults = NSUserDefaults.standardUserDefaults()
        
        if !userDefaults.boolForKey("walkthroughPresentede") {
            
            let viewCon = TSIntroViewController()
            //Show the tutorial
            //The current viewController you are presenting from needs to be within navigation controller
            self.presentViewController(viewCon, animated: true, completion: nil )
            //Change the background of the tutorial
            viewCon.view.backgroundColor = UIColor.whiteColor()
            //Add the pages
            viewCon.addPage("First Page ", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
            viewCon.addPage("Second Page", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
            viewCon.addPage("Last Page  ", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
            
            userDefaults.setBool(true, forKey: "walkthroughPresented")
            userDefaults.synchronize()
        }
}
```

<!-- 
## License

`TSIntro` is available under the MIT license. See the LICENSE file for more info.

Copyright 2015 <NAME> --><commit_msg>changed Readme<commit_after>

## TSIntro
### Basic Scrolling App Intro
This allows you to drag in a folder and instantly have an app intro.

### Installation


To install drag the Intro folder into your current project. 

Then copy the code below and paste where you would like the intro to be shown. The view controller you are presenting from must be inside a UINavigationController for the intro to be presented. 

```swift
let userDefaults = NSUserDefaults.standardUserDefaults()
        
        if !userDefaults.boolForKey("walkthroughPresentede") {
            
            let viewCon = TSIntroViewController()
            //Show the tutorial
            //The current viewController you are presenting from needs to be within navigation controller
            self.presentViewController(viewCon, animated: true, completion: nil )
            //Change the background of the tutorial
            viewCon.view.backgroundColor = UIColor.whiteColor()
            //Add the pages
            viewCon.addPage("First Page ", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
            viewCon.addPage("Second Page", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
            viewCon.addPage("Last Page  ", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
            
            userDefaults.setBool(true, forKey: "walkthroughPresented")
            userDefaults.synchronize()
        }
}
```

### Adding Pages 

The line below is how you are able to add new pages to the intro. At the moment you are easily able to change the title, image, and content.

```swift     
    //Add the pages
    viewCon.addPage("First Page ", image: UIImage(named: "EmptyImage.png")!, content: "This is new content that should be displayed under the picture.")
}
```

<!-- 
## License

`TSIntro` is available under the MIT license. See the LICENSE file for more info.

Copyright 2015 <NAME> -->
{'fraction_non_alphanumeric': 0.08434384263001886, 'fraction_numerical': 0.002155753166262463, 'mean_word_length': 2.961579509071505, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6140751', 'n_tokens_mistral': 958, 'n_tokens_neox': 907, 'n_words': 395}