Decathlon / vitamin-ios

Decathlon Design System UI components for iOS & iPadOS applications
https://www.decathlon.design
Apache License 2.0
46 stars 14 forks source link

fix: crash vitamin button ibdesignable #80

Closed florentlotthepro closed 2 years ago

florentlotthepro commented 2 years ago

Changes description

Add the method init(frame: CGRect) to fix the crash. I also fix warnings in the project.

Context

We cannot use VitaminButton as IBDesignable because of a missing method.

Checklist

Does this introduce a breaking change?

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication