Is there any way to give Swift‘s Set a custom comparator? I‘d like to keep a list of objects based on a particular property, so I can‘t use Comparable because that looks at all properties.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!