Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
internal struct FavoritesView : View
{
//// Request donde se obtiene todas las sesiones marcadas como **favoritas** por el usuario
@FetchRequest(fetchRequest: DataManager.shared.fetchRequestFavoriteSessions()) var favoriteSessions: FetchedResults<Favorite>
/// Vista
internal var body: some View
{
List(self.favoriteSessions) { favoriteSession in
FavoriteCellView(for: favoriteSession)
.padding([ .top, .bottom ], 8)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.