Skip to content

Commit

Permalink
Add Adapter for SwiftUI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArslanRafique committed Jun 21, 2022
1 parent 62124b8 commit 3deb524
Show file tree
Hide file tree
Showing 15 changed files with 819 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,380 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objects = {

/* Begin PBXBuildFile section */
F5776AD32861EF9100181B1E /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5776AD22861EF9100181B1E /* ContentView.swift */; };
F5776AD52861EF9100181B1E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F5776AD42861EF9100181B1E /* Assets.xcassets */; };
F5776AD82861EF9100181B1E /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F5776AD72861EF9100181B1E /* Preview Assets.xcassets */; };
F5776ADF2861F11C00181B1E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5776ADE2861F11C00181B1E /* AppDelegate.swift */; };
F5776AE22861F31C00181B1E /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5776AE12861F31C00181B1E /* SceneDelegate.swift */; };
F5C1C0622861F93B00BD5BB6 /* Imaginary in Frameworks */ = {isa = PBXBuildFile; productRef = F5C1C0612861F93B00BD5BB6 /* Imaginary */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
F5776ACD2861EF9100181B1E /* ImaginarySwiftUIDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ImaginarySwiftUIDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
F5776AD22861EF9100181B1E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
F5776AD42861EF9100181B1E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
F5776AD72861EF9100181B1E /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
F5776ADE2861F11C00181B1E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
F5776AE02861F25000181B1E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
F5776AE12861F31C00181B1E /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
F5C1C05F2861F80C00BD5BB6 /* Imaginary */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = Imaginary; path = ../..; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
F5776ACA2861EF9100181B1E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F5C1C0622861F93B00BD5BB6 /* Imaginary in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
F5776AC42861EF9100181B1E = {
isa = PBXGroup;
children = (
F5C1C05E2861F80C00BD5BB6 /* Packages */,
F5776ACF2861EF9100181B1E /* ImaginarySwiftUIDemo */,
F5776ACE2861EF9100181B1E /* Products */,
F5C1C0602861F93B00BD5BB6 /* Frameworks */,
);
sourceTree = "<group>";
};
F5776ACE2861EF9100181B1E /* Products */ = {
isa = PBXGroup;
children = (
F5776ACD2861EF9100181B1E /* ImaginarySwiftUIDemo.app */,
);
name = Products;
sourceTree = "<group>";
};
F5776ACF2861EF9100181B1E /* ImaginarySwiftUIDemo */ = {
isa = PBXGroup;
children = (
F5776AE02861F25000181B1E /* Info.plist */,
F5776AD22861EF9100181B1E /* ContentView.swift */,
F5776AD42861EF9100181B1E /* Assets.xcassets */,
F5776AD62861EF9100181B1E /* Preview Content */,
F5776ADE2861F11C00181B1E /* AppDelegate.swift */,
F5776AE12861F31C00181B1E /* SceneDelegate.swift */,
);
path = ImaginarySwiftUIDemo;
sourceTree = "<group>";
};
F5776AD62861EF9100181B1E /* Preview Content */ = {
isa = PBXGroup;
children = (
F5776AD72861EF9100181B1E /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
F5C1C05E2861F80C00BD5BB6 /* Packages */ = {
isa = PBXGroup;
children = (
F5C1C05F2861F80C00BD5BB6 /* Imaginary */,
);
name = Packages;
sourceTree = "<group>";
};
F5C1C0602861F93B00BD5BB6 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
F5776ACC2861EF9100181B1E /* ImaginarySwiftUIDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = F5776ADB2861EF9100181B1E /* Build configuration list for PBXNativeTarget "ImaginarySwiftUIDemo" */;
buildPhases = (
F5776AC92861EF9100181B1E /* Sources */,
F5776ACA2861EF9100181B1E /* Frameworks */,
F5776ACB2861EF9100181B1E /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = ImaginarySwiftUIDemo;
packageProductDependencies = (
F5C1C0612861F93B00BD5BB6 /* Imaginary */,
);
productName = ImaginarySwiftUIDemo;
productReference = F5776ACD2861EF9100181B1E /* ImaginarySwiftUIDemo.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
F5776AC52861EF9100181B1E /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1340;
LastUpgradeCheck = 1340;
TargetAttributes = {
F5776ACC2861EF9100181B1E = {
CreatedOnToolsVersion = 13.4.1;
};
};
};
buildConfigurationList = F5776AC82861EF9100181B1E /* Build configuration list for PBXProject "ImaginarySwiftUIDemo" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = F5776AC42861EF9100181B1E;
productRefGroup = F5776ACE2861EF9100181B1E /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
F5776ACC2861EF9100181B1E /* ImaginarySwiftUIDemo */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
F5776ACB2861EF9100181B1E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F5776AD82861EF9100181B1E /* Preview Assets.xcassets in Resources */,
F5776AD52861EF9100181B1E /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
F5776AC92861EF9100181B1E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F5776ADF2861F11C00181B1E /* AppDelegate.swift in Sources */,
F5776AD32861EF9100181B1E /* ContentView.swift in Sources */,
F5776AE22861F31C00181B1E /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
F5776AD92861EF9100181B1E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
F5776ADA2861EF9100181B1E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
F5776ADC2861EF9100181B1E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"ImaginarySwiftUIDemo/Preview Content\"";
DEVELOPMENT_TEAM = 29L6WT62Z8;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ImaginarySwiftUIDemo/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = arlsanrafique.ImaginarySwiftUIDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
F5776ADD2861EF9100181B1E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"ImaginarySwiftUIDemo/Preview Content\"";
DEVELOPMENT_TEAM = 29L6WT62Z8;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ImaginarySwiftUIDemo/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = arlsanrafique.ImaginarySwiftUIDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
F5776AC82861EF9100181B1E /* Build configuration list for PBXProject "ImaginarySwiftUIDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F5776AD92861EF9100181B1E /* Debug */,
F5776ADA2861EF9100181B1E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F5776ADB2861EF9100181B1E /* Build configuration list for PBXNativeTarget "ImaginarySwiftUIDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F5776ADC2861EF9100181B1E /* Debug */,
F5776ADD2861EF9100181B1E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
F5C1C0612861F93B00BD5BB6 /* Imaginary */ = {
isa = XCSwiftPackageProductDependency;
productName = Imaginary;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = F5776AC52861EF9100181B1E /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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>
Loading

0 comments on commit 3deb524

Please sign in to comment.