Skip to content

Commit

Permalink
📦 iOS 프로젝트 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftyJunnos committed Nov 14, 2023
1 parent 06eda98 commit cd6471c
Show file tree
Hide file tree
Showing 31 changed files with 723 additions and 0 deletions.
8 changes: 8 additions & 0 deletions iOS/MSCoreKit/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
59 changes: 59 additions & 0 deletions iOS/MSCoreKit/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

// MARK: - Constants

extension String {
static let package = "MSCoreKit"
static let persistentStorage = "MSPersistentStorage"
static let networking = "MSNetworking"
static let fetcher = "MSFetcher"
static let cache = "MSCacheStorage"

var testTarget: String {
return self + "Tests"
}
}

// MARK: - Package

let package = Package(
name: .package,
platforms: [
.iOS(.v15)
],
products: [
.library(name: .persistentStorage,
targets: [.persistentStorage]),
.library(name: .networking,
targets: [.networking]),
.library(name: .fetcher,
targets: [.fetcher]),
.library(name: .cache,
targets: [.cache])
],
targets: [
// Codes
.target(name: .persistentStorage),
.target(name: .networking),
.target(name: .fetcher,
dependencies: [
.target(name: .persistentStorage),
.target(name: .networking)
]),
.target(name: .cache),

// Tests
.testTarget(name: .persistentStorage.testTarget,
dependencies: [.target(name: .persistentStorage)]),
.testTarget(name: .networking.testTarget,
dependencies: [.target(name: .networking)]),
.testTarget(name: .fetcher.testTarget,
dependencies: [.target(name: .fetcher)]),
.testTarget(name: .cache.testTarget,
dependencies: [.target(name: .cache)])
],
swiftLanguageVersions: [.v5]
)
6 changes: 6 additions & 0 deletions iOS/MSCoreKit/Sources/MSCacheStorage/MSCacheStorage.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// MSCacheStorage.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//
6 changes: 6 additions & 0 deletions iOS/MSCoreKit/Sources/MSFetcher/MSFetcher.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// MSFetcher.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//
6 changes: 6 additions & 0 deletions iOS/MSCoreKit/Sources/MSNetworking/MSNetworking.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// MSNetworking.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// MSPersistentStorage.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//
12 changes: 12 additions & 0 deletions iOS/MSCoreKit/Tests/MSCacheStorageTests/MSCacheStorageTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// MSCacheStorageTests.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//

import XCTest

final class MSCacheStorageTests: XCTestCase {

}
12 changes: 12 additions & 0 deletions iOS/MSCoreKit/Tests/MSFetcherTests/MSFetcherTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// MSFetcherTests.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//

import XCTest

final class MSFetcherTests: XCTestCase {

}
12 changes: 12 additions & 0 deletions iOS/MSCoreKit/Tests/MSNetworkingTests/MSNetworkingTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// MSNetworkingTests.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//

import XCTest

final class MSNetworkingTests: XCTestCase {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MSPersistentStorageTests.swift
// MSCoreKit
//
// Created by 이창준 on 11/14/23.
//

import XCTest

final class MSPersistentStorageTests: XCTestCase {

}

8 changes: 8 additions & 0 deletions iOS/MSFoundation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FoundationExt"
BuildableName = "FoundationExt"
BlueprintName = "FoundationExt"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FoundationExt"
BuildableName = "FoundationExt"
BlueprintName = "FoundationExt"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FoundationExt"
BuildableName = "FoundationExt"
BlueprintName = "FoundationExt"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MSFoundation"
BuildableName = "MSFoundation"
BlueprintName = "MSFoundation"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MSLogger"
BuildableName = "MSLogger"
BlueprintName = "MSLogger"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MSLoggerTests"
BuildableName = "MSLoggerTests"
BlueprintName = "MSLoggerTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MSUserDefaults"
BuildableName = "MSUserDefaults"
BlueprintName = "MSUserDefaults"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MSLoggerTests"
BuildableName = "MSLoggerTests"
BlueprintName = "MSLoggerTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MSUserDefaultsTests"
BuildableName = "MSUserDefaultsTests"
BlueprintName = "MSUserDefaultsTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FoundationExt"
BuildableName = "FoundationExt"
BlueprintName = "FoundationExt"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit cd6471c

Please sign in to comment.