StepperView
StepperView copied to clipboard
Add macOS support implement #46
Description
Added macOS support by adding macOS specifier to package.swift file. No other change is made to the codebase.
Note: Adding macOS support will break some examples usage that uses class such as UIColor
and UIScreen
, @badrinathvm you might want to update those examples.
Type of change
- [ ] Bug fix
- [x] New feature
- [ ] Breaking change
- [ ] This change requires a documentation update
How Has This Been Tested
No additional unit test added.
Test Configuration
- Xcode version: 12.5
- Device/Simulator: Simulator iPhone iOS 15
- iOS version: 15.0
- MacOSX version: 11.5 Beta
Checklist:
For checklist items not applicable, mention NA in front of it with some comment if applicable.
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] Add comments to code particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes before pushing the pull request
Thank you for PR. I will have look at breaking examples and add necessary availability checks.
Also can u update in podspec file as well for macOS ?
Also can u update in podspec file as well for macOS ?
@badrinathvm, Done.
Adding macOS support will break some examples usage that uses class such as
UIColor
andUIScreen
Also, I adopted all the example views for macOS by changing existing code to cross-platform APIs.