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
import UIKit | |
@IBDesignable | |
class CustomizedTabBar: UITabBar { | |
private var shapeLayer: CALayer? | |
private func addShape() { | |
let shapeLayer = CAShapeLayer() |
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
// View | |
class aViewController: UIViewController, aViewProtocl { | |
var presenter: aPresenterProtocol? | |
} | |
protocol aViewProtocol: class { | |
var presenter: aPresenterProtocl? { get set } |
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
// | |
// HomeTabbar.swift | |
// Alamofire | |
// | |
// Created by DoanDuyPhuong on 6/29/20. | |
// | |
import Foundation | |
import UIKit |
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
// | |
// HomeTabbar.swift | |
// Alamofire | |
// | |
// Created by DoanDuyPhuong on 6/29/20. | |
// | |
import Foundation | |
import UIKit |