| | |
| | | |
| | | self.limitDay = studyScheduleModel.day |
| | | |
| | | //#if DEBUG |
| | | // self.limitDay = 5 |
| | | //#endif |
| | | |
| | | |
| | | let total = studyScheduleModel.pair + studyScheduleModel.induction + studyScheduleModel.listen + studyScheduleModel.look + studyScheduleModel.answer |
| | | |
| | |
| | | self.limitDay = Int.max |
| | | } |
| | | |
| | | #if DEBUG |
| | | self.limitDay = Int.max |
| | | #endif |
| | | |
| | | for (index,titleL) in (self.menu.subviews.last?.subviews[1].subviews ?? []).filter({$0 is UIButton}).enumerated(){ |
| | | if let btn = titleL as? UIButton{ |
| | | btn.setTitleColor(index < (self.limitDay) ? .black:.black.withAlphaComponent(0.33), for: .normal) |