Skip to content

Commit

Permalink
feat: Share extension
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuz0u committed Aug 3, 2021
1 parent cff9604 commit 7b3194a
Show file tree
Hide file tree
Showing 7 changed files with 272 additions and 64 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
EhPanda.xcodeproj/project.xcworkspace/xcuserdata/
EhPanda.xcodeproj/xcuserdata/
EhPanda.xcodeproj/project.xcworkspace/xcuserdata
EhPanda.xcodeproj/xcuserdata
.DS_Store

158 changes: 157 additions & 1 deletion EhPanda.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
AB47FDB525BC859E0007765D /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = AB47FDB225BC859E0007765D /* [email protected] */; };
AB47FDB625BC859E0007765D /* Weird-ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = AB47FDB325BC859E0007765D /* Weird-ipad.png */; };
AB4FD2C1268AB83300A95968 /* MangaDetailMO+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB4FD2C0268AB83300A95968 /* MangaDetailMO+CoreDataProperties.swift */; };
AB5BE67926B95FDD007D4A55 /* ShareViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB5BE67826B95FDD007D4A55 /* ShareViewController.swift */; };
AB5BE68026B95FDD007D4A55 /* ShareExtension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = AB5BE67626B95FDD007D4A55 /* ShareExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
AB63EADB2699AC8200090535 /* AppEnvMO+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB63EADA2699AC8200090535 /* AppEnvMO+CoreDataProperties.swift */; };
AB63EADD2699AC9100090535 /* AppEnvMO+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB63EADC2699AC9100090535 /* AppEnvMO+CoreDataClass.swift */; };
AB6505A026B0027800F91E9D /* SwiftUIPager in Frameworks */ = {isa = PBXBuildFile; productRef = AB65059F26B0027800F91E9D /* SwiftUIPager */; };
Expand Down Expand Up @@ -103,6 +105,30 @@
ABF75F3F25A19CD200544D29 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = ABF75F3E25A19CD200544D29 /* User.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
AB5BE67E26B95FDD007D4A55 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = ABC3C74C2593696C00E0C11B /* Project object */;
proxyType = 1;
remoteGlobalIDString = AB5BE67526B95FDD007D4A55;
remoteInfo = ShareExtension;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
AB5BE68126B95FDD007D4A55 /* Embed App Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
AB5BE68026B95FDD007D4A55 /* ShareExtension.appex in Embed App Extensions */,
);
name = "Embed App Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
AB10117D26986B7D00C2C1A9 /* MangaStateMO+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MangaStateMO+CoreDataProperties.swift"; sourceTree = "<group>"; };
AB10117F26986C1100C2C1A9 /* MangaStateMO+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MangaStateMO+CoreDataClass.swift"; sourceTree = "<group>"; };
Expand All @@ -126,6 +152,9 @@
AB47FDB225BC859E0007765D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
AB47FDB325BC859E0007765D /* Weird-ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Weird-ipad.png"; sourceTree = "<group>"; };
AB4FD2C0268AB83300A95968 /* MangaDetailMO+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MangaDetailMO+CoreDataProperties.swift"; sourceTree = "<group>"; };
AB5BE67626B95FDD007D4A55 /* ShareExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = ShareExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
AB5BE67826B95FDD007D4A55 /* ShareViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShareViewController.swift; sourceTree = "<group>"; };
AB5BE67D26B95FDD007D4A55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
AB63EADA2699AC8200090535 /* AppEnvMO+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AppEnvMO+CoreDataProperties.swift"; sourceTree = "<group>"; };
AB63EADC2699AC9100090535 /* AppEnvMO+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AppEnvMO+CoreDataClass.swift"; sourceTree = "<group>"; };
AB69CB7F26B3DABC00699359 /* AdvancedList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdvancedList.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -208,6 +237,13 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
AB5BE67326B95FDD007D4A55 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
ABC3C7512593696C00E0C11B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -254,6 +290,15 @@
path = AltIcons;
sourceTree = "<group>";
};
AB5BE67726B95FDD007D4A55 /* ShareExtension */ = {
isa = PBXGroup;
children = (
AB5BE67826B95FDD007D4A55 /* ShareViewController.swift */,
AB5BE67D26B95FDD007D4A55 /* Info.plist */,
);
path = ShareExtension;
sourceTree = "<group>";
};
AB7B29F326AC472B00EE1F14 /* MODefinition */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -300,6 +345,7 @@
isa = PBXGroup;
children = (
ABC3C7562593696C00E0C11B /* EhPanda */,
AB5BE67726B95FDD007D4A55 /* ShareExtension */,
ABC3C7552593696C00E0C11B /* Products */,
AB82819926B1C39B00A80CFA /* Frameworks */,
);
Expand All @@ -309,6 +355,7 @@
isa = PBXGroup;
children = (
ABC3C7542593696C00E0C11B /* EhPanda.app */,
AB5BE67626B95FDD007D4A55 /* ShareExtension.appex */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -468,6 +515,23 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
AB5BE67526B95FDD007D4A55 /* ShareExtension */ = {
isa = PBXNativeTarget;
buildConfigurationList = AB5BE68426B95FDD007D4A55 /* Build configuration list for PBXNativeTarget "ShareExtension" */;
buildPhases = (
AB5BE67226B95FDD007D4A55 /* Sources */,
AB5BE67326B95FDD007D4A55 /* Frameworks */,
AB5BE67426B95FDD007D4A55 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = ShareExtension;
productName = ShareExtension;
productReference = AB5BE67626B95FDD007D4A55 /* ShareExtension.appex */;
productType = "com.apple.product-type.app-extension";
};
ABC3C7532593696C00E0C11B /* EhPanda */ = {
isa = PBXNativeTarget;
buildConfigurationList = ABC3C7632593696E00E0C11B /* Build configuration list for PBXNativeTarget "EhPanda" */;
Expand All @@ -476,10 +540,12 @@
ABC3C7512593696C00E0C11B /* Frameworks */,
ABC3C7522593696C00E0C11B /* Resources */,
AB69FE41263C328400716FBD /* ShellScript */,
AB5BE68126B95FDD007D4A55 /* Embed App Extensions */,
);
buildRules = (
);
dependencies = (
AB5BE67F26B95FDD007D4A55 /* PBXTargetDependency */,
);
name = EhPanda;
packageProductDependencies = (
Expand All @@ -502,9 +568,12 @@
ABC3C74C2593696C00E0C11B /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1220;
LastSwiftUpdateCheck = 1300;
LastUpgradeCheck = 1240;
TargetAttributes = {
AB5BE67526B95FDD007D4A55 = {
CreatedOnToolsVersion = 13.0;
};
ABC3C7532593696C00E0C11B = {
CreatedOnToolsVersion = 12.2;
};
Expand Down Expand Up @@ -539,11 +608,19 @@
projectRoot = "";
targets = (
ABC3C7532593696C00E0C11B /* EhPanda */,
AB5BE67526B95FDD007D4A55 /* ShareExtension */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
AB5BE67426B95FDD007D4A55 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
ABC3C7522593696C00E0C11B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -588,6 +665,14 @@
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
AB5BE67226B95FDD007D4A55 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
AB5BE67926B95FDD007D4A55 /* ShareViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
ABC3C7502593696C00E0C11B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -669,6 +754,14 @@
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
AB5BE67F26B95FDD007D4A55 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = AB5BE67526B95FDD007D4A55 /* ShareExtension */;
targetProxy = AB5BE67E26B95FDD007D4A55 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
AB7E6B3225D24FE00035CC68 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
Expand Down Expand Up @@ -699,6 +792,58 @@
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
AB5BE68226B95FDD007D4A55 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 74;
DEVELOPMENT_TEAM = 9SKQ7QTZ74;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ShareExtension/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ShareExtension;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.3;
PRODUCT_BUNDLE_IDENTIFIER = zeng.EhPanda.ShareExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
AB5BE68326B95FDD007D4A55 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 74;
DEVELOPMENT_TEAM = 9SKQ7QTZ74;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ShareExtension/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ShareExtension;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.3;
PRODUCT_BUNDLE_IDENTIFIER = zeng.EhPanda.ShareExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
ABC3C7612593696E00E0C11B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -822,6 +967,7 @@
ABC3C7642593696E00E0C11B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = EhPanda/EhPanda.entitlements;
Expand Down Expand Up @@ -849,6 +995,7 @@
ABC3C7652593696E00E0C11B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = EhPanda/EhPanda.entitlements;
Expand Down Expand Up @@ -876,6 +1023,15 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
AB5BE68426B95FDD007D4A55 /* Build configuration list for PBXNativeTarget "ShareExtension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
AB5BE68226B95FDD007D4A55 /* Debug */,
AB5BE68326B95FDD007D4A55 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
ABC3C74F2593696C00E0C11B /* Build configuration list for PBXProject "EhPanda" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions EhPanda/App/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
"Vertical" = "수직적으로";
"Right-to-left" = "왼쪽으로";
"Left-to-right" = "오른쪽으로";
//"Preload limit" = "";
//" pages" = "";
"Preload limit" = "프리로드 리미트";
" pages" = "페이지";
"Retry limit" = "시도 횟수";
" times" = "번";
"Separator height" = "선 두께";
Expand Down
Loading

0 comments on commit 7b3194a

Please sign in to comment.