Your email was sent successfully. Check your inbox.

An error occurred while sending the email. Please try again.

Proceed reservation?

Export
  • 1
    Online Resource
    Online Resource
    [Erscheinungsort nicht ermittelbar] : Pragmatic AI Solutions
    Language: English
    Pages: 1 online resource (1 video file, approximately 14 min.)
    Edition: 1st edition.
    Keywords: Electronic videos
    Abstract: 52 Weeks of Swift_ Episode 8-Enumerations 00:00 Intro 03:30 Using .dot syntax with enum 08:29 Associated values for enumeration 13:45 Recursive enumerations Okay, so I'm live here with 52 weeks of Swift and getting into a numeration is today, still going through the Swift language guide. And I'm going to start off with sharing some, some code here on a numeration syntax. To start with, if we go and paste some of this in, here we go, you can see that the num, right here says that this is really the flavor of what it looks like. And if we wanted to build this out into exactly sort of workable code, you can see here that make this thing, have the ability to do case statements. And then what's great about this is that I can, you know, essentially select which one of these fits the case that I that I need. So let's go ahead and run this. Here we go, we see that this is actually working code. And so you can basically use this as something that can really be related values, or typesafe. Way to deal with things in Swift. And in particular, one of the things that I'm going to do is I'm going to go ahead and take a look at this planet. We'll go next year. And take a look at this. And we see that in this case, I say, case Mercury, Venus, Earth, Mars, Jupiter, Uranus, Neptune, there we go. And so how would I actually use this.
    Note: Online resource; Title from title screen (viewed March 10, 2022)
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
Close ⊗
This website uses cookies and the analysis tool Matomo. More information can be found here...