Latest 1.3.0
License MIT
Platforms ios 11.0
Frameworks UIKit

GitHub license

Subclass of UITextView to present Star Wars style credits.
Includes original Star Wars font (News Gothic) and animation API to crawl from top to bottom slowly.

Note: Suggested to setup through Xib/Storyboard as CALayer transformations will disrupt AutoLayout constrainted frames. IBDesginables might help adjust view in screen

Podfile (for use with Cocoapods)

pod 'StarWarsTextView'


Initilize via code or XIB/Storyboard


protocol StarWarsTextViewDelegate : NSObjectProtocol
    optional func starWarsTextViewDidStartScrolling(_ textView:StarWarsTextView)
    optional func starWarsTextViewDidFinishScrolling(_ textView:StarWarsTextView)

Public Properties

public static func starWarsFont() -> UIFont

public weak var starWarsDelegate: StarWarsTextViewDelegate?
public var scrollingSpeed: CGFloat
public var animationStepsInterval: TimeInterval
public var inclinationRatio: CGFloat
public var xAngle: CGFloat
public var isCrawling: Bool

Public Functions

public func scrollToTop(animated: Bool = false)
public func startCrawlingAnimation()
public func stopCrawlingAnimation()


simulator screen shot - iphone se - 2018-02-20 at 12 02 43 simulator screen shot - iphone se - 2018-02-20 at 12 02 36


Latest podspec

    "name": "StarWarsTextView",
    "version": "1.3.0",
    "summary": "Shows Star Wars intro style Text View",
    "swift_version": "4.0",
    "description": "Did You ever thought how cool would be to show Star Wars intro running text in your app? It is now possible more than ever! Join the war between white and black pew pew soldiers and emerge into fantasy world of Star Wars!",
    "homepage": "",
    "screenshots": [
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Paulius Vindzigelskis": "p.vind[email protected]"
    "source": {
        "git": "",
        "tag": "1.3.0"
    "platforms": {
        "ios": "11.0"
    "source_files": "Library/*.swift",
    "resources": "Library/*.otf",
    "frameworks": "UIKit"

Pin It on Pinterest

Share This