Skip to content

Conversation

@VislovIvan
Copy link
Collaborator

  • SwiftUI Countdown
  • CountdownVM
  • CountdownManager
  • Localization
  • Documentation
  • Preview into App

- SUCountdown
- CountdownVM
- CountdownManager
- added into preview
Copy link
Collaborator

@mikhailChelbaev mikhailChelbaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good in general, but requires some improvement

Also, don't forget to write self., right now you don't have it almost anywhere

- func localizedUnit access fix
- refactored the SUCountdown view, separated each layout style (none, bottom, trailing)
- extracted repeated UI components
- updated CountdownPreview
- localizedUnit bug fix
- selectedLocale removed
- initializer removed
- horizontalPadding removed
"enum Unit" and "enum UnitLength" extracted into a separate file CountdownHelpers
- added 3 base components (timeWithoutUnit, timeWithShortUnit,
timeWithLongUnit)
- attributedString for SUCountdown layout
- calculateMaxWidth
- to do: colonView padding bug
- calculateWidth fix
- colonView padding fix
@mikhailChelbaev mikhailChelbaev merged commit e7470b4 into dev Dec 20, 2024
1 check failed
@mikhailChelbaev mikhailChelbaev deleted the SUCountdown branch December 20, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants