Skip to content

Commit fa02c8f

Browse files
committed
Clean.
1 parent e30037f commit fa02c8f

16 files changed

Lines changed: 140 additions & 11 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ivanvorobei
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
**Expected behavior**
16+
A clear and concise description of what you expected to happen.
17+
18+
**Screenshots**
19+
If applicable, add screenshots to help explain your problem.
20+
21+
**Smartphone (please complete the following information):**
22+
- iOS Version [e.g. 14.5.1]
23+
- Framework Version [e.g. 3.0.8]
24+
- Installed via [e.g. SPM, Cocoapods, Manually]
25+
26+
**Additional context**
27+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ivanvorobei
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Question
3+
about: Something is not clear with the project
4+
title: ''
5+
labels: ''
6+
assignees: ivanvorobei
7+
8+
---
9+
10+
**Describe the problem that you catch**
11+
A clear and concise description of what you want to do.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Goal
2+
<!--- Provide details about reason changes. -->
3+
4+
## Checklist
5+
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
6+
- [] Testing in compability platforms
7+
- [] Installed correct via Swift Package Manager and Cocoapods

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
xcuserdata
1+
# osX files
2+
.DS_Store
3+
.Trashes
4+
5+
# Swift Package Manager
6+
.swiftpm

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ representative at an online or offline event.
5959
## Enforcement
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at
63-
hello@ivanvorobei.io.
62+
reported to the community leaders responsible for enforcement at hello@sparrowcode.io.
6463
All complaints will be reviewed and investigated promptly and fairly.
6564

6665
All community leaders are obligated to respect the privacy and security of the

CONTRIBUTING.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Contributing
2+
3+
Here provided more info about project, contribution process and recomended changes.
4+
Please, read it before pull request or create issue.
5+
6+
## Codestyle
7+
8+
### Marks
9+
10+
For clean struct code good is using marks.
11+
12+
```swift
13+
class Example {
14+
15+
// MARK: - Init
16+
17+
init() {}
18+
}
19+
```
20+
21+
Here you find all which using in project:
22+
23+
- // MARK: - Init
24+
- // MARK: - Lifecycle
25+
- // MARK: - Layout
26+
- // MARK: - Public
27+
- // MARK: - Private
28+
- // MARK: - Internal
29+
- // MARK: - Models
30+
- // MARK: - Ovveride
31+
32+
If you can't find valid, add new to codestyle agreements please. Other can be use if class is large and need struct it even without adding to codestyle agreements.

Example App/iOS Example.xcodeproj/project.pbxproj

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,13 @@
294294
buildSettings = {
295295
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
296296
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
297+
CODE_SIGN_IDENTITY = "Apple Development";
297298
CODE_SIGN_STYLE = Automatic;
298299
CURRENT_PROJECT_VERSION = 1;
299-
DEVELOPMENT_TEAM = U35323S562;
300+
DEVELOPMENT_TEAM = 5KKK9SKF79;
300301
GENERATE_INFOPLIST_FILE = YES;
301302
INFOPLIST_FILE = "iOS Example/Info.plist";
303+
INFOPLIST_KEY_NSCameraUsageDescription = "Need for testing purpose";
302304
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
303305
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
304306
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
@@ -308,8 +310,9 @@
308310
"@executable_path/Frameworks",
309311
);
310312
MARKETING_VERSION = 1.0;
311-
PRODUCT_BUNDLE_IDENTIFIER = "by.ivanvorobei.opensource.spalert.iOS-Example";
313+
PRODUCT_BUNDLE_IDENTIFIER = by.ivanvorobei.opensource.spalert3;
312314
PRODUCT_NAME = "$(TARGET_NAME)";
315+
PROVISIONING_PROFILE_SPECIFIER = "";
313316
SWIFT_EMIT_LOC_STRINGS = YES;
314317
SWIFT_VERSION = 5.0;
315318
TARGETED_DEVICE_FAMILY = "1,2";
@@ -321,11 +324,13 @@
321324
buildSettings = {
322325
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
323326
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
327+
CODE_SIGN_IDENTITY = "Apple Development";
324328
CODE_SIGN_STYLE = Automatic;
325329
CURRENT_PROJECT_VERSION = 1;
326-
DEVELOPMENT_TEAM = U35323S562;
330+
DEVELOPMENT_TEAM = 5KKK9SKF79;
327331
GENERATE_INFOPLIST_FILE = YES;
328332
INFOPLIST_FILE = "iOS Example/Info.plist";
333+
INFOPLIST_KEY_NSCameraUsageDescription = "Need for testing purpose";
329334
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
330335
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
331336
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
@@ -335,8 +340,9 @@
335340
"@executable_path/Frameworks",
336341
);
337342
MARKETING_VERSION = 1.0;
338-
PRODUCT_BUNDLE_IDENTIFIER = "by.ivanvorobei.opensource.spalert.iOS-Example";
343+
PRODUCT_BUNDLE_IDENTIFIER = by.ivanvorobei.opensource.spalert3;
339344
PRODUCT_NAME = "$(TARGET_NAME)";
345+
PROVISIONING_PROFILE_SPECIFIER = "";
340346
SWIFT_EMIT_LOC_STRINGS = YES;
341347
SWIFT_VERSION = 5.0;
342348
TARGETED_DEVICE_FAMILY = "1,2";
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>iOS Example.xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)