This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from FooRun-EatDa/feature/matziptalk
디자인생성🪄: #28 게시판 페이지 UI 수정사항 반영
- Loading branch information
Showing
21 changed files
with
3,073 additions
and
2,893 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
EatDa/Assets.xcassets/Talk/default_gallery.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Group 26844.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "Group [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "Group [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+395 Bytes
EatDa/Assets.xcassets/Talk/default_gallery.imageset/Group 26844.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+624 Bytes
EatDa/Assets.xcassets/Talk/default_gallery.imageset/Group [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+747 Bytes
EatDa/Assets.xcassets/Talk/default_gallery.imageset/Group [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
EatDa/Assets.xcassets/Talk/matzip_category.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Group 3233.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "Group [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "Group [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.96 KB
EatDa/Assets.xcassets/Talk/matzip_category.imageset/Group [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.37 KB
EatDa/Assets.xcassets/Talk/matzip_category.imageset/Group [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
EatDa/Assets.xcassets/Talk/searchbar_left.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "search.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+982 Bytes
EatDa/Assets.xcassets/Talk/searchbar_left.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
74 changes: 74 additions & 0 deletions
74
EatDa/Scenes/Common/WritePost/WritePostViewController.swift
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,74 @@ | ||
// | ||
// WritePostViewController.swift | ||
// EatDa | ||
// | ||
// Created by 김희진 on 2022/04/05. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
import SnapKit | ||
|
||
class WritePostViewController: UIViewController { | ||
|
||
lazy var navView: UIView = { | ||
let view = UIView() | ||
return view | ||
}() | ||
|
||
lazy var navBackButton: UIButton = { | ||
let button = UIButton() | ||
button.setTitle("취소", for: .normal) | ||
button.setTitleColor(UIColor.mainTextColor, for: .normal) | ||
button.titleLabel?.font = UIFont.mySystemFont(ofSize: 15) | ||
return button | ||
}() | ||
|
||
lazy var navTitle: UILabel = { | ||
let label = UILabel() | ||
label.text = "작성하기" | ||
label.font = UIFont.myBoldSystemFont(ofSize: 15) | ||
return label | ||
}() | ||
|
||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
navigationController?.isNavigationBarHidden = true | ||
initUI() | ||
} | ||
|
||
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { | ||
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) | ||
hidesBottomBarWhenPushed = true | ||
} | ||
|
||
required init?(coder: NSCoder) { | ||
fatalError("init(coder:) has not been implemented") | ||
} | ||
|
||
func initUI() { | ||
view.addSubview(navView) | ||
navView.snp.makeConstraints { make in | ||
make.top.leading.trailing.equalTo(view.safeAreaLayoutGuide) | ||
make.height.equalTo(40) | ||
} | ||
|
||
navView.addSubview(navTitle) | ||
navTitle.snp.makeConstraints { make in | ||
make.center.equalToSuperview() | ||
} | ||
|
||
navView.addSubview(navBackButton) | ||
navBackButton.snp.makeConstraints { make in | ||
make.leading.equalToSuperview().offset(23) | ||
make.centerY.equalToSuperview() | ||
} | ||
navBackButton.addTarget(self, action: #selector(didTouchBack(_:)), for: .touchUpInside) | ||
|
||
} | ||
|
||
@objc func didTouchBack(_ sender: UIButton){ | ||
navigationController?.popViewController(animated: true) | ||
} | ||
} |
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
Oops, something went wrong.