Skip to content

Commit

Permalink
Merge pull request #25 from tophatmonocle/distribution/swift_package_…
Browse files Browse the repository at this point in the history
…manager_support

Swift package manager support
  • Loading branch information
ekscrypto authored Feb 9, 2022
2 parents c53cd57 + 015ce99 commit b33c69b
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 7 deletions.
44 changes: 38 additions & 6 deletions Base64.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
objects = {

/* Begin PBXBuildFile section */
0A883AFC266F663000DAF016 /* MF_Base64Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 0A883AFB266F663000DAF016 /* MF_Base64Additions.m */; };
0DA2A7C3158CC3EB00A9516B /* MF_AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA2A7C0158CC3EB00A9516B /* MF_AppDelegate.m */; };
0DA2A7C4158CC3EB00A9516B /* MF_Base64Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA2A7C2158CC3EB00A9516B /* MF_Base64Additions.m */; };
0DA2A7CB158CC40700A9516B /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0DA2A7C9158CC40700A9516B /* MainMenu.xib */; };
0DA2A7D0158CC41700A9516B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA2A7CE158CC41700A9516B /* main.m */; };
0DA2A7D6158CC43500A9516B /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 0DA2A7D2158CC43500A9516B /* Credits.rtf */; };
Expand All @@ -17,10 +17,10 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
0A883AFB266F663000DAF016 /* MF_Base64Additions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MF_Base64Additions.m; sourceTree = "<group>"; };
0A883B00266F669F00DAF016 /* MF_Base64Additions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MF_Base64Additions.h; sourceTree = "<group>"; };
0DA2A7BF158CC3EB00A9516B /* MF_AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MF_AppDelegate.h; path = Base64/MF_AppDelegate.h; sourceTree = SOURCE_ROOT; };
0DA2A7C0158CC3EB00A9516B /* MF_AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MF_AppDelegate.m; path = Base64/MF_AppDelegate.m; sourceTree = SOURCE_ROOT; };
0DA2A7C1158CC3EB00A9516B /* MF_Base64Additions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MF_Base64Additions.h; path = Base64/MF_Base64Additions.h; sourceTree = SOURCE_ROOT; };
0DA2A7C2158CC3EB00A9516B /* MF_Base64Additions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MF_Base64Additions.m; path = Base64/MF_Base64Additions.m; sourceTree = SOURCE_ROOT; };
0DA2A7CC158CC41700A9516B /* Base64-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "Base64-Info.plist"; path = "Base64/Base64-Info.plist"; sourceTree = SOURCE_ROOT; };
0DA2A7CD158CC41700A9516B /* Base64-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "Base64-Prefix.pch"; path = "Base64/Base64-Prefix.pch"; sourceTree = SOURCE_ROOT; };
0DA2A7CE158CC41700A9516B /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Base64/main.m; sourceTree = SOURCE_ROOT; };
Expand All @@ -46,6 +46,39 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0A883AF8266F663000DAF016 /* Sources */ = {
isa = PBXGroup;
children = (
0A883AF9266F663000DAF016 /* Base64 */,
);
path = Sources;
sourceTree = "<group>";
};
0A883AF9266F663000DAF016 /* Base64 */ = {
isa = PBXGroup;
children = (
0A883AFD266F665100DAF016 /* include */,
0A883AFB266F663000DAF016 /* MF_Base64Additions.m */,
);
path = Base64;
sourceTree = "<group>";
};
0A883AFD266F665100DAF016 /* include */ = {
isa = PBXGroup;
children = (
0A883AFF266F669F00DAF016 /* Base64 */,
);
path = include;
sourceTree = "<group>";
};
0A883AFF266F669F00DAF016 /* Base64 */ = {
isa = PBXGroup;
children = (
0A883B00266F669F00DAF016 /* MF_Base64Additions.h */,
);
path = Base64;
sourceTree = "<group>";
};
0DDF90D7158A1A0F00D44611 = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -85,10 +118,9 @@
0DDF90EC158A1A0F00D44611 /* Base64 */ = {
isa = PBXGroup;
children = (
0A883AF8266F663000DAF016 /* Sources */,
0DA2A7BF158CC3EB00A9516B /* MF_AppDelegate.h */,
0DA2A7C0158CC3EB00A9516B /* MF_AppDelegate.m */,
0DA2A7C1158CC3EB00A9516B /* MF_Base64Additions.h */,
0DA2A7C2158CC3EB00A9516B /* MF_Base64Additions.m */,
0DA2A7C9158CC40700A9516B /* MainMenu.xib */,
0DDF90ED158A1A0F00D44611 /* Supporting Files */,
);
Expand Down Expand Up @@ -174,8 +206,8 @@
buildActionMask = 2147483647;
files = (
0DA2A7C3158CC3EB00A9516B /* MF_AppDelegate.m in Sources */,
0DA2A7C4158CC3EB00A9516B /* MF_Base64Additions.m in Sources */,
0DA2A7D0158CC41700A9516B /* main.m in Sources */,
0A883AFC266F663000DAF016 /* MF_Base64Additions.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
26 changes: 26 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription

let package = Package(
name: "Base64",
platforms: [
.iOS(.v9),
.macOS(.v10_10),
.watchOS(.v3),
.tvOS(.v9),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "Base64",
targets: ["Base64"]
)
],
dependencies: [],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(name: "Base64")
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Hosted at https://github.com/ekscrypto/Base64
//

#import "MF_Base64Additions.h"
#import <Base64/MF_Base64Additions.h>

@implementation MF_Base64Codec

Expand Down
File renamed without changes.

0 comments on commit b33c69b

Please sign in to comment.