Commit e04e63fa authored by Jon Bent's avatar Jon Bent

First Commit

parents
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objects = {
/* Begin PBXBuildFile section */
5A0EF37E2838053E00854128 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A0EF37D2838053E00854128 /* AppDelegate.swift */; };
5A0EF3802838053E00854128 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A0EF37F2838053E00854128 /* SceneDelegate.swift */; };
5A0EF3822838053E00854128 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A0EF3812838053E00854128 /* ViewController.swift */; };
5A0EF3852838053E00854128 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5A0EF3832838053E00854128 /* Main.storyboard */; };
5A0EF3872838053F00854128 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A0EF3862838053F00854128 /* Assets.xcassets */; };
5A0EF38A2838053F00854128 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5A0EF3882838053F00854128 /* LaunchScreen.storyboard */; };
5A0EF3922838056D00854128 /* user2.png in Resources */ = {isa = PBXBuildFile; fileRef = 5A0EF3912838056D00854128 /* user2.png */; };
5A0EF3942838077C00854128 /* DemoTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A0EF3932838077C00854128 /* DemoTableViewCell.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
5A0EF37A2838053E00854128 /* TableViewOnly.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TableViewOnly.app; sourceTree = BUILT_PRODUCTS_DIR; };
5A0EF37D2838053E00854128 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5A0EF37F2838053E00854128 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
5A0EF3812838053E00854128 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
5A0EF3842838053E00854128 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5A0EF3862838053F00854128 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5A0EF3892838053F00854128 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5A0EF38B2838053F00854128 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5A0EF3912838056D00854128 /* user2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = user2.png; sourceTree = "<group>"; };
5A0EF3932838077C00854128 /* DemoTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoTableViewCell.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
5A0EF3772838053E00854128 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
5A0EF3712838053E00854128 = {
isa = PBXGroup;
children = (
5A0EF37C2838053E00854128 /* TableViewOnly */,
5A0EF37B2838053E00854128 /* Products */,
);
sourceTree = "<group>";
};
5A0EF37B2838053E00854128 /* Products */ = {
isa = PBXGroup;
children = (
5A0EF37A2838053E00854128 /* TableViewOnly.app */,
);
name = Products;
sourceTree = "<group>";
};
5A0EF37C2838053E00854128 /* TableViewOnly */ = {
isa = PBXGroup;
children = (
5A0EF37D2838053E00854128 /* AppDelegate.swift */,
5A0EF37F2838053E00854128 /* SceneDelegate.swift */,
5A0EF3812838053E00854128 /* ViewController.swift */,
5A0EF3932838077C00854128 /* DemoTableViewCell.swift */,
5A0EF3832838053E00854128 /* Main.storyboard */,
5A0EF3862838053F00854128 /* Assets.xcassets */,
5A0EF3882838053F00854128 /* LaunchScreen.storyboard */,
5A0EF38B2838053F00854128 /* Info.plist */,
5A0EF3912838056D00854128 /* user2.png */,
);
path = TableViewOnly;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
5A0EF3792838053E00854128 /* TableViewOnly */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5A0EF38E2838053F00854128 /* Build configuration list for PBXNativeTarget "TableViewOnly" */;
buildPhases = (
5A0EF3762838053E00854128 /* Sources */,
5A0EF3772838053E00854128 /* Frameworks */,
5A0EF3782838053E00854128 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = TableViewOnly;
productName = TableViewOnly;
productReference = 5A0EF37A2838053E00854128 /* TableViewOnly.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
5A0EF3722838053E00854128 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1320;
LastUpgradeCheck = 1320;
TargetAttributes = {
5A0EF3792838053E00854128 = {
CreatedOnToolsVersion = 13.2.1;
};
};
};
buildConfigurationList = 5A0EF3752838053E00854128 /* Build configuration list for PBXProject "TableViewOnly" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 5A0EF3712838053E00854128;
productRefGroup = 5A0EF37B2838053E00854128 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
5A0EF3792838053E00854128 /* TableViewOnly */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
5A0EF3782838053E00854128 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5A0EF38A2838053F00854128 /* LaunchScreen.storyboard in Resources */,
5A0EF3922838056D00854128 /* user2.png in Resources */,
5A0EF3872838053F00854128 /* Assets.xcassets in Resources */,
5A0EF3852838053E00854128 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
5A0EF3762838053E00854128 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5A0EF3822838053E00854128 /* ViewController.swift in Sources */,
5A0EF37E2838053E00854128 /* AppDelegate.swift in Sources */,
5A0EF3942838077C00854128 /* DemoTableViewCell.swift in Sources */,
5A0EF3802838053E00854128 /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
5A0EF3832838053E00854128 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
5A0EF3842838053E00854128 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
5A0EF3882838053F00854128 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
5A0EF3892838053F00854128 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
5A0EF38C2838053F00854128 /* 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_CXX_LIBRARY = "libc++";
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 = 15.2;
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;
};
5A0EF38D2838053F00854128 /* 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_CXX_LIBRARY = "libc++";
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 = 15.2;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
5A0EF38F2838053F00854128 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = TableViewOnly/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Table View Assignment";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
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 = com.nisum.jonbent.TableViewAssignment;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
5A0EF3902838053F00854128 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = TableViewOnly/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Table View Assignment";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
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 = com.nisum.jonbent.TableViewAssignment;
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 */
5A0EF3752838053E00854128 /* Build configuration list for PBXProject "TableViewOnly" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5A0EF38C2838053F00854128 /* Debug */,
5A0EF38D2838053F00854128 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5A0EF38E2838053F00854128 /* Build configuration list for PBXNativeTarget "TableViewOnly" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5A0EF38F2838053F00854128 /* Debug */,
5A0EF3902838053F00854128 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 5A0EF3722838053E00854128 /* Project object */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
<?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>
<?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>SchemeUserState</key>
<dict>
<key>TableViewOnly.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
<?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>SchemeUserState</key>
<dict>
<key>TableViewOnly.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
//
// AppDelegate.swift
// TableViewOnly
//
// Created by dev1 on 5/20/22.
//
import UIKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
// MARK: UISceneSession Lifecycle
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}
}
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "barrafina.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "barrafina@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "barrafina@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "bourkestreetbakery.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "bourkestreetbakery@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "bourkestreetbakery@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "cafedeadend.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "cafedeadend@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "cafedeadend@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "cafeloisl.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "cafeloisl@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "cafeloisl@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "cafelore.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "cafelore@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "cafelore@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "cask.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "cask@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "cask@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "confessional.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "confessional@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "confessional@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "donostia.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "donostia@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "donostia@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "fiveleaves.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "fiveleaves@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "fiveleaves@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "forkee.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "forkee@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "forkee@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "graham.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "graham@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "graham@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "haigh.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "haigh@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "haigh@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "homei.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "homei@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "homei@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "palomino.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "palomino@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "palomino@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "petiteoyster.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "petiteoyster@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "petiteoyster@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "posatelier.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "posatelier@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "posatelier@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "restaurant.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "restaurant@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "restaurant@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "royaloak.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "royaloak@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "royaloak@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "teakha.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "teakha@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "teakha@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "traif.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "traif@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "traif@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "upstate.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "upstate@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "upstate@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "waffleandwolf.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "waffleandwolf@2x.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "waffleandwolf@3x.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="TableViewOnly" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="sLb-8P-fXV">
<rect key="frame" x="0.0" y="44" width="414" height="818"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="democell" rowHeight="193" id="iSd-zY-YCt" customClass="DemoTableViewCell" customModule="TableViewOnly" customModuleProvider="target">
<rect key="frame" x="0.0" y="44.5" width="414" height="193"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="iSd-zY-YCt" id="xut-Me-aqM">
<rect key="frame" x="0.0" y="0.0" width="414" height="193"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="y7R-n6-h0j">
<rect key="frame" x="87" y="33" width="240" height="128"/>
</imageView>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="y7R-n6-h0j" secondAttribute="bottom" constant="32" id="EfO-Ls-8L0"/>
<constraint firstAttribute="trailing" secondItem="y7R-n6-h0j" secondAttribute="trailing" constant="87" id="FOf-wg-ypC"/>
<constraint firstItem="y7R-n6-h0j" firstAttribute="top" secondItem="xut-Me-aqM" secondAttribute="top" constant="33" id="R8w-Ia-Gc6"/>
<constraint firstItem="y7R-n6-h0j" firstAttribute="leading" secondItem="xut-Me-aqM" secondAttribute="leading" constant="87" id="e7k-t2-sQk"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="demoImageView" destination="y7R-n6-h0j" id="9C8-sI-rRH"/>
</connections>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="BYZ-38-t0r" id="dUg-31-diI"/>
<outlet property="delegate" destination="BYZ-38-t0r" id="2m9-Xl-1sT"/>
</connections>
</tableView>
</subviews>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="sLb-8P-fXV" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="4JU-mf-PO1"/>
<constraint firstItem="sLb-8P-fXV" firstAttribute="trailing" secondItem="6Tk-OE-BBY" secondAttribute="trailing" id="Bk1-bv-pfy"/>
<constraint firstItem="6Tk-OE-BBY" firstAttribute="bottom" secondItem="sLb-8P-fXV" secondAttribute="bottom" id="Jr1-6y-i1Z"/>
<constraint firstItem="sLb-8P-fXV" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" id="vUg-oV-1Xo"/>
</constraints>
</view>
<connections>
<outlet property="tableView" destination="sLb-8P-fXV" id="Kdg-Rb-bwh"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="28.985507246376812" y="71.651785714285708"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
//
// DemoTableViewCell.swift
// TableViewOnly
//
// Created by dev1 on 5/20/22.
//
import UIKit
class DemoTableViewCell: UITableViewCell {
@IBOutlet weak var demoImageView: UIImageView!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?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>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
</dict>
</plist>
//
// SceneDelegate.swift
// TableViewOnly
//
// Created by dev1 on 5/20/22.
//
import UIKit
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let _ = (scene as? UIWindowScene) else { return }
}
func sceneDidDisconnect(_ scene: UIScene) {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
// Release any resources associated with this scene that can be re-created the next time the scene connects.
// The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
}
func sceneDidBecomeActive(_ scene: UIScene) {
// Called when the scene has moved from an inactive state to an active state.
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
}
func sceneWillResignActive(_ scene: UIScene) {
// Called when the scene will move from an active state to an inactive state.
// This may occur due to temporary interruptions (ex. an incoming phone call).
}
func sceneWillEnterForeground(_ scene: UIScene) {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.
}
func sceneDidEnterBackground(_ scene: UIScene) {
// Called as the scene transitions from the foreground to the background.
// Use this method to save data, release shared resources, and store enough scene-specific state information
// to restore the scene back to its current state.
}
}
//
// ViewController.swift
// TableViewOnly
//
// Created by dev1 on 5/20/22.
//
import UIKit
var restaurants: [String] = [
"barrafina",
"bourkestreetbakery",
"cafedeadend",
"cafeloisl",
"cask",
"confessional",
"donostia",
"fiveleaves",
"forkee",
"graham",
"haigh",
"homei",
"palomino",
"petiteoyster",
"posatelier",
"restaurant",
"royaloak",
"teakha",
"traif",
"upstate",
"waffleandwolf"
]
class ViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
}
extension ViewController : UITableViewDataSource {
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "democell", for: indexPath) as! DemoTableViewCell
let restaurant: String = restaurants[indexPath.row]
cell.demoImageView.image = UIImage(named: restaurant)
return cell
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return restaurants.count
}
func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
}
//extension ViewController : UITableViewDelegate {
//
// func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
//
// let alert = UIAlertController(title: "Hello", message: "Row Number \(indexPath.row + 1)", preferredStyle: .alert)
//
// alert.addAction(UIAlertAction(title: "Ok", style: .destructive, handler: nil))
//
// self.present(alert, animated: true, completion: nil)
//
// }
//
//}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment