Swiftpack.co -  alfianlosari/TMDbMovieSwiftUIKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
alfianlosari/TMDbMovieSwiftUIKit
TMDb SwiftUI wrapper for View and View Model using SPM and TMDBKit
.package(url: "https://github.com/alfianlosari/TMDbMovieSwiftUIKit.git", from: "0.2.3")

TMDBMovieSwiftUIKit

A TMDb SwiftUI View and View Model wrapper using TMDbMovieKit Library

Installation

  • Add the dependency to your target/project using Swift Package Manager
  • Import framework in your source

Features

  1. MovieListViewModel: an Observable Object that publishes movies, error, and isLoading propery. trigger fetching by invoking loadMovies passing the endpoint
  2. MovieViewModel: an Observable object that publishes movie, error, and isLoading property. trigger fetching by invoking loadMovie passing the movieId
  3. MovieListView: A SwiftUI List wrapping the MovieListViewModel
  4. MovieView: A SwiftUI View wrapping the MovieViewModel

GitHub

link
Stars: 0
Last commit: 1 year ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API