Skip to content

A label that lets you change its text with a cool flip animation.

License

Notifications You must be signed in to change notification settings

dunkmann00/Flip-Label

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flip-label

A label that lets you change its text with a cool flip animation.

GWFlipLabel is a subclass of UIView that is very similar to a UILabel. GWFlipLabel implements a read-only text view. You can draw one line of static text that is styled using the other properties of this class. All of the styling properties are applied to the entire string in the text property.

New label objects are configured to disregard user events by default. If you want to attatch a gesture to a GWFlipLabel, you must explicitly change the value of the userInteractionEnabled property to YES after initializing the object.

GWFlipLabel adds functionality to animate new text onto the screen. The old text will fade out and the new text will flip up onto the screen character by character.

The Xcode project in the repository has a working example of the flip label in use. This demo is a screen recording from the project.

About

A label that lets you change its text with a cool flip animation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published