<commit_before># ios-base-swift

iOS swift template application.

## Get started

To setup project follow a few simple steps:
 1. [Download](#download).
 2. [Rename project](#rename-project).
 3. [Configure mogenerator](#configure-mogenerator).
 4. [Configure CocoaPods](#configure-cocoapods).
 5. [Configure Fabrick/Crashlytics](#configure-fabric-crashlytics).
 6. [Edit README.md](#edit-readme-md).
 7. [Commit and push to repository](#made-initial-commit-and-push-to-remote-repository).

### Download
* Download prject as ```zip``` file.

### Rename project
To rename project you should:

#### Change project name:
* In the Project Navigator on the left side, click twice slowly and the Project file name will be editable. Type the new name. A sheet will appear with a warning and will list all the items Xcode believes it should change.
* Accept the changes.

#### Remove mentions in code:
* Open search tab in the Project Navigator on the left side of Xcode.
* Search ```swift-base``` in project.
* Replace any occurrence of the ios-base name with the new project name.

#### Change folders names:
* Go to the project directory and rename folders ```Swift-Base```, ```Swift-BaseTests```.
* Rename ```Swift-BaseTests.swift``` in folder for test classes.

#### Change .xcodeproj file:
* Right click the project bundle ```.xcodeproj``` file and select “Show Package Contents” from the context menu. Open the ```.pbxproj``` file with any text editor.
* Search and replace any occurrence of the ```swift-base``` with the new project name.
* Save the file.

#### Change bundle id:
* Change bundle id for all schemes in project build settings.

#### Rename workspace:
* Simple rename ```Swift-Base.xcworkspace``` with new project name.

### Configure mogenerator
* Go to Build Rules.
* Change path to script in  ```Data model files using Script```.
* Change path to script in  ```Data model version files using Script```.

### Configure CocoaPods
* Finde Podfile in project.
* Uncomment, add or remove pods.

```sh
platform :ios, '8.0'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

pod 'FSHelpers+Swift'
pod 'AFNetworking'
#pod 'SDWebImage', '~> 3.7'
#pod 'NSDate-Extensions'
#pod 'MagicalRecord'
#pod 'Reachability'
#pod 'SVProgressHUD', '~> 1.0'
#pod 'SSKeychain'
#pod 'NSData+Base64'
#pod 'MKStoreKit'
#pod 'NSDate-Extensions'

target 'Swift-BaseTests', :exclusive => true do
pod 'KIF', '~> 3.2', :configurations => ['Debug', 'Debug Staging']
end
```

* Then run in terminal:

```sh
pod install
```

### Configure Fabric/Crashlytics
* Check bundle id in project build settings for all schemes.
* Create organization in Fabric/Crashlytics.
* Add applications to this organization for all schemes.

### Edit README.md
* Edit ```README.md```.

### Made initial commit and push to remote repository
```sh
cd Path/To/Project
git init
git add --all
git commit -m "Initial commit"
git remote add origin git@github.com:fs/some-git-repository.git
git push origin master 
```

## License
ios-base-swift is released under the MIT license. See LICENSE for details.

## Credits

iOS Base is maintained by [<NAME>](http://github.com/nikitafomin), [<NAME>](https://github.com/NikolaevSergey) and [<NAME>](https://github.com/VladimirGoncharov).
It was written by [Flatstack](http://www.flatstack.com) with the help of our
[contributors](http://github.com/fs/ios-base/contributors).


[![Flatstack](https://avatars0.githubusercontent.com/u/15136?v=2&s=200)](http://www.flatstack.com)<commit_msg>Adding a new logo in the readme<commit_after># ios-base-swift

iOS swift template application.

## Get started

To setup project follow a few simple steps:
 1. [Download](#download).
 2. [Rename project](#rename-project).
 3. [Configure mogenerator](#configure-mogenerator).
 4. [Configure CocoaPods](#configure-cocoapods).
 5. [Configure Fabrick/Crashlytics](#configure-fabric-crashlytics).
 6. [Edit README.md](#edit-readme-md).
 7. [Commit and push to repository](#made-initial-commit-and-push-to-remote-repository).

### Download
* Download prject as ```zip``` file.

### Rename project
To rename project you should:

#### Change project name:
* In the Project Navigator on the left side, click twice slowly and the Project file name will be editable. Type the new name. A sheet will appear with a warning and will list all the items Xcode believes it should change.
* Accept the changes.

#### Remove mentions in code:
* Open search tab in the Project Navigator on the left side of Xcode.
* Search ```swift-base``` in project.
* Replace any occurrence of the ios-base name with the new project name.

#### Change folders names:
* Go to the project directory and rename folders ```Swift-Base```, ```Swift-BaseTests```.
* Rename ```Swift-BaseTests.swift``` in folder for test classes.

#### Change .xcodeproj file:
* Right click the project bundle ```.xcodeproj``` file and select “Show Package Contents” from the context menu. Open the ```.pbxproj``` file with any text editor.
* Search and replace any occurrence of the ```swift-base``` with the new project name.
* Save the file.

#### Change bundle id:
* Change bundle id for all schemes in project build settings.

#### Rename workspace:
* Simple rename ```Swift-Base.xcworkspace``` with new project name.

### Configure mogenerator
* Go to Build Rules.
* Change path to script in  ```Data model files using Script```.
* Change path to script in  ```Data model version files using Script```.

### Configure CocoaPods
* Finde Podfile in project.
* Uncomment, add or remove pods.

```sh
platform :ios, '8.0'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

pod 'FSHelpers+Swift'
pod 'AFNetworking'
#pod 'SDWebImage', '~> 3.7'
#pod 'NSDate-Extensions'
#pod 'MagicalRecord'
#pod 'Reachability'
#pod 'SVProgressHUD', '~> 1.0'
#pod 'SSKeychain'
#pod 'NSData+Base64'
#pod 'MKStoreKit'
#pod 'NSDate-Extensions'

target 'Swift-BaseTests', :exclusive => true do
pod 'KIF', '~> 3.2', :configurations => ['Debug', 'Debug Staging']
end
```

* Then run in terminal:

```sh
pod install
```

### Configure Fabric/Crashlytics
* Check bundle id in project build settings for all schemes.
* Create organization in Fabric/Crashlytics.
* Add applications to this organization for all schemes.

### Edit README.md
* Edit ```README.md```.

### Made initial commit and push to remote repository
```sh
cd Path/To/Project
git init
git add --all
git commit -m "Initial commit"
git remote add origin git@github.com:fs/some-git-repository.git
git push origin master
```

## License
ios-base-swift is released under the MIT license. See LICENSE for details.

## Credits

iOS Base is maintained by [<NAME>](http://github.com/nikitafomin), [<NAME>](https://github.com/NikolaevSergey) and [<NAME>](https://github.com/VladimirGoncharov).
It was written by [Flatstack](http://www.flatstack.com) with the help of our
[contributors](http://github.com/fs/ios-base/contributors).

[<img src="http://www.flatstack.com/logo.svg" width="100"/>](http://www.flatstack.com)
{'fraction_non_alphanumeric': 0.13685714285714284, 'fraction_numerical': 0.006714285714285714, 'mean_word_length': 4.6459677419354835, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 20, 'https://': 7, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4834142', 'n_tokens_mistral': 2281, 'n_tokens_neox': 2165, 'n_words': 803}