Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Can't subclass UILabel to BBCyclingLabel #9

Open
jacobokoenig opened this issue Oct 20, 2016 · 2 comments
Open

Can't subclass UILabel to BBCyclingLabel #9

jacobokoenig opened this issue Oct 20, 2016 · 2 comments

Comments

@jacobokoenig
Copy link

When I try to subclass my regular label on the identity inspector on the storyboard, it does not autocomplete the class as it usually does. Later on runtime it crashes because it can't make sense of the label.

This was installed using Cocoapods, XCode 8 and Swift 3.

@waltermvp
Copy link

@jacobo360 ever figure this out?

@waltermvp
Copy link

@jacobo360 So just figured out that BBCyclingLabel is not a subclass of UILabel, but rather UIView. If you drag a plain old view into interface builder you can subclass from BBCyclingLabel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants