You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't look like a BonMot issue, but I think I can help anyway. The issue is that you're trying to call an initializer for DetailsJobView that doesn't exist. You're calling DetailsJobView(details: details), which is shorthand for DetailsJobView.init(details: details). Calling the initializer only works if you implement it, something like this:
// Add a variable so the view can store the Detailsletdetails:Detailsinit(details:Details){self.details = details
}
Note: I don't have the source code for CoreView, which is the base class for DetailsJobView. If it already has the appropriate initializer in the superclass, then nothing I've said is relevant, and I don't know what the problem is 😁
I'm getting this error in the AppDelegate, but I'm not sure what the problem might be. Any help is appreciated, thanks!
(the exact line that has the error is: "let detailsViewModel = DetailsJobView(details: details)" in the "private func loadDetails" section)
Btw, the error underlines the "d" in the second "details" in (details: details)
I've noted it in the code, but it might be hard to find.
Here is the DetailsJobView:
The text was updated successfully, but these errors were encountered: