-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/Dev'
- Loading branch information
Showing
77 changed files
with
3,374 additions
and
716 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-122 KB
...-EG/Drink-EG/Resources/Assets.xcassets/AdSampleImage/ad2.imageset/Group 416.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-221 KB
...EG/Resources/Assets.xcassets/HomeGoToTastingNote.imageset/Rectangle 112 (1).png
Binary file not shown.
Binary file removed
BIN
-408 KB
...EG/Resources/Assets.xcassets/HomeGoToTastingNote.imageset/Rectangle 112 (2).png
Binary file not shown.
Binary file modified
BIN
-173 Bytes
(100%)
...ink-EG/Resources/Assets.xcassets/HomeGoToTastingNote.imageset/Rectangle 112.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+221 KB
...-EG/Resources/Assets.xcassets/HomeGoToTastingNote.imageset/Rectangle [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+408 KB
...-EG/Resources/Assets.xcassets/HomeGoToTastingNote.imageset/Rectangle [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-476 Bytes
.../Drink-EG/Resources/Assets.xcassets/Icon/icon_check_fill.imageset/Group 432.png
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
Drink-EG/Drink-EG/Resources/Assets.xcassets/Icon/pickerView.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Vector.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+210 Bytes
Drink-EG/Drink-EG/Resources/Assets.xcassets/Icon/pickerView.imageset/Vector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+310 Bytes
Drink-EG/Drink-EG/Resources/Assets.xcassets/Icon/pickerView.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+375 Bytes
Drink-EG/Drink-EG/Resources/Assets.xcassets/Icon/pickerView.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-3.68 KB
Drink-EG/Drink-EG/Resources/Assets.xcassets/LaunchLogo.imageset/Group 374.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// String.swift | ||
// Drink-EG | ||
// | ||
// Created by 김도연 on 8/20/24. | ||
// | ||
|
||
import UIKit | ||
|
||
extension String { | ||
var unescapedString: String { | ||
let mutableString = NSMutableString(string: self) | ||
CFStringTransform(mutableString, nil, "Any-Hex/Java" as NSString, true) | ||
return mutableString as String | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// UIView.swift | ||
// Drink-EG | ||
// | ||
// Created by 김도연 on 8/20/24. | ||
// | ||
|
||
import UIKit | ||
|
||
extension UIView { | ||
|
||
func applyTopShadow(shadowColor: UIColor = .black, shadowOpacity: Float = 0.25, shadowRadius: CGFloat = 5, shadowOffset: CGSize = CGSize(width: 0, height: -3)) { | ||
// 그림자 색상 | ||
self.layer.shadowColor = shadowColor.cgColor | ||
|
||
// 그림자 투명도 | ||
self.layer.shadowOpacity = shadowOpacity | ||
|
||
// 그림자 퍼짐 정도 | ||
self.layer.shadowRadius = shadowRadius | ||
|
||
// 그림자 오프셋 (상단에만 그림자가 보이도록 설정) | ||
self.layer.shadowOffset = shadowOffset | ||
|
||
// 레이아웃이 완료된 후에 shadowPath 설정 | ||
DispatchQueue.main.async { | ||
let shadowPath = UIBezierPath() | ||
shadowPath.move(to: CGPoint(x: 0, y: 0)) | ||
shadowPath.addLine(to: CGPoint(x: self.bounds.width, y: 0)) | ||
shadowPath.addLine(to: CGPoint(x: self.bounds.width, y: self.bounds.height / 4)) | ||
shadowPath.addLine(to: CGPoint(x: 0, y: self.bounds.height / 4)) | ||
shadowPath.close() | ||
|
||
self.layer.shadowPath = shadowPath.cgPath | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// UserDefaults.swift | ||
// Drink-EG | ||
// | ||
// Created by 김도연 on 8/20/24. | ||
// | ||
|
||
import UIKit | ||
|
||
extension UserDefaults { | ||
private enum Keys { | ||
static let comments = "comments" | ||
} | ||
|
||
func saveComments(_ comments: [Comment]) { | ||
if let encoded = try? JSONEncoder().encode(comments) { | ||
self.set(encoded, forKey: Keys.comments) | ||
} | ||
} | ||
|
||
func loadComments() -> [Comment] { | ||
if let savedData = self.data(forKey: Keys.comments), | ||
let savedComments = try? JSONDecoder().decode([Comment].self, from: savedData) { | ||
return savedComments | ||
} | ||
return [] | ||
} | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...munity/CustomCommentsCollectionView.swift → ...ls/CustomCommentsCollectionViewCell.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.