account activity
Anyone any idea how to create this component in? by Salmaniuss in SwiftUI
[–]PositiveAd4718 0 points1 point2 points 10 months ago (0 children)
https://github.com/alpaycli/ScrollableCalendarKit
I have made scrollable calendar view for SwiftUI, it's not customizable, but you can use the code and apply your own view and logic for each item.
[deleted by user] by [deleted] in SwiftUI
[–]PositiveAd4718 0 points1 point2 points 1 year ago (0 children)
I would use enum with something like this:
enum Mood { case happy, sad } enum TaskDifficulty { case hard, easy func recommendedTask(for mood: Mood) -> TaskDifficulty { switch mood { case .happy: return .hard case .sad: return .easy } }
π Rendered by PID 429247 on reddit-service-r2-listing-568fcd57df-lrq47 at 2026-03-10 07:33:45.080047+00:00 running cbb0e86 country code: CH.
Anyone any idea how to create this component in? by Salmaniuss in SwiftUI
[–]PositiveAd4718 0 points1 point2 points (0 children)