This file contains 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
// definition | |
protocol Human { | |
var food: String { get } | |
func speak(_ str: String) | |
func interact() -> String | |
func eat() | |
} | |
// adoption |
This file contains 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
## Aliases | |
# [A] bash profile | |
alias bp="vim ~/.bash_profile" | |
alias sbp="source ~/.bash_profile" | |
# [A] folder paths | |
## PRIVATE ## | |
# [A] git | |
alias g.="git add ." |
This file contains 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
// Created by Jessica Joseph on 4/17/18. | |
// Copyright © 2018 TFH. All rights reserved. | |
import UIKit | |
@IBDesignable | |
class PieView: UIView { | |
var backgroundLayer: CAShapeLayer! | |
@IBInspectable var backgroundLayerColor: UIColor? = UIColor.darkGray { |
This file contains 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
public class MyApp extends Application { | |
@Override | |
public void onCreate() { | |
TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf | |
} | |
} |