-
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.
- 피처 별 vc 생성 - 타겟 나누기 - tuist 적용 - 프리뷰 적용
- Loading branch information
Showing
31 changed files
with
901 additions
and
46 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
11 changes: 11 additions & 0 deletions
11
Nagaza/Resources/Assets.xcassets/AccentColor.colorset/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,11 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
Nagaza/Resources/Assets.xcassets/AppIcon.appiconset/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,98 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "2x", | ||
"size" : "20x20" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "3x", | ||
"size" : "20x20" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "2x", | ||
"size" : "29x29" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "3x", | ||
"size" : "29x29" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "2x", | ||
"size" : "40x40" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "3x", | ||
"size" : "40x40" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "2x", | ||
"size" : "60x60" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"scale" : "3x", | ||
"size" : "60x60" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "1x", | ||
"size" : "20x20" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "2x", | ||
"size" : "20x20" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "1x", | ||
"size" : "29x29" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "2x", | ||
"size" : "29x29" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "1x", | ||
"size" : "40x40" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "2x", | ||
"size" : "40x40" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "1x", | ||
"size" : "76x76" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "2x", | ||
"size" : "76x76" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"scale" : "2x", | ||
"size" : "83.5x83.5" | ||
}, | ||
{ | ||
"idiom" : "ios-marketing", | ||
"scale" : "1x", | ||
"size" : "1024x1024" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 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,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 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,27 @@ | ||
// | ||
// LoginViewController.swift | ||
// Nagaza | ||
// | ||
// Created by SeungMin on 2023/10/18. | ||
// | ||
|
||
import UIKit | ||
|
||
final class LoginViewController: UIViewController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
view.backgroundColor = .orange | ||
} | ||
} | ||
|
||
#if DEBUG | ||
import SwiftUI | ||
|
||
struct LoginViewControllerPreview: PreviewProvider { | ||
static var previews: some View { | ||
let viewController = LoginViewController() | ||
return viewController.toPreView() | ||
} | ||
} | ||
#endif |
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,27 @@ | ||
// | ||
// MainViewController.swift | ||
// Nagaza | ||
// | ||
// Created by SeungMin on 2023/10/18. | ||
// | ||
|
||
import UIKit | ||
|
||
final class MainViewController: UIViewController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
} | ||
} | ||
|
||
#if DEBUG | ||
import SwiftUI | ||
|
||
struct MainViewControllerPreview: PreviewProvider { | ||
static var previews: some View { | ||
let viewController = MainViewController() | ||
return viewController.toPreView() | ||
} | ||
} | ||
#endif |
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,29 @@ | ||
// | ||
// MapViewController.swift | ||
// Nagaza | ||
// | ||
// Created by SeungMin on 2023/10/18. | ||
// | ||
|
||
import UIKit | ||
|
||
final class MapViewController: UIViewController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
view.backgroundColor = .blue | ||
|
||
view.addSubview(MapView(frame: CGRect(x: 0, y: 0, width: 300, height: 300))) | ||
} | ||
} | ||
|
||
#if DEBUG | ||
import SwiftUI | ||
|
||
struct MapViewControllerPreview: PreviewProvider { | ||
static var previews: some View { | ||
let viewController = MapViewController() | ||
return viewController.toPreView() | ||
} | ||
} | ||
#endif |
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,73 @@ | ||
// | ||
// MapView.swift | ||
// Nagaza | ||
// | ||
// Created by SeungMin on 2023/10/19. | ||
// | ||
|
||
import UIKit | ||
import SnapKit | ||
|
||
final class MapView: UIView { | ||
|
||
let stackView: UIStackView = { | ||
let stackView = UIStackView() | ||
stackView.axis = .vertical | ||
stackView.spacing = 8 | ||
stackView.backgroundColor = .orange | ||
return stackView | ||
}() | ||
|
||
let titleLabel: UILabel = { | ||
let label = UILabel() | ||
label.text = "우아아아아" | ||
return label | ||
}() | ||
|
||
let subLabel: UILabel = { | ||
let label = UILabel() | ||
label.text = "우아아아아" | ||
return label | ||
}() | ||
|
||
init() { | ||
super.init(frame: .zero) | ||
setup() | ||
} | ||
|
||
override init(frame: CGRect) { | ||
super.init(frame: frame) | ||
setup() | ||
} | ||
|
||
required init?(coder: NSCoder) { | ||
fatalError("init(coder:) has not been implemented") | ||
} | ||
|
||
func setup() { | ||
self.translatesAutoresizingMaskIntoConstraints = false | ||
|
||
self.addSubview(stackView) | ||
stackView.snp.makeConstraints { | ||
$0.centerX.equalToSuperview() | ||
$0.centerY.equalToSuperview() | ||
} | ||
|
||
stackView.addArrangedSubviews([ | ||
titleLabel, subLabel | ||
]) | ||
} | ||
} | ||
|
||
#if DEBUG | ||
import SwiftUI | ||
|
||
struct CarouselViewPreview: PreviewProvider { | ||
static var previews: some View { | ||
MapView() | ||
.toPreView() | ||
.frame(width: 0, | ||
height: 200) | ||
} | ||
} | ||
#endif |
Oops, something went wrong.