Closed hbshih closed 4 years ago
Xcode is a forking piece of shiiiit while I'm thinking about code errors. Clean, exit, quiet xcode, reboot, restart. Then you will see something like this:
Hi,
Does anyone got the same error message when using this library in Swift 4.5, iOS 10.1?
when running the following code: import LTMorphingLabel class { self.lblStart?.text = ""
if let effect = LTMorphingEffect(rawValue: 4)
{
self.lblStart.morphingEffect = effect
self.lblStart?.text = "START."
self.lblStart?.morphingEffect = effect
}
}
error : Unknown class LTMorphingLabel in Interface Builder file.
Make sure that in your Storyboard, you are setting the Module to LTMorphingLabel (image below). This solved the problem for me.
Hi,
Does anyone got the same error message when using this library in Swift 4, iOS 10+?
I got
When running the following code:
import LTMorphingLabel class WelcomePageViewController: UIViewController,LTMorphingLabelDelegate { @IBOutlet weak var welcomeText: LTMorphingLabel! override func viewDidLoad() { super.viewDidLoad() welcomeText.delegate = self welcomeText.morphingEnabled = true welcomeText.morphingDuration = 3.0 welcomeText.morphingEffect = effect } }