AlertView 새로운 방법을 찾아야할듯 ..
Closed this issue · 1 comments
changemin commented
암튼 지금은 알림창을 띄우는게. 좀 버겁고 렉이 걸림
새로운 알림을 만들면 다른 API들이 전부 refresh됨 .. 하위뷰가 refresh되면서 함께 ..
AlertView가 ContentView다음 최상위 뷰에 위치하고 있는 ObservableObject라 그런데 .. 음 .. 깃헙에 다른 것들을 보고 다시 구현해야겠어 아무래도
https://github.com/neel-makhecha/AlertX 여기가 가장 괜찮게 구현한듯해
changemin commented
뭐지 고쳤다
@ObservedObject var alertManager = AlertManager()
에서 @ObservedObject
빼줬더니 ..
아무래도 하위뷰만 refresh시키나 부다 같은 계층 뷰는 냅두는 착한친구였다