• About
    • Why This Site?
    • Contact
  • Blog
    • Getting Started
    • Swift
    • UIKit
    • Objective-C
    • Computer Science
  • Swift Developments
    • Sponsorship

Tuples in Swift

Tuples in Swift

In Objective-C, if you want to return multiple values from a function or method you have to create a class with properties for the those values and then return an instance of that class or alternatively store values in a dictionary as key-value pairs and then return the dictionary. In Swift though, we have an alternative: Tuples. … [Read more...]

  • E-mail
  • Facebook
  • Flickr
  • GitHub
  • Pinterest
  • Twitter
  • YouTube

Copyright © 2019 · AndyBargh.com. All rights reserved. · Log in

Permissions Policy · Privacy Policy

I use cookies to ensure that I give you the best experience on my website. If you continue to use this site I'll assume that you are happy with it.Ok