Git Product home page Git Product logo
class Wesley: Developer {
  let name = "Wesley de Groot"
  let age = 34
  let location: Location = .Netherlands
  let languages: [Languages] = [.Dutch, .English]

  let programmingLanguages = ["Swift", "Objective-C", "JavaScript", "PHP"]
  let markup = ["HTML", "CSS", ""]

  func details() -> String {
      var details = ""
      for detail in Mirror(reflecting: self).children {
          guard let label = detail.label else { continue }
          details.append("\(label.capitalized): \(detail.value)\n")
      }
      return details
  }
}

print(Wesley().details())
// The above doesn't compile? // Just add this "missing" code.
class Developer {
  enum Location { case Netherlands }
  enum Languages { case Dutch, English }
}
Or Run in SwiftFiddle.

Latest Blog Post

What is @frozen

Highlighted Application

iWebTools

Highlighted Project

DynamicUI

Connect


Stats

committers.top badge

Interested learning more about Swift? Check out my blog.

Pinned repo's:

Wesley de Groot's Projects

admob-swiftui icon admob-swiftui

This library helps you to easily integrate the Admob SDK in your SwiftUI app. It is a wrapper around the Google Mobile Ads SDK for iOS. It provides a SwiftUI view that you can use to display banner ads in your app above your tabbar.

auroraeditor icon auroraeditor

AuroraEditor is a IDE built by the community, for the community, and written in Swift for the best native performance and feel for macOS.

awesome-mac icon awesome-mac

 Now we have become very big, Different from the original idea. Collect premium software in various categories.

backendasaservice-php icon backendasaservice-php

A realtime database and backend as a service. (BaaS) Server writen in PHP, Client Framework in Swift

build-documentation icon build-documentation

The Swift Package Documentation Generator GitHub Action generates documentation for a Swift package using docc.build-documentation test

cachedasyncimage icon cachedasyncimage

CachedAsyncImage is a Swift Package for asynchronously loading images from the web and caching them.

codeedit icon codeedit

CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.

docc-generate.sh icon docc-generate.sh

Script generates documentation for a Swift package using the Swift-DocC tool.

docs icon docs

Complete SwiftUI Docs with Examples

dynamicui icon dynamicui

Create a SwiftUI user interface through a JSON file. The JSON file will contain the structure of the user interface, and the program will create the user interface based on the JSON file.

gamecontrollerkit icon gamecontrollerkit

GameControllerKit is a Swift package that makes it easy to work with game controllers on iOS, macOS, and tvOS. It provides a simple API to connect to game controllers, read input from them, and control their lights and haptics.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.