Posts

Post not yet marked as solved
0 Replies
413 Views
Hello Colleagues, I am looking for best practices to design model which fetches data using RESTful APIs and then show this data in view using swift UI. Can you please provide me documentation link? Thanks & Regards, Bhasin Naik
Posted
by Codepoet.
Last updated
.
Post marked as solved
1 Replies
1.8k Views
Hi,I am following SwiftUI tutorial Provided by Apple for building List and navatigations. I follow all the steps still i am getting error for parsing JSON"Fatal error: Couldn't parse landmarkData.json as Array<Landmark>:keyNotFound(CodingKeys(stringValue: "longtitude", intValue: nil), Swift.DecodingError.Context(codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "coordinates", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"longtitude\", intValue: nil) (\"longtitude\").", underlyingError: nil)): file /Users/rang/workspace/iOS/Landmarks/Landmarks/Models/Data.swift, line 32 "Can anybody pelase help hare?Thanks & Regards
Posted
by Codepoet.
Last updated
.