Crash reporting UI tests with simple SwiftUI layout and Trace SPM integration. Nothing very exciting on the UI side. The exiting part is that it's actually very little code (just the UI code + some GraphQL queries) to have the app working.
Each views have its own view model which consist of running a simple GraphQL query to fetch the necassary data. Once the data is set in the
@Published property of the view model, the data will be displayed in the view. While it's fetching the data, it'll use the powerful SwiftUI
.redacted placeholder modifier to display a beautiful loading state.
All the queries are in
Queries.graphql. The file
API.swift is generated at the build time using the
schema.json of the GraphQL API of this awesome Rick & Morty API [website] and the
Queries.graphql file using the [Apollo CLI]
For now you can browse characters, episodes and locations (soon). Search is coming soon.
In this story we’ll explore what Interfaces are, how we can implement them and how Unions and Fragments can also help us in working with Interfaces. Learn how to query more sophisticated and complex schema in SwiftUI apps. GraphQL on SwiftUI: Interfaces, Unions, Fragments
With the zeitgeist of programming ever-changing, it can be difficult to determine what is a fad and what is going to last. One of the tools that has survived is GraphQL, an alternative to the standard RESTful route’s approach for queries and manipulating data. I decided to tackle the fundamentals of the open source project last week and I can see why it is so popular. In this post, you'll see How to Build a Simple GraphQL Server
Simple GraphQL Tutorial In .NET Core Web API To Hit Ground Running. In this blog, you will learn how to create GraphQL project from the scratch, For our tutorial we will call it MOTUGraphQL.
In this Video i'm going to show how to create a Stylish Sony PlayStation 5 UI Design Using SwiftUI | SwiftUI Complex UI Tutorials | Advance SwiftUI Tutorials...