Swift Charts implementation
This is on-site coding. For a stock app, how would you build a Chart in Swift Charts that draws the last 30 days of closing prices as a line, with axes, range, and today's value highlighted?
This is on-site coding. For a stock app, how would you build a Chart in Swift Charts that draws the last 30 days of closing prices as a line, with axes, range, and today's value highlighted?
Draw an Identifiable data array with Chart { ForEach { LineMark(x: .value, y: .value) } } and tune the axes with chartYScale and chartXAxis. Highlight today's value with a PointMark or RuleMark.
SwiftUIShort answerAdvanced
This is a 20-minute live coding exercise. Using only Combine, build a two-screen SwiftUI…
#live-coding
SwiftUIMultiple choiceBasics
This is SwiftUI live coding. A sign-up screen has four fields (name, ID, password…
#live-coding
SwiftUIShort answerBasics
This is a 15-minute SwiftUI live coding exercise. Tapping an "Add" button should show a…
#live-coding
PersistenceShort answerAdvanced
You're given 15 minutes to design a key-value store whose values carry an expiry time…
#live-coding