Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

글쓰기 페이지 카테고리 선택 페이지 퍼블리싱 #15

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
288 changes: 283 additions & 5 deletions Idea-Archive.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,21 @@
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "EE374F23-9E1C-4710-84C9-C129F9AFD752"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../../../Library/Developer/Xcode/DerivedData/Idea-Archive-ggovgtwiboncuyfmoexrxxbgdcsh/SourcePackages/checkouts/junseopark-AEOTPTextField/AEOTPTextFieldExample/App/AppDelegate.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "14"
endingLineNumber = "14"
landmarkName = "AppDelegate"
landmarkType = "3">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,69 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>Rx (Playground) 1.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>5</integer>
</dict>
<key>Rx (Playground) 2.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>6</integer>
</dict>
<key>Rx (Playground).xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>4</integer>
</dict>
<key>SnapKitPlayground (Playground) 1.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>SnapKitPlayground (Playground) 2.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>3</integer>
</dict>
<key>SnapKitPlayground (Playground) 3.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>SnapKitPlayground (Playground) 4.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>5</integer>
</dict>
<key>SnapKitPlayground (Playground) 5.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>6</integer>
</dict>
<key>SnapKitPlayground (Playground).xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
Binary file modified Idea-Archive/Resources/.DS_Store
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Apple.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Fail.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Github.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Google.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "KakaoTalk.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 1 addition & 9 deletions Idea-Archive/Sources/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// AppDelegate.swift
// Idea-Archive
//
// Created by 박준서 on 2023/04/25.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {




func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
Expand Down
2 changes: 1 addition & 1 deletion Idea-Archive/Sources/Application/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let windowScene = (scene as? UIWindowScene) else { return }
window = UIWindow(windowScene: windowScene)
// window?.rootViewController = UINavigationController(rootViewController: LoginViewController())
window?.rootViewController = UINavigationController(rootViewController: FailAuthViewController())
window?.makeKeyAndVisible()
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import UIKit

public final class AdditionalButton: UIButton{

override init(frame: CGRect) {
super.init(frame: frame)
setupView()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
setupView()
}

func setupView(){
backgroundColor = .white
titleLabel?.font = .I_A(size: 13, family: .medium)
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import UIKit

public final class NextStepButton: UIButton{

override init(frame: CGRect) {
super.init(frame: frame)
setupView()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
setupView()
}

func setupView(){
titleLabel?.font = .I_A(size: 18, family: .semiBold)
setTitleColor(UIColor(rgb: 0xFFFFFF), for: .normal)
layer.cornerRadius = 10
clipsToBounds = true
}
}

8 changes: 8 additions & 0 deletions Idea-Archive/Sources/DesignSystem/Sources/Color/Color.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Color.swift
// Idea-Archive
//
// Created by 박준서 on 2023/05/30.
//

import Foundation
19 changes: 19 additions & 0 deletions Idea-Archive/Sources/DesignSystem/Sources/Font/Font.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import UIKit

extension UIFont {
enum Family: String {
case black = "Black",
bold = "Bold",
extraBold = "ExtraBold",
extraLight = "ExtraLight",
light = "Light",
medium = "Medium",
regular = "Regular",
semiBold = "SemiBold",
thin = "Thin"
}

static func I_A(size: CGFloat, family: Family) -> UIFont! {
return UIFont(name: "Pretendard-\(family.rawValue)", size: size)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import UIKit

public final class LargeTitleLabel: UILabel{

override init(frame: CGRect) {
super.init(frame: frame)
setupView()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
setupView()
}

func setupView(){
textAlignment = .left
font = .I_A(size: 24, family: .semiBold)
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import UIKit

public final class SmallTitleLabel: UILabel{

override init(frame: CGRect) {
super.init(frame: frame)
setupView()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
setupView()
}

func setupView(){
textAlignment = .center
font = .I_A(size: 14, family: .regular)
}
}
20 changes: 20 additions & 0 deletions Idea-Archive/Sources/DesignSystem/Sources/Label/TitleLabel.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import UIKit

public final class TitleLabel: UILabel{

override init(frame: CGRect) {
super.init(frame: frame)
setupView()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
setupView()
}

func setupView(){
textColor = UIColor(rgb: 0x42CC89)
textAlignment = .center
font = .I_A(size: 40, family: .bold)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import UIKit

public final class NormalTextField: UITextField{

init(placeholder: String) {
super.init(frame: .zero)
self.placeholder = placeholder
setupView()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
}

func setupView() {
borderStyle = .roundedRect
layer.cornerRadius = 10
backgroundColor = UIColor(rgb: 0xF1F1F5)
font = .I_A(size: 14, family: .regular)
setPlaceholderColor(UIColor(rgb: 0x999999))
}

}
Loading