Matt Mathias

Implementing a Custom Collection Type in Swift

Matt Mathias | Mar 19, 2018

How do you implement a custom collection type in Swift?

In this screencast, Matt walks us through creating a Queue in Swift using generics to hold arbitrary data types. We'll be learning about collections by creating our own collection type. Watch along as we discuss the Swift language and how to construct a implementation of a custom collection. We'll be going over some guards and guarantees to constrain the types of data in our queue.

Basic knowledge or experience building iOS applications is recommended.

For the More Curious...

The Swift Programming Language (Swift 4.1): Generics
BNR Guide to iOS
BNR Guide to Swift
iOS & Swift Courses

Subscribers Only

Transcripts are for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

If you get stuck, try starting a discussion with Big Nerd Ranch experts in the community tab.

Related Screencasts

Explore other screencasts related to this topic.