2021-09-21

Swift

【知ってると便利!】Swiftにおけるタプルの役割と使用方法 – その1

タプルとは、複数個のデータを順序付してひと組にまとめたものです。関連する複数の値を一まとまりにして扱いたい場合、それに合わせてクラスや構造体を作って操作することが多いと思いますが、それらを作るほどでもない時に登場するのが、このタプルです。

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました