-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e958eb
commit eefe1b0
Showing
11 changed files
with
411 additions
and
103 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// MTextFieldView.swift | ||
// eDoctorIOS | ||
// | ||
// Created by MeoMeo on 16/03/2022. | ||
// | ||
|
||
import UIKit | ||
|
||
class MTextFieldView: UIView { | ||
required init?(coder aDecoder: NSCoder) { | ||
super.init(coder: aDecoder) | ||
|
||
commonInit() | ||
} | ||
|
||
override init(frame: CGRect) { | ||
super.init(frame: frame) | ||
} | ||
|
||
let nibName = "MTextFieldView" | ||
|
||
func commonInit() { | ||
guard let view = loadViewFromNib() else { return } | ||
view.frame = bounds | ||
addSubview(view) | ||
} | ||
|
||
func loadViewFromNib() -> UIView? { | ||
let nib = UINib(nibName: nibName, bundle: nil) | ||
return nib.instantiate(withOwner: self, options: nil).first as? UIView | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// MyTextField.swift | ||
// eDoctorIOS | ||
// | ||
// Created by MeoMeo on 16/03/2022. | ||
// | ||
|
||
import UIKit | ||
|
||
class MyTextField: UIView { | ||
|
||
/* | ||
// Only override draw() if you perform custom drawing. | ||
// An empty implementation adversely affects performance during animation. | ||
override func draw(_ rect: CGRect) { | ||
// Drawing code | ||
} | ||
*/ | ||
|
||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// ProfileDetailVCViewController.swift | ||
// eDoctorIOS | ||
// | ||
// Created by MeoMeo on 15/03/2022. | ||
// | ||
|
||
import UIKit | ||
|
||
class ProfileDetailVC: UIViewController { | ||
var performIdentify: String? | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
navigationItem.title = "Cá nhân" | ||
navigationController?.navigationBar.topItem?.title = "" | ||
navigationController?.navigationBar.prefersLargeTitles = true | ||
} | ||
|
||
/* | ||
// MARK: - Navigation | ||
|
||
// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
// Get the new view controller using segue.destination. | ||
// Pass the selected object to the new view controller. | ||
} | ||
*/ | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
// | ||
|
||
import UIKit | ||
|
||
class TabController: UITabBarController { | ||
let requestData = ApiManager() | ||
|
||
|
Oops, something went wrong.