Thank you for your interest in contributing to SwiftRandomKit! This document provides guidelines and instructions for contributing.
Please be respectful and considerate of others when contributing to this project.
- Check if the bug has already been reported in the Issues
- If not, create a new issue using the bug report template
- Include a clear description and steps to reproduce
- Check if the feature has already been suggested in the Issues
- If not, create a new issue using the feature request template
- Describe the feature and its potential benefits
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add or update tests as necessary
- Ensure all tests pass (
swift test) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Clone your fork of the repository
- Open the project in Xcode or your preferred IDE
- Run
swift buildto build the project - Run
swift testto ensure everything is working
- Follow the Swift API Design Guidelines
- Use meaningful variable and function names
- Add documentation comments for public APIs
- Keep functions small and focused on a single task
- Write tests for all new features and bug fixes
- Ensure all tests pass before submitting a pull request
- Aim for high code coverage
By contributing to SwiftRandomKit, you agree that your contributions will be licensed under the project's MIT License.