Skip to content

Commit

Permalink
✨[FEAT] : TableView
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucite123 committed Oct 28, 2021
1 parent 552c058 commit e9c7c4d
Show file tree
Hide file tree
Showing 51 changed files with 537 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

/* Begin PBXBuildFile section */
4F819C34272B2B8E008B41DD /* PartDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F819C33272B2B8E008B41DD /* PartDataModel.swift */; };
4F819C36272B3079008B41DD /* Practice.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4F819C35272B3079008B41DD /* Practice.storyboard */; };
4F819C38272B30E4008B41DD /* RankingVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F819C37272B30E4008B41DD /* RankingVC.swift */; };
4F819C3B272B3184008B41DD /* RankingTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F819C39272B3184008B41DD /* RankingTableViewCell.swift */; };
4F819C3C272B3184008B41DD /* RankingTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F819C3A272B3184008B41DD /* RankingTableViewCell.xib */; };
4F819C3E272B35B7008B41DD /* AppContentModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F819C3D272B35B7008B41DD /* AppContentModel.swift */; };
4FEC2968272B1A9200C11738 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEC2967272B1A9200C11738 /* AppDelegate.swift */; };
4FEC296A272B1A9200C11738 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEC2969272B1A9200C11738 /* SceneDelegate.swift */; };
4FEC296C272B1A9200C11738 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEC296B272B1A9200C11738 /* ViewController.swift */; };
Expand All @@ -19,6 +24,11 @@

/* Begin PBXFileReference section */
4F819C33272B2B8E008B41DD /* PartDataModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PartDataModel.swift; sourceTree = "<group>"; };
4F819C35272B3079008B41DD /* Practice.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Practice.storyboard; sourceTree = "<group>"; };
4F819C37272B30E4008B41DD /* RankingVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RankingVC.swift; sourceTree = "<group>"; };
4F819C39272B3184008B41DD /* RankingTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RankingTableViewCell.swift; sourceTree = "<group>"; };
4F819C3A272B3184008B41DD /* RankingTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RankingTableViewCell.xib; sourceTree = "<group>"; };
4F819C3D272B35B7008B41DD /* AppContentModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppContentModel.swift; sourceTree = "<group>"; };
4FEC2964272B1A9200C11738 /* 29th-week3-seminar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "29th-week3-seminar.app"; sourceTree = BUILT_PRODUCTS_DIR; };
4FEC2967272B1A9200C11738 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4FEC2969272B1A9200C11738 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -65,6 +75,11 @@
4FEC296B272B1A9200C11738 /* ViewController.swift */,
4F819C33272B2B8E008B41DD /* PartDataModel.swift */,
4FEC297E272B26FD00C11738 /* DelegatePracticeVC.swift */,
4F819C3D272B35B7008B41DD /* AppContentModel.swift */,
4F819C37272B30E4008B41DD /* RankingVC.swift */,
4F819C35272B3079008B41DD /* Practice.storyboard */,
4F819C39272B3184008B41DD /* RankingTableViewCell.swift */,
4F819C3A272B3184008B41DD /* RankingTableViewCell.xib */,
4FEC296D272B1A9200C11738 /* Main.storyboard */,
4FEC2970272B1A9500C11738 /* Assets.xcassets */,
4FEC2972272B1A9500C11738 /* LaunchScreen.storyboard */,
Expand Down Expand Up @@ -131,7 +146,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4F819C3C272B3184008B41DD /* RankingTableViewCell.xib in Resources */,
4FEC2974272B1A9500C11738 /* LaunchScreen.storyboard in Resources */,
4F819C36272B3079008B41DD /* Practice.storyboard in Resources */,
4FEC2971272B1A9500C11738 /* Assets.xcassets in Resources */,
4FEC296F272B1A9200C11738 /* Main.storyboard in Resources */,
);
Expand All @@ -147,6 +164,9 @@
4FEC296C272B1A9200C11738 /* ViewController.swift in Sources */,
4FEC2968272B1A9200C11738 /* AppDelegate.swift in Sources */,
4FEC296A272B1A9200C11738 /* SceneDelegate.swift in Sources */,
4F819C38272B30E4008B41DD /* RankingVC.swift in Sources */,
4F819C3B272B3184008B41DD /* RankingTableViewCell.swift in Sources */,
4F819C3E272B35B7008B41DD /* AppContentModel.swift in Sources */,
4F819C34272B2B8E008B41DD /* PartDataModel.swift in Sources */,
4FEC297F272B26FD00C11738 /* DelegatePracticeVC.swift in Sources */,
);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// AppContentModel.swift
// 29th-week3-seminar
//
// Created by Noah on 2021/10/29.
//

import UIKit

struct AppContentData {
let appName: String
let description: String
let appIconName: String

func makeImage() -> UIImage? {
return UIImage(named: appIconName)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "baeminIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "baeminIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "baeminIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "coovIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coovIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coovIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "coupangIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupangIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupangIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "instagramIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "instagramIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "instagramIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "kakaoIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "kakaoIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "kakaoIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "karrotIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "karrotIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "karrotIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "musinsaIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "musinsaIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "musinsaIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "naverIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "naverIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "naverIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "netflixIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "netflixIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "netflixIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "openButtonIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "openButtonIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "openButtonIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "youtubeIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "youtubeIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "youtubeIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
2 changes: 1 addition & 1 deletion Seminar/29th-week3-seminar/29th-week3-seminar/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
<string>Practice</string>
</dict>
</array>
</dict>
Expand Down
47 changes: 47 additions & 0 deletions Seminar/29th-week3-seminar/29th-week3-seminar/Practice.storyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Y6W-OH-hqX">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
<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>
<!--RankingVC-->
<scene sceneID="s0d-6b-0kx">
<objects>
<viewController storyboardIdentifier="RankingVC" id="Y6W-OH-hqX" customClass="RankingVC" customModule="_9th_week3_seminar" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc">
<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="Yj4-cg-bDm">
<rect key="frame" x="0.0" y="44" width="414" height="818"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</tableView>
</subviews>
<viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="vDu-zF-Fre" firstAttribute="bottom" secondItem="Yj4-cg-bDm" secondAttribute="bottom" id="b2C-ip-GXW"/>
<constraint firstItem="vDu-zF-Fre" firstAttribute="trailing" secondItem="Yj4-cg-bDm" secondAttribute="trailing" id="op4-e3-IBa"/>
<constraint firstItem="Yj4-cg-bDm" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" id="sCz-OI-evP"/>
<constraint firstItem="Yj4-cg-bDm" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="uU8-mq-etA"/>
</constraints>
</view>
<connections>
<outlet property="rankTableView" destination="Yj4-cg-bDm" id="nLD-sQ-dAC"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-23" y="91"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
Loading

0 comments on commit e9c7c4d

Please sign in to comment.