Heres my code
it just says preview crashed it was working earlier today i messed up that code so i restarted but the preview still wont work
//
// OnboardingView.swift
// Yapper
//
// Created by Aarush Kamat on 6/27/24.
//
import SwiftUI
import RiveRuntime
struct OnboardingView: View {
var body: some View {
RiveViewModel(fileName: "shapes").view()
}
}
#Preview {
OnboardingView()
}
I’ve tried reinstalling xcode and looking into more forums the never helped.
New contributor
Arktech is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.