Skip to content

Commit 433ac62

Browse files
authored
Merge pull request #17 from kut7728/feature/#7
Feature/#7 프로필뷰 구현완료
2 parents f497596 + 26b4736 commit 433ac62

File tree

13 files changed

+366
-0
lines changed

13 files changed

+366
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
//
2+
// ProductEntity.swift
3+
// Pinit
4+
//
5+
// Created by InTak Han on 3/17/25.
6+
//
7+
import UIKit
8+
9+
struct ProducerEntity {
10+
//이름, 위,경도(지역), 생일, 각자사진, 소개, 문구, 기분(날씨)
11+
let title: String
12+
let latitude: Double
13+
let longitude: Double
14+
let date: Date
15+
let mediaPath: UIImage
16+
let description: String?
17+
let weather: String
18+
19+
20+
static let sampleData: [ProducerEntity] = [
21+
//데이터 부분들
22+
23+
ProducerEntity(
24+
title: "JustHm",
25+
latitude: 37.401848,
26+
longitude: 126.922736, //본인 지역의 의,경도
27+
date: Date(), //생년월일
28+
mediaPath: UIImage(named: "JustHMImg")!,
29+
description: "나는 누구 입니다1",
30+
weather: "구름"),
31+
32+
ProducerEntity(
33+
title: "Ikhwan0204",
34+
latitude: 37.502058,
35+
longitude: 126.672010, //본인 지역의 의,경도
36+
date: Date(), //생년월일
37+
mediaPath: UIImage(named: "Ikhwan0204Img")!,
38+
description: "나는 누구 입니다2",
39+
weather: "흐림"),
40+
41+
ProducerEntity(
42+
title: "IntakHan304",
43+
latitude: 37.557385,
44+
longitude: 126.956276, //본인 지역의 의,경도
45+
date: Date(), //생년월일
46+
mediaPath: UIImage(named: "IntakHan304Img")!,
47+
description: "나는 누구 입니다3",
48+
weather: ""),
49+
50+
ProducerEntity(
51+
title: "HISEHOONAN",
52+
latitude: 38.078549,
53+
longitude: 128.616008, //본인 지역의 의,경도
54+
date: Date(), //생년월일
55+
mediaPath: UIImage(named: "HISEHOONImg")! ,
56+
description: "나는 누구 입니다4",
57+
weather: ""),
58+
59+
ProducerEntity(
60+
title: "kut7728",
61+
latitude: 37.484679,
62+
longitude: 126.897968, //본인 지역의 의,경도
63+
date: Date(), //생년월일
64+
mediaPath: UIImage(named: "kut7728Img")! ,
65+
description: "나는 누구 입니다5",
66+
weather: "맑음")
67+
]
68+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "HISEHOONImg.jpeg",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
61.1 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "Ikhwan0204Img.png",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
1.54 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "IntakHan304Img.png",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
1.55 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "JustHMImg.jpeg",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
9.5 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "kut7728Img.png",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}

0 commit comments

Comments
 (0)