タグ

ブックマーク / swift.org (1)

  • Swift.org

    Swift is a general-purpose programming language that’s approachable for newcomers and powerful for experts. It is fast, modern, safe, and a joy to write. struct Binomial: Codable { var genus: String var species: String var subspecies: String? } let tree = Binomial(genus: "Pin", species: "oak") let jsonData = try JSONEncoder().encode(tree) // {"genus":"Pin","species":"oak"} struct ScientificName {

    Swift.org
    efcl
    efcl 2015/12/04
    Swiftの公式サイト
  • 1