ClassyKit / Classy

Expressive, flexible, and powerful stylesheets for UIView and friends.
http://classykit.github.io/Classy/
MIT License
740 stars 76 forks source link

How to make Classy work with UIPopoverController? #77

Closed imoreapps closed 7 years ago

imoreapps commented 10 years ago

Below is the stylesheet, but it doesn't work. Any help would be greatly appreciated.

UIPopoverController UINavigationBar { title-text-attributes: @{ font: HelveticaNeue-Medium 16 foreground-color: black background-color: white stroke-color: black } }

UIPopoverController UIBarButtonItem { title-text-attributes: @{ font: HelveticaNeue 14 foreground-color: black background-color: white stroke-color: black } }

cloudkite commented 10 years ago

Sorry for the late reply. Could be that UIPopoverController has a different lifecycle to normal viewcontrollers? Have you tried using this on a different view controller? Really hard to say whats going on without seeing some kind of sample project

dnedrow commented 7 years ago

@iMoreApps , are you able to provide a small sample project demonstrating this?

imoreapps commented 7 years ago

@dnedrow, Classy is no longer actively maintained, so we don't use it anymore, sorry about that.