UserRepositoryFactory

public final class UserRepositoryFactory

Class contains methods to get an instance of user repository

  • Returns the previously initialized instance of the RepositoryFactory object

    Declaration

    Swift

    public static var shared: UserRepositoryFactory { get }
  • Clears the UserRepositoryFactory singleton instance.

    Declaration

    Swift

    public static func clearInstance()
  • Gets an instance of user repository.

    Declaration

    Swift

    public func userRepository() -> UserRepository

    Return Value

    The UserRepository