-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[modify] 유효성 검사 UI 및 데이터 불러오는 함수 수정 (#56)
- Loading branch information
Showing
20 changed files
with
319 additions
and
58 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
PLUV/Assets.xcassets/my page/connect_apple_image.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,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "connect_apple_image.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+4.25 KB
PLUV/Assets.xcassets/my page/connect_apple_image.imageset/connect_apple_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
PLUV/Assets.xcassets/my page/connect_spotify_image.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,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "connect_spotify_image.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+5.27 KB
...ssets.xcassets/my page/connect_spotify_image.imageset/connect_spotify_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
// | ||
// BehaviorRelay+Extension.swift | ||
// PLUV | ||
// | ||
// Created by jaegu park on 12/9/24. | ||
// | ||
|
||
import RxSwift | ||
import RxCocoa | ||
|
||
extension BehaviorRelay where Element: RangeReplaceableCollection { | ||
func append(_ element: Element.Element) { | ||
var currentValue = self.value | ||
currentValue.append(element) | ||
self.accept(currentValue) | ||
} | ||
|
||
func append(contentsOf elements: [Element.Element]) { | ||
var currentValue = self.value | ||
currentValue.append(contentsOf: elements) | ||
self.accept(currentValue) | ||
} | ||
} |
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
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,34 @@ | ||
// | ||
// TabBarShadow.swift | ||
// PLUV | ||
// | ||
// Created by jaegu park on 12/9/24. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
|
||
extension CALayer { | ||
// Sketch 스타일의 그림자를 생성하는 유틸리티 함수 | ||
func applyShadow( | ||
color: UIColor = .black, | ||
alpha: Float = 0.5, | ||
x: CGFloat = 0, | ||
y: CGFloat = 2, | ||
blur: CGFloat = 4 | ||
) { | ||
shadowColor = color.cgColor | ||
shadowOpacity = alpha | ||
shadowOffset = CGSize(width: x, height: y) | ||
shadowRadius = blur / 2.0 | ||
} | ||
} | ||
|
||
extension UITabBar { | ||
// 기본 그림자 스타일을 초기화해야 커스텀 스타일을 적용할 수 있다. | ||
static func clearShadow() { | ||
UITabBar.appearance().shadowImage = UIImage() | ||
UITabBar.appearance().backgroundImage = UIImage() | ||
UITabBar.appearance().backgroundColor = UIColor.white | ||
} | ||
} |
Oops, something went wrong.