-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#6 feat: NavigationBarController 생성 및 RootViewController로 지정
- Loading branch information
Showing
12 changed files
with
114 additions
and
72 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 was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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,19 @@ | ||
// | ||
// UIColor+Extention.swift | ||
// airbnb | ||
// | ||
// Created by Jihee hwang on 2022/05/25. | ||
// | ||
|
||
import UIKit | ||
|
||
extension UIColor { | ||
static let grey1 = UIColor(red: 51 / 255, green: 51 / 255, blue: 51 / 255, alpha: 1) | ||
static let grey2 = UIColor(red: 79 / 255, green: 79 / 255, blue: 79 / 255, alpha: 1) | ||
static let grey3 = UIColor(red: 130 / 255, green: 130 / 255, blue: 130 / 255, alpha: 1) | ||
static let grey4 = UIColor(red: 189 / 255, green: 189 / 255, blue: 189 / 255, alpha: 1) | ||
static let grey5 = UIColor(red: 244 / 255, green: 244 / 255, blue: 244 / 255, alpha: 1) | ||
static let grey6 = UIColor(red: 245 / 255, green: 245 / 255, blue: 247 / 255, alpha: 1) | ||
static let primary = UIColor(red: 232 / 255, green: 76 / 255, blue: 96 / 255, alpha: 1) | ||
static let secondary = UIColor(red: 17 / 255, green: 137 / 255, blue: 23 / 255, alpha: 1) | ||
} |
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,38 @@ | ||
// | ||
// HeaderViewController.swift | ||
// airbnb | ||
// | ||
// Created by Jihee hwang on 2022/05/25. | ||
// | ||
|
||
import UIKit | ||
import SnapKit | ||
|
||
class HeaderViewController: UIViewController { | ||
|
||
private let underLineView: UIView = { | ||
let view = UIView() | ||
view.backgroundColor = .grey4 | ||
return view | ||
}() | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
configureView() | ||
layout() | ||
} | ||
|
||
private func configureView() { | ||
view.backgroundColor = .white | ||
} | ||
|
||
private func layout() { | ||
view.addSubview(underLineView) | ||
|
||
underLineView.snp.makeConstraints { | ||
$0.top.leading.trailing.equalTo(view.safeAreaLayoutGuide) | ||
$0.height.equalTo(1) | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.