AssetPersistable

public protocol AssetPersistable: ContentSysPersistable, Media

Conform to AssetPersistable protocol to enable mapping of your Contentful media Assets to your NSManagedObject subclass.

  • URL of the Asset.

    Declaration

    Swift

    var urlString: String?
  • The title of the Asset.

    Declaration

    Swift

    var title: String?
  • The description of the asset. Named assetDescription to avoid clashing with description property that all NSObject’s have.

    Declaration

    Swift

    var assetDescription: String?