Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swift勉強会(tuple, enum)

Avatar for moriyaman moriyaman
January 29, 2015

Swift勉強会(tuple, enum)

swiftの勉強会用資料です。

Avatar for moriyaman

moriyaman

January 29, 2015
Tweet

More Decks by moriyaman

Other Decks in Programming

Transcript

  1. What is Tuple? There, a tuple is simply an ordered

    list of values, where the type of each value is fixed. - Ҿ༻ɿ(https://medium.com/swift-programming/facets-of-swift-part-2-tuples-4bfe58d21abf) A tuple type is a comma-separated list of zero or more types, enclosed in parentheses. - Ҿ༻ɿ(https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ Types.html)
  2. An enumeration defines a common type for a group of

    related values and enables you to work with those values in a type-safe way within your code. What is Enumerations? - Ҿ༻ɿ(https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ Enumerations.html) ·ͩ෼͔Βͳ͍…