Go offline with the Player FM app!
How to Program Generics with Swift (Episode 22)
Manage episode 155049377 series 1144178
How to Program Generics with Swift (Video Tutorial Podcast Episode 22)
In this video tutorial we’ll look at how to use Generics in a Swift function. A generic function or method works on collections of different types. Or to put it another way, a function could accept different parameter types when called. In this lesson we’ll use two simple types, String and Int. Like many of our previous Swift tutorial video podcasts, we’ll work in an iOS Playground file, but this same code works fine in any Swift based project: Mac, tvOS, iOS.
Hosts: Justin Dike, Clevon O’Doul
61 episodes
Manage episode 155049377 series 1144178
How to Program Generics with Swift (Video Tutorial Podcast Episode 22)
In this video tutorial we’ll look at how to use Generics in a Swift function. A generic function or method works on collections of different types. Or to put it another way, a function could accept different parameter types when called. In this lesson we’ll use two simple types, String and Int. Like many of our previous Swift tutorial video podcasts, we’ll work in an iOS Playground file, but this same code works fine in any Swift based project: Mac, tvOS, iOS.
Hosts: Justin Dike, Clevon O’Doul
61 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.