Skip to content

Not showing on pushview  #21

@mengheangrat

Description

@mengheangrat

` let cartBarButton: UIBarButtonItem = UIBarButtonItem(title: "Test", style: UIBarButtonItemStyle.Plain, target: self, action: nil)//#selector(self.toggleLeft))
let attributes = [NSFontAttributeName: UIFont.fontAwesomeOfSize(25)] as Dictionary!
cartBarButton.setTitleTextAttributes(attributes, forState: .Normal)
cartBarButton.title = String.fontAwesomeIconWithName(.ShoppingCart)
cartBarButton.tintColor = CommonMainColor
self.navigationItem.rightBarButtonItem = cartBarButton

    let hub:RKNotificationHub = RKNotificationHub(barButtonItem: cartBarButton)
    hub.increment()
    hub.count = 90
    hub.setCircleAtFrame(CGRectMake(15, -5, 20, 20))
    **hub.pop()`**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions