Latest 0.1.2
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors ,

CI Status
Carthage compatible

What is it

A small library to display resolution-independent, intelligently-scaled transit icons.


To run the example project, clone the repo, and run pod install from the Example directory first.

$ git clone
$ cd Example
$ pod install

To display a transit icon, create a UCTransitLine, and then use it to create a UCTransitIconView. For example, to display an icon for the NYC subway 6 Express line:

UCTransitLine *line = [[UCTransitLine alloc] initWithSystem:UCTransitSystemNYCSubway line:@"6X"];
UCTransitIconView *iconView = [[UCTransitIconView alloc] initWithLine:line];

Note that UCTransitIconView may display a different line after instantiation:

[iconView setLine:[[UCTransitLine alloc] initWithSystem:UCTransitSystemNYCSubway line:@"A"]];


Cocoapods is required to install dependencies for this project.

$ sudo gem install cocoapods


UCTransitWidgets is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "UCTransitWidgets"


Jerry Wong, [email protected]

James Paolantonio, [email protected]


UCTransitWidgets is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "UCTransitWidgets",
    "version": "0.1.2",
    "summary": "A small library to display resolution-independent transit line icons.",
    "description": "UCTransitWidgets is a small library to help display accurately-styled, resolution-independent icons for various transit systems. It currently supports the NYC subway and the DC metro.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Jerry Wong": "[email protected]",
        "James Paolantonio": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.2"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resource_bundles": {
        "UCTransitWidgets": [
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": "UIKit"

Pin It on Pinterest

Share This