forked from Team-ShortcutsZip/MacC-Team-HappyAnding
-
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.
[Feat] Team-ShortcutsZip#528 - ReadShortcutView UI 구현
- ReadShortcutView UI 수정 - 숫자 천단위로 콤마 넣는 함수 추가 - SCZRed, systemWhite, systemBlack 색상 추가 - 댓글 작성 날짜 표시 함수 추가 - 삼각형 Shape 추가 - ReadShortcutView에서 사용되지 않는 TextLiteral 제거
- Loading branch information
Showing
11 changed files
with
755 additions
and
277 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
HappyAnding/HappyAnding/Assets.xcassets/profileIcon.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" : [ | ||
{ | ||
"filename" : "profileIcon.svg", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
HappyAnding/HappyAnding/Assets.xcassets/profileIcon.imageset/profileIcon.svg
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,17 @@ | ||
// | ||
// Int+Extension.swift | ||
// HappyAnding | ||
// | ||
// Created by JeonJimin on 4/25/24. | ||
// | ||
|
||
import Foundation | ||
|
||
extension Int { | ||
/// Int 타입의 숫자를 받아서 천 단위로 콤마를 추가한 문자열을 반환 | ||
func formatNumber() -> String { | ||
let formatter = NumberFormatter() | ||
formatter.numberStyle = .decimal | ||
return formatter.string(from: NSNumber(value: self)) ?? "" | ||
} | ||
} |
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
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
Oops, something went wrong.