Commit 5bb6bb4 1 parent b83f46e commit 5bb6bb4 Copy full SHA for 5bb6bb4
File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 122
122
A3C5576C292BE084003907DC /* ShareExtensionWriteShortcutView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3C5576B292BE084003907DC /* ShareExtensionWriteShortcutView.swift */; };
123
123
A3D348552BD1233000DE814C /* View+Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3D348542BD1233000DE814C /* View+Font.swift */; };
124
124
A3D348562BD1233A00DE814C /* View+Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3D348542BD1233000DE814C /* View+Font.swift */; };
125
+ A3D348572BD140CC00DE814C /* Image+View.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9AC2BB92935D34C00165820 /* Image+View.swift */; };
125
126
A3FC4747292A61550058BF26 /* FirebaseAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = A3FC4746292A61550058BF26 /* FirebaseAnalytics */; };
126
127
A3FC4749292A61550058BF26 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = A3FC4748292A61550058BF26 /* FirebaseAuth */; };
127
128
A3FC474B292A61550058BF26 /* FirebaseDatabase in Frameworks */ = {isa = PBXBuildFile; productRef = A3FC474A292A61550058BF26 /* FirebaseDatabase */; };
1153
1154
F976E85129395B350088BBA1 /* ShareExtensionViewModel.swift in Sources */,
1154
1155
A3FC4753292A61AE0058BF26 /* IconModalView.swift in Sources */,
1155
1156
4D7D16082986BBDE008B3332 /* TextLiteral.swift in Sources */,
1157
+ A3D348572BD140CC00DE814C /* Image+View.swift in Sources */,
1156
1158
A3FC474F292A616D0058BF26 /* UIFont+Extension.swift in Sources */,
1157
1159
8786B2ED29A7FAFA000B46A1 /* UIColor+Extension.swift in Sources */,
1158
1160
A3FC475B292A61CE0058BF26 /* Category.swift in Sources */,
Original file line number Diff line number Diff line change @@ -9,6 +9,33 @@ import SwiftUI
9
9
10
10
extension Image {
11
11
12
+ ///SF Symbol
13
+ func smallSF( ) -> some View {
14
+ resizable ( )
15
+ . scaledToFit ( )
16
+ . frame ( width: 24 , height: 24 )
17
+ }
18
+ func mediumSF( ) -> some View {
19
+ resizable ( )
20
+ . scaledToFit ( )
21
+ . frame ( width: 28 , height: 28 )
22
+ }
23
+ func largeSF( ) -> some View {
24
+ resizable ( )
25
+ . scaledToFit ( )
26
+ . frame ( width: 36 , height: 36 )
27
+ }
28
+ func extraLargeSF( ) -> some View {
29
+ resizable ( )
30
+ . scaledToFit ( )
31
+ . frame ( width: 46 , height: 46 )
32
+ }
33
+ func customSF( size: CGFloat ) -> some View {
34
+ resizable ( )
35
+ . scaledToFit ( )
36
+ . frame ( width: size, height: size)
37
+ }
38
+
12
39
/// Color가 gray4, size: 24, frame size가 32인 Cell을 관리하는 함수입니다.
13
40
func setCellIcon( ) -> some View {
14
41
self
You can’t perform that action at this time.
0 commit comments