Skip to content

Commit

Permalink
[Design] Health-Food-Me#85-메뉴 이미지 없는 경우 기본 이미지 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
0lynny committed Jul 15, 2022
1 parent 67cab90 commit 7412508
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HealthFoodMe/HealthFoodMe/Global/Literals/ImageLiterals.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,8 @@ struct ImageLiterals {
static let addPhotoIcon = UIImage(named: "icn_photoAdd")
static let deletePhotoBtn = UIImage(named: "btn_delete")
}

struct MenuTab {
static let emptyCard = UIImage(named: "img_empty_card")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "img_empty_card.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "img_empty_card@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "img_empty_card@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ final class MenuView: UIView {

lazy var menuImageView: UIImageView = {
let iv = UIImageView()
iv.image = ImageLiterals.MenuTab.emptyCard
iv.layer.cornerRadius = 8
iv.contentMode = .scaleAspectFill
return iv
Expand Down

0 comments on commit 7412508

Please sign in to comment.