xykong36 / SplitCircle

Big Money Split App
0 stars 0 forks source link

Replace mock data with SwiftData query #33

Closed xykong36 closed 5 months ago

xykong36 commented 6 months ago

Q: Add Expense View 最后保存的时候需要真的在SwiftData中添加Expense 但是这个Expense是分成三步来加的 中间过程的数据怎么存呢?

A: 在parent View 中定义State 然后再child view 之间传递state variable

xykong36 commented 6 months ago

Group View

Add Expense View

Activities View

xykong36 commented 6 months ago

Add Expense 中的Next Button 需要把中间的值保存?

xykong36 commented 6 months ago

45

xykong36 commented 5 months ago

54 Transaction SwiftData

xykong36 commented 5 months ago

全部Model 更新完毕