Skip to content

Commit 13f332d

Browse files
author
Stephen Sowole
committed
Initial commit
0 parents  commit 13f332d

File tree

73 files changed

+4150
-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.

73 files changed

+4150
-0
lines changed

.gitignore

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData/
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata/
19+
20+
## Other
21+
*.moved-aside
22+
*.xccheckout
23+
*.xcscmblueprint
24+
.DS_Store
25+
26+
## Obj-C/Swift specific
27+
*.hmap
28+
*.ipa
29+
*.dSYM.zip
30+
*.dSYM
31+
32+
## Playgrounds
33+
timeline.xctimeline
34+
playground.xcworkspace
35+
36+
# Swift Package Manager
37+
#
38+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
39+
# Packages/
40+
# Package.pins
41+
# Package.resolved
42+
.build/
43+
44+
# CocoaPods
45+
#
46+
# We recommend against adding the Pods directory to your .gitignore. However
47+
# you should judge for yourself, the pros and cons are mentioned at:
48+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
49+
#
50+
# Pods/
51+
#
52+
# Add this line if you want to avoid checking in source code from the Xcode workspace
53+
# *.xcworkspace
54+
55+
# Carthage
56+
#
57+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
58+
# Carthage/Checkouts
59+
60+
Carthage/Build
61+
62+
# fastlane
63+
#
64+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
65+
# screenshots whenever they are needed.
66+
# For more information about the recommended setup visit:
67+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
68+
69+
fastlane/report.xml
70+
fastlane/Preview.html
71+
fastlane/screenshots/**/*.png
72+
fastlane/test_output
73+
74+
# Code Injection
75+
#
76+
# After new code Injection tools there's a generated folder /iOSInjectionProject
77+
# https://github.com/johnno1962/injectionforxcode
78+
79+
iOSInjectionProject/

CONTRIBUTING.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Contributors Guide
2+
3+
Interested in contributing? Awesome! Before you do though, please read our
4+
[Code of Conduct](https://slackhq.github.io/code-of-conduct). We take it very seriously, and expect that you will as
5+
well.
6+
7+
There are many ways you can contribute! :heart:
8+
9+
### Bug Reports and Fixes :bug:
10+
- If you find a bug, please search for it in the [Issues](https://github.com/slackhq/PanModal/issues), and if it isn't already tracked,
11+
[create a new issue](https://github.com/slackhq/PanModal/issues/new). Fill out the "Bug Report" section of the issue template. Even if an Issue is closed, feel free to comment and add details, it will still
12+
be reviewed.
13+
- Issues that have already been identified as a bug (note: able to reproduce) will be labelled `bug`.
14+
- If you'd like to submit a fix for a bug, [send a Pull Request](#creating_a_pull_request) and mention the Issue number.
15+
- Include tests that isolate the bug and verifies that it was fixed.
16+
17+
### New Features :bulb:
18+
- If you'd like to add new functionality to this project, describe the problem you want to solve in a [new Issue](https://github.com/slackhq/PanModal/issues/new).
19+
- Issues that have been identified as a feature request will be labelled `enhancement`.
20+
- If you'd like to implement the new feature, please wait for feedback from the project
21+
maintainers before spending too much time writing the code. In some cases, `enhancement`s may
22+
not align well with the project objectives at the time.
23+
24+
### Tests :mag:, Documentation :books:, Miscellaneous :sparkles:
25+
- If you'd like to improve the tests, you want to make the documentation clearer, you have an
26+
alternative implementation of something that may have advantages over the way its currently
27+
done, or you have any other change, we would be happy to hear about it!
28+
- If its a trivial change, go ahead and [send a Pull Request](#creating_a_pull_request) with the changes you have in mind.
29+
- If not, [open an Issue](https://github.com/slackhq/PanModal/issues/new) to discuss the idea first.
30+
31+
If you're new to our project and looking for some way to make your first contribution, look for
32+
Issues labelled `good first contribution`.
33+
34+
## Requirements
35+
36+
For your contribution to be accepted:
37+
38+
- [x] You must have signed the [Contributor License Agreement (CLA)](https://cla-assistant.io/PanModal).
39+
- [x] The test suite must be complete and pass.
40+
- [x] The changes must be approved by code review.
41+
- [x] Commits should be atomic and messages must be descriptive. Related issues should be mentioned by Issue number.
42+
43+
If the contribution doesn't meet the above criteria, you may fail our automated checks or a maintainer will discuss it with you. You can continue to improve a Pull Request by adding commits to the branch from which the PR was created.
44+
45+
[Interested in knowing more about about pull requests at Slack?](https://slack.engineering/on-empathy-pull-requests-979e4257d158#.awxtvmb2z)
46+
47+
## Creating a Pull Request
48+
49+
1. :fork_and_knife: Fork the repository on GitHub.
50+
2. :runner: Clone/fetch your fork to your local development machine. It's a good idea to run the tests just
51+
to make sure everything is in order.
52+
3. :herb: Create a new branch and check it out.
53+
4. :crystal_ball: Make your changes and commit them locally. Magic happens here!
54+
5. :arrow_heading_up: Push your new branch to your fork. (e.g. `git push username fix-issue-16`).
55+
6. :inbox_tray: Open a Pull Request on github.com from your new branch on your fork to `master` in this
56+
repository.

ISSUE_TEMPLATE.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
### Description
2+
3+
Describe your issue here.
4+
5+
### What type of issue is this? (place an `x` in one of the `[ ]`)
6+
- [ ] bug
7+
- [ ] enhancement (feature request)
8+
- [ ] question
9+
- [ ] documentation related
10+
- [ ] testing related
11+
- [ ] discussion
12+
13+
### Requirements (place an `x` in each of the `[ ]`)
14+
* [ ] I've read and understood the [Contributing guidelines](https://github.com/slackhq/PanModal/blob/master/CONTRIBUTING.md) and have done my best effort to follow them.
15+
* [ ] I've read and agree to the [Code of Conduct](https://slackhq.github.io/code-of-conduct).
16+
* [ ] I've searched for any related issues and avoided creating a duplicate issue.
17+
18+
---
19+
20+
### Bug Report
21+
22+
Filling out the following details about bugs will help us solve your issue sooner.
23+
24+
#### Reproducible in:
25+
26+
{project_name} version:
27+
28+
{platform_name} version:
29+
30+
OS version(s):
31+
32+
#### Steps to reproduce:
33+
34+
1.
35+
2.
36+
3.
37+
38+
#### Expected result:
39+
40+
What you expected to happen
41+
42+
#### Actual result:
43+
44+
What actually happened
45+
46+
#### Attachments:
47+
48+
Logs, screenshots, screencast, sample project, funny gif, etc.

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright © 2018 Tiny Speck, Inc.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### Summary
2+
3+
Describe the goal of this PR. Mention any related Issue numbers.
4+
5+
### Requirements (place an `x` in each `[ ]`)
6+
7+
* [ ] I've read and understood the [Contributing Guidelines](https://github.com/tinyspeck/PanModal/blob/master/.github/contributing.md) and have done my best effort to follow them.
8+
* [ ] I've read and agree to the [Code of Conduct](https://slackhq.github.io/code-of-conduct).
9+
10+
> The following point can be removed after setting up CI (such as Travis) with coverage reports (such as Codecov)
11+
12+
* [ ] I've written tests to cover the new code and functionality included in this PR.
13+
14+
> The following point can be removed after setting up a CLA reporting tool such as cla-assistant.io
15+
16+
* [ ] I've read, agree to, and signed the [Contributor License Agreement (CLA)](https://cla-assistant.io/PanModal).

PanModal.podspec

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#
2+
# Be sure to run `pod lib lint PanModal.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
# Any lines starting with a # are optional, but their use is encouraged
6+
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
7+
#
8+
9+
Pod::Spec.new do |s|
10+
s.name = 'PanModal'
11+
s.version = '1.0'
12+
s.summary = 'PanModal is an elegant and highly customizable presentation API for constructing bottom sheet modals on iOS.'
13+
14+
# This description is used to generate tags and improve search results.
15+
# * Think: What does it do? Why did you write it? What is the focus?
16+
# * Try to keep it short, snappy and to the point.
17+
# * Write the description between the DESC delimiters below.
18+
# * Finally, don't worry about the indent, CocoaPods strips it!
19+
20+
s.description = <<-DESC
21+
PanModal is an elegant and highly customizable presentation API for constructing bottom sheet modals on iOS.
22+
DESC
23+
24+
s.homepage = 'https://github.com/slackhq/PanModal'
25+
s.license = { :type => 'MIT', :file => 'LICENSE' }
26+
s.author = { 'slack' => '[email protected]' }
27+
s.source = { :git => 'https://github.com/slackhq/PanModal.git', :tag => s.version.to_s }
28+
s.social_media_url = 'https://twitter.com/slackhq
29+
30+
s.ios.deployment_target = '10.0'
31+
32+
s.source_files = 'PanModal/**/*'
33+
end

0 commit comments

Comments
 (0)