Skip to content

Commit 3e216e1

Browse files
committed
Initial commit
0 parents  commit 3e216e1

File tree

98 files changed

+12591
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+12591
-0
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Bug Report
3+
about: Create a bug report.
4+
---
5+
6+
## Checklist
7+
- [ ] This is not a Apple's bug.
8+
- [ ] Reviewed the README and documents.
9+
- [ ] Searched existing issues for ensure not duplicated.
10+
11+
## Expected Behavior
12+
<!--- Tell us what should happen -->
13+
14+
## Current Behavior
15+
<!--- Tell us what happens instead of the expected behavior -->
16+
17+
## Steps to Reproduce
18+
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
19+
<!--- reproduce this bug. Include code to reproduce, if relevant -->
20+
1.
21+
2.
22+
3.
23+
4.
24+
25+
## Detailed Description (Include Screenshots)
26+
<!--- Provide a detailed description of the bug -->
27+
28+
## Reproducible Demo Project
29+
<!--- If you have, provide links of bug reproducible project that we can refer -->
30+
31+
## Environments
32+
- version:
33+
34+
- Swift version:
35+
36+
- iOS version:
37+
38+
- Xcode version:
39+
40+
- Devices/Simulators:
41+
42+
- CocoaPods/Carthage version:
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature Request
3+
about: Create a feature request.
4+
---
5+
6+
## Checklist
7+
- [ ] Reviewed the README and documents.
8+
- [ ] Searched existing issues for ensure not duplicated.
9+
10+
## Description
11+
<!--- Provide a detailed description of the feature you are proposing -->
12+
13+
## Motivation and Context
14+
<!--- Why is this feature required? What problem does it solve? -->
15+
<!--- If it fixes an open issue, please link to the issue here. -->
16+
17+
## Proposed Solution
18+
<!--- Describe the solution you proposing. -->

.github/ISSUE_TEMPLATE/QUESTION.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Question
3+
about: Create a bug question.
4+
---
5+
6+
## Checklist
7+
- [ ] Reviewed the README and documents.
8+
- [ ] Searched existing issues for ensure not duplicated.
9+
10+
## Expected Behavior
11+
<!--- Tell us what should happen -->
12+
13+
## Current Behavior
14+
<!--- Tell us what happens instead of the expected behavior -->
15+
16+
## Detailed Description (Include Screenshots)
17+
<!--- Provide a detailed description of your question -->
18+
19+
## Environment
20+
- version:
21+
22+
- Swift version:
23+
24+
- iOS version:
25+
26+
- Xcode version:
27+
28+
- Devices/Simulators:
29+
30+
- CocoaPods/Carthage version:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Checklist
2+
- [ ] All tests are passed.
3+
- [ ] Added tests.
4+
- [ ] Documented the code using [Xcode markup](https://developer.apple.com/library/mac/documentation/Xcode/Reference/xcode_markup_formatting_ref).
5+
- [ ] Searched existing pull requests for ensure not duplicated.
6+
7+
## Description
8+
<!--- Describe your changes in detail -->
9+
10+
## Related Issue
11+
<!--- This project only accepts pull requests related to open issues -->
12+
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
13+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
14+
<!--- Please link to the issue here: -->
15+
16+
## Motivation and Context
17+
<!--- Why is this change required? What problem does it solve? -->
18+
<!--- If it fixes an open issue, please link to the issue here. -->
19+
20+
## Impact on Existing Code
21+
<!--- Tell us the impact on existing code as far as you understand. -->
22+
23+
## Screenshots (if appropriate)

.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.DS_Store
2+
*/build/*
3+
*.pbxuser
4+
!default.pbxuser
5+
*.mode1v3
6+
!default.mode1v3
7+
*.mode2v3
8+
!default.mode2v3
9+
*.perspectivev3
10+
!default.perspectivev3
11+
xcuserdata
12+
xcbaselines
13+
profile
14+
*.moved-aside
15+
DerivedData
16+
.idea/
17+
*.hmap
18+
*.xccheckout
19+
*.xcuserstate
20+
build/
21+
22+
## Documentation
23+
docs/docsets/
24+
docs/undocumented.json
25+
26+
## Gems
27+
.bundle
28+
vendor
29+
30+
## CocoaPods
31+
Pods
32+
33+
## Carthage
34+
Carthage/*
35+
!Carthage/Checkouts
36+
37+
## Swift Package Manager
38+
.build

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Carthage/Checkouts/DifferenceKit"]
2+
path = Carthage/Checkouts/DifferenceKit
3+
url = https://github.com/ra1028/DifferenceKit.git

.jazzy.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# https://github.com/realm/jazzy
2+
3+
author: Ryo Aoyama
4+
author_url: https://github.com/ra1028
5+
github_url: https://github.com/ra1028/DiffableDataSources
6+
module: DiffableDataSources
7+
readme: README.md
8+
output: docs
9+
theme: fullwidth
10+
clean: true
11+
skip_undocumented: true
12+
xcodebuild_arguments:
13+
- -workspace
14+
- DiffableDataSources.xcworkspace
15+
- -scheme
16+
- DiffableDataSources
17+
- -sdk
18+
- iphonesimulator
19+
20+
exclude:
21+
- Sources/AppKit/CocoaCollectionViewDiffableDataSource.swift
22+
23+
custom_categories:
24+
- name: DataSources
25+
children:
26+
- TableViewDiffableDataSource
27+
- CollectionViewDiffableDataSource
28+
- name: Snapshot
29+
children:
30+
- DiffableDataSourceSnapshot

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.0

.swiftlint.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# https://github.com/realm/SwiftLint
2+
3+
excluded:
4+
- .build
5+
- Carthage
6+
- Examples
7+
8+
disabled_rules:
9+
- type_name
10+
- identifier_name
11+
- generic_type_name
12+
- force_cast
13+
14+
nesting:
15+
type_level:
16+
warning: 2
17+
18+
line_length:
19+
warning: 200
20+
21+
file_length:
22+
warning: 600
23+
24+
type_body_length:
25+
warning: 400
26+
27+
function_body_length:
28+
warning: 50
29+
30+
cyclomatic_complexity:
31+
warning: 12
32+
33+
statement_position:
34+
statement_mode: uncuddled_else

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

0 commit comments

Comments
 (0)