Data appearing twice in array - Swift(SwiftUI)

后端 未结 0 816
栀梦
栀梦 2020-12-05 12:34
class DataHandler: ObservableObject{
@Published var HomePagePosts = [Post]()
@Published var loggedInUser = UserObject()

init() {
    self.loadHomePagePosts()
}

fun         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题