Swift by Sundell cover image

80: “Lists and loops”, with special guest Nick Lockwood

Swift by Sundell

CHAPTER

Custom Data Structures

I think data structures are kind of generic. So they're not specific to a particular use case. A model is really a specific, you know, implementation or application of a data structure. I generally wouldn't do it for performance reasons. It's usually because the shape of your data just doesn't naturally fit into one of those patterns. In particular, I often find that I want something like an ordered set,. Or quite often you want a tree structure for things like a view hierarchy and so on.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner