# Protocols in Swift With Core Data

DevFeed: [Protocols in Swift With Core Data](<https://devfeed.tech/articles/protocols-in-swift-with-core-data-37500.md>)

Original publisher: [Read original article](<https://www.cimgf.com/2014/10/29/protocols-in-swift-with-core-data/>)

Author: Matt Long

Published: 2014-10-29T16:52:07Z

Content type: tutorial

Language: en

Sources: [Cocoa Is My Girlfriend](<https://devfeed.tech/sources/cocoa-is-my-girlfriend.md>)

Topics: [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [classes](<https://devfeed.tech/topics/classes.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [classes](<https://devfeed.tech/tags/classes.md>), [code](<https://devfeed.tech/tags/code.md>), [core-data](<https://devfeed.tech/tags/core-data.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [swift](<https://devfeed.tech/tags/swift.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

## AI overview

A screencast demonstrates how to use Swift protocols with Core Data to display different managed object types generically in a table view controller.

## Source excerpt

Sometimes you have a set of objects you want to display in the same form-say, for example, in a table view controller. What if those objects have, by design, nothing in common and nothing to do with each other? This is a case where you can create and conform to a protocol-known in some languages [...]