Skip to content

Commit

Permalink
First workable version
Browse files Browse the repository at this point in the history
  • Loading branch information
chishui committed Oct 17, 2020
1 parent 3a69bfe commit 9f5d6e9
Show file tree
Hide file tree
Showing 13 changed files with 685 additions and 2 deletions.
92 changes: 92 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
.DS_Store

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
#
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/
Empty file added README.md
Empty file.
70 changes: 69 additions & 1 deletion WallpaperSplit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
1E6D5A2E252A794F004E7EF7 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A2D252A794F004E7EF7 /* main.swift */; };
1E6D5A3A252A7B7D004E7EF7 /* ArgumentParser in Frameworks */ = {isa = PBXBuildFile; productRef = 1E6D5A39252A7B7D004E7EF7 /* ArgumentParser */; };
1E6D5A3E252A7DDC004E7EF7 /* MonitorInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A3D252A7DDC004E7EF7 /* MonitorInfo.swift */; };
1E6D5A42252AC822004E7EF7 /* SQLite in Frameworks */ = {isa = PBXBuildFile; productRef = 1E6D5A41252AC822004E7EF7 /* SQLite */; };
1E6D5A45252ADA6E004E7EF7 /* NSImageExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A44252ADA6E004E7EF7 /* NSImageExtensions.swift */; };
1E6D5A48252C1119004E7EF7 /* Wallpaper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A47252C1119004E7EF7 /* Wallpaper.swift */; };
1E6D5A4B252C1E00004E7EF7 /* Screen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A4A252C1E00004E7EF7 /* Screen.swift */; };
1E6D5A4E252C2422004E7EF7 /* ImageCutter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A4D252C2422004E7EF7 /* ImageCutter.swift */; };
1E6D5A5225301D4D004E7EF7 /* PathHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6D5A5125301D4D004E7EF7 /* PathHelper.swift */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -25,13 +33,21 @@
/* Begin PBXFileReference section */
1E6D5A2A252A794F004E7EF7 /* WallpaperSplit */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = WallpaperSplit; sourceTree = BUILT_PRODUCTS_DIR; };
1E6D5A2D252A794F004E7EF7 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
1E6D5A3D252A7DDC004E7EF7 /* MonitorInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MonitorInfo.swift; sourceTree = "<group>"; };
1E6D5A44252ADA6E004E7EF7 /* NSImageExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NSImageExtensions.swift; sourceTree = "<group>"; };
1E6D5A47252C1119004E7EF7 /* Wallpaper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Wallpaper.swift; sourceTree = "<group>"; };
1E6D5A4A252C1E00004E7EF7 /* Screen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Screen.swift; sourceTree = "<group>"; };
1E6D5A4D252C2422004E7EF7 /* ImageCutter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageCutter.swift; sourceTree = "<group>"; };
1E6D5A5125301D4D004E7EF7 /* PathHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PathHelper.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
1E6D5A27252A794F004E7EF7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
1E6D5A42252AC822004E7EF7 /* SQLite in Frameworks */,
1E6D5A3A252A7B7D004E7EF7 /* ArgumentParser in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -58,6 +74,12 @@
isa = PBXGroup;
children = (
1E6D5A2D252A794F004E7EF7 /* main.swift */,
1E6D5A3D252A7DDC004E7EF7 /* MonitorInfo.swift */,
1E6D5A44252ADA6E004E7EF7 /* NSImageExtensions.swift */,
1E6D5A47252C1119004E7EF7 /* Wallpaper.swift */,
1E6D5A4A252C1E00004E7EF7 /* Screen.swift */,
1E6D5A4D252C2422004E7EF7 /* ImageCutter.swift */,
1E6D5A5125301D4D004E7EF7 /* PathHelper.swift */,
);
path = WallpaperSplit;
sourceTree = "<group>";
Expand All @@ -78,6 +100,10 @@
dependencies = (
);
name = WallpaperSplit;
packageProductDependencies = (
1E6D5A39252A7B7D004E7EF7 /* ArgumentParser */,
1E6D5A41252AC822004E7EF7 /* SQLite */,
);
productName = WallpaperSplit;
productReference = 1E6D5A2A252A794F004E7EF7 /* WallpaperSplit */;
productType = "com.apple.product-type.tool";
Expand Down Expand Up @@ -105,6 +131,10 @@
Base,
);
mainGroup = 1E6D5A21252A794F004E7EF7;
packageReferences = (
1E6D5A38252A7B7D004E7EF7 /* XCRemoteSwiftPackageReference "swift-argument-parser" */,
1E6D5A40252AC822004E7EF7 /* XCRemoteSwiftPackageReference "SQLite" */,
);
productRefGroup = 1E6D5A2B252A794F004E7EF7 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand All @@ -119,6 +149,12 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1E6D5A5225301D4D004E7EF7 /* PathHelper.swift in Sources */,
1E6D5A4B252C1E00004E7EF7 /* Screen.swift in Sources */,
1E6D5A3E252A7DDC004E7EF7 /* MonitorInfo.swift in Sources */,
1E6D5A4E252C2422004E7EF7 /* ImageCutter.swift in Sources */,
1E6D5A45252ADA6E004E7EF7 /* NSImageExtensions.swift in Sources */,
1E6D5A48252C1119004E7EF7 /* Wallpaper.swift in Sources */,
1E6D5A2E252A794F004E7EF7 /* main.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -285,6 +321,38 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
1E6D5A38252A7B7D004E7EF7 /* XCRemoteSwiftPackageReference "swift-argument-parser" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/apple/swift-argument-parser";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.3.1;
};
};
1E6D5A40252AC822004E7EF7 /* XCRemoteSwiftPackageReference "SQLite" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/stephencelis/SQLite.swift";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.12.2;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
1E6D5A39252A7B7D004E7EF7 /* ArgumentParser */ = {
isa = XCSwiftPackageProductDependency;
package = 1E6D5A38252A7B7D004E7EF7 /* XCRemoteSwiftPackageReference "swift-argument-parser" */;
productName = ArgumentParser;
};
1E6D5A41252AC822004E7EF7 /* SQLite */ = {
isa = XCSwiftPackageProductDependency;
package = 1E6D5A40252AC822004E7EF7 /* XCRemoteSwiftPackageReference "SQLite" */;
productName = SQLite;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 1E6D5A22252A794F004E7EF7 /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "SQLite.swift",
"repositoryURL": "https://github.com/stephencelis/SQLite.swift",
"state": {
"branch": null,
"revision": "0a9893ec030501a3956bee572d6b4fdd3ae158a1",
"version": "0.12.2"
}
},
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "92646c0cdbaca076c8d3d0207891785b3379cbff",
"version": "0.3.1"
}
}
]
},
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1E6D5A29252A794F004E7EF7"
BuildableName = "WallpaperSplit"
BlueprintName = "WallpaperSplit"
ReferencedContainer = "container:WallpaperSplit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1E6D5A29252A794F004E7EF7"
BuildableName = "WallpaperSplit"
BlueprintName = "WallpaperSplit"
ReferencedContainer = "container:WallpaperSplit.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "/Users/xiuliyun/Downloads/wallpaper/wallhaven-73yk2e.png"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1E6D5A29252A794F004E7EF7"
BuildableName = "WallpaperSplit"
BlueprintName = "WallpaperSplit"
ReferencedContainer = "container:WallpaperSplit.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,40 @@
<dict>
<key>SchemeUserState</key>
<dict>
<key>SQLite (Playground) 1.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>SQLite (Playground) 2.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>3</integer>
</dict>
<key>SQLite (Playground).xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>1</integer>
</dict>
<key>WallpaperSplit.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>1E6D5A29252A794F004E7EF7</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit 9f5d6e9

Please sign in to comment.