👉

Did you like how we did? Rate your experience!

Rated 4.5 out of 5 stars by our customers 561

Award-winning PDF software

review-platform review-platform review-platform review-platform review-platform

Video instructions and help with filling out and completing Dd 1750

Instructions and Help about Dd 1750

True. This video is brought to you by Paw, the most advanced API tool for Mac. Hi and welcome to another very exciting tutorial. Today we're going to have a look at GraphQL and how to use it with SwiftUI and Xcode. If you searched for a tutorial on GraphQL together with Xcode, then you probably know what it is, so you can skip ahead a few minutes. But if you're new to that whole thing, let me just give you a quick overview about what GraphQL is. The website of GraphQL at graphql.org makes it abundantly clear that this is a query language for your API. And what that looks like is also displayed in this little animation here. So, in a JSON-like manner, you are describing what you want from an API. So in this example, you'd like to get a hero and you want certain information about that hero, namely, for example, the name. Or, in addition, you're thinking about, maybe I also want the height. And then you also want the mass of this hero. And as soon as you add this to your description, you actually get exactly what you want. So, in other words, ask for what you need and get exactly that. Now let me just quickly show you how this works in practice. I'm going to use the Countries API from Trevor Blade, which is really cool for these demonstration purposes. So let's just quickly copy countries.travelerblades.com and I'm going to head over to Paw to actually try the API out before we're going to use it in Xcode. So I'm just going to paste my URL here, countries.travelerblades.com, and in the body section here, I can switch to GraphQL. And this is where I'm going to define my request. So, I'm...