使用Player FM应用程序离线!
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
70集单集
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
70集单集
所有剧集
×欢迎使用Player FM
Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。