This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UIView { | |
/** | |
Searches for superview with specified type in view hierarchy | |
let cell = button.superviewOfType(UITableViewCell.self) | |
- Parameter type: Type of superview | |
- Returns: A superview of specified type | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Available fonts (use `grep -r "internalname" /usr/share/groff/1.19.2/font/devps/` to get the list): | |
# | |
# AB:AvantGarde-Demi | |
# ABI:AvantGarde-DemiOblique | |
# AI:AvantGarde-BookOblique | |
# AR:AvantGarde-Book | |
# BMB:Bookman-Demi | |
# BMBI:Bookman-DemiItalic |