"Unknown class MTMCheckbox in Interface Builder file"
The 3 involved class where:
MTMMatchDetailViewController (ObjC)
MTMAvailabilityCell (Swift file + XIB)
MTMCheckbox (Swift file)
The error comes from MTMAvailabilityCell XIB.
This was the class definition for my MTMCheckbox.swift:
Thanks to this StackOverflow thread and the user1760527's answer I was able to fix adding (MTMCheckbox) after the notation @obj:
I hope this can help someone else having the same issue.
Nessun commento:
Posta un commento