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

[Setting] Tuist 세팅 #14

Merged
merged 1 commit into from
Jan 12, 2025
Merged
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
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,17 @@ graph.dot
Derived/

### Tuist managed dependencies ###
Tuist/.build
Tuist/.build

# XCconfig
**.xcconfig

# Signing
Signing/
master.key

# PList
# => 전체 plist를 다 제외함.
# **/*.plist
# Support/*.plist
GoogleService-Info.plist
15 changes: 14 additions & 1 deletion TnT/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,17 @@ graph.dot
Derived/

### Tuist managed dependencies ###
Tuist/.build
Tuist/.build

# XCconfig
**.xcconfig

# Signing
Signing/
master.key

# PList
# => 전체 plist를 다 제외함.
# **/*.plist
# Support/*.plist
GoogleService-Info.plist
2 changes: 1 addition & 1 deletion TnT/.mise.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[tools]
tuist = "4.13.0"
tuist = "latest"
31 changes: 0 additions & 31 deletions TnT/Project.swift

This file was deleted.

13 changes: 13 additions & 0 deletions TnT/Projects/DI/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Project.swift
// Packages
//
// Created by 박서연 on 1/3/25.
//

@preconcurrency import ProjectDescription
@preconcurrency import ProjectDescriptionHelpers

let project = Project.module(name: "DI", resources: false)


8 changes: 8 additions & 0 deletions TnT/Projects/DI/Sources/DISoureDummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// DISoureDummy.swift
// Packages
//
// Created by 박서연 on 1/4/25.
//

import Foundation
11 changes: 11 additions & 0 deletions TnT/Projects/Data/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//
// Project.swift
// Packages
//
// Created by 박서연 on 1/3/25.
//

@preconcurrency import ProjectDescription
@preconcurrency import ProjectDescriptionHelpers

let project = Project.module(name: "Data", resources: false)
8 changes: 8 additions & 0 deletions TnT/Projects/Data/Sources/DataSoureDummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// DataSoureDummy.swift
// Packages
//
// Created by 박서연 on 1/4/25.
//

import Foundation
11 changes: 11 additions & 0 deletions TnT/Projects/DesignSystem/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//
// Project.swift
// Packages
//
// Created by 박서연 on 1/3/25.
//

@preconcurrency import ProjectDescription
@preconcurrency import ProjectDescriptionHelpers

let project = Project.module(name: "DesignSystem", resources: true)
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// DesignSystemSoureDummy.swift
// Packages
//
// Created by 박서연 on 1/4/25.
//

import Foundation
12 changes: 12 additions & 0 deletions TnT/Projects/Domain/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Project.swift
// Packages
//
// Created by 박서연 on 1/3/25.
//

@preconcurrency import ProjectDescription
@preconcurrency import ProjectDescriptionHelpers

let project = Project.module(name: "Domain", resources: false)

8 changes: 8 additions & 0 deletions TnT/Projects/Domain/Sources/DomainSoureDummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// DomainSoureDummy.swift
// Packages
//
// Created by 박서연 on 1/4/25.
//

import Foundation
12 changes: 12 additions & 0 deletions TnT/Projects/Presentation/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Project.swift
// Packages
//
// Created by 박서연 on 1/3/25.
//

@preconcurrency import ProjectDescription
@preconcurrency import ProjectDescriptionHelpers

let project = Project.module(name: "Presentation", resources: false)

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// PresentationSoureDummy.swift
// Packages
//
// Created by 박서연 on 1/4/25.
//

import Foundation
11 changes: 11 additions & 0 deletions TnT/Projects/TnTApp/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//
// Project.swift
// Packages
//
// Created by 박서연 on 1/3/25.
//

@preconcurrency import ProjectDescription
@preconcurrency import ProjectDescriptionHelpers

let project = Project.app
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "tinted"
}
],
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions TnT/Projects/TnTApp/Resources/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
31 changes: 31 additions & 0 deletions TnT/Projects/TnTApp/Sources/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
//
// AppDelegate.swift
// TnT
//
// Created by 박서연 on 1/4/25.
// Copyright © 2025 yapp25-app2team. All rights reserved.
//

import UIKit

class AppDelegate: UIResponder, UIApplicationDelegate {

func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
return true
}

// MARK: UISceneSession Lifecycle
func application(
_ application: UIApplication,
configurationForConnecting connectingSceneSession: UISceneSession,
options: UIScene.ConnectionOptions
) -> UISceneConfiguration {
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}

func application(
_ application: UIApplication,
didDiscardSceneSessions sceneSessions: Set<UISceneSession>
) {}
}
38 changes: 38 additions & 0 deletions TnT/Projects/TnTApp/Sources/Application/SceneDelegate.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//
// SceneDelegate.swift
// TnT
//
// Created by 박서연 on 1/4/25.
// Copyright © 2025 yapp25-app2team. All rights reserved.
//

import UIKit

class SceneDelegate: UIResponder, UIWindowSceneDelegate {

var window: UIWindow?

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard (scene is UIWindowScene) else { return }
}

func sceneDidDisconnect(_ scene: UIScene) {
// 사용자가 앱을 종료할 때 실행되는 코드
}

func sceneDidBecomeActive(_ scene: UIScene) {
// 앱이 활성화되어 사용 가능한 상태가 되었을 때 실행되는 코드
}

func sceneWillResignActive(_ scene: UIScene) {
// 앱이 비활성화되어 일시 중지된 상태가 될 때 실행되는 코드
}

func sceneWillEnterForeground(_ scene: UIScene) {
// 앱이 백그라운드에서 포그라운드로 전환되기 직전에 실행되는 코드
}

func sceneDidEnterBackground(_ scene: UIScene) {
// 앱이 백그라운드로 들어갔을 때 실행되는 코드
}
}
19 changes: 19 additions & 0 deletions TnT/Projects/TnTApp/Sources/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// ContentView.swift
// TnTAPP
//
// Created by 박서연 on 1/4/25.
// Copyright © 2025 yapp25-app2team. All rights reserved.
//

import SwiftUI

struct ContentView: View {
var body: some View {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}

#Preview {
ContentView()
}
Loading