RealmSeeder

public protocol RealmSeeder

This protocol defines a seeder for Realm Database.

  • This init is used before running this seeder.

    Declaration

    Swift

    init()
  • Seed the Realm database.

    Declaration

    Swift

    func run(realm: Realm) throws

    Parameters

    realm

    the Realm database to seed.