Skip to content

Commit

Permalink
Merge pull request #241 from thingineeer/#240---디자인-UI-레이아웃-수정
Browse files Browse the repository at this point in the history
[Fix] #240 - 일부 UI의 오토레이아웃 수정 하였습니다.
  • Loading branch information
thingineeer authored Jan 6, 2024
2 parents 5892f02 + bdcca09 commit 25a1471
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 7 deletions.
1 change: 0 additions & 1 deletion Runnect-iOS/Runnect-iOS/Global/Literal/ImageLiterals.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ enum ImageLiterals {
static var imgBanner1: UIImage { .load(named: "img_banner1") }
static var imgBanner2: UIImage { .load(named: "img_banner2") }
static var imgBanner3: UIImage { .load(named: "img_banner3") }
static var imgBanner4: UIImage { .load(named: "img_banner4") }
static var imgAppleLogin: UIImage { .load(named: "img_apple_login")}
static var imgKakaoLogin: UIImage { .load(named: "img_kakao_login")}
}
Expand Down
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
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ios 앱 배너.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"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.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ extension CourseDetailVC {

scrapCountLabel.snp.makeConstraints {
$0.top.equalTo(likeButton.snp.bottom).offset(2)
$0.leading.equalToSuperview().offset(26)
$0.leading.equalToSuperview().offset(28)
$0.width.equalTo(20)
$0.height.equalTo(13)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class AdImageCollectionViewCell: UICollectionViewCell, UIScrollViewDelegat
final let collectionViewInset = UIEdgeInsets(top: 28, left: 16, bottom: 28, right: 16)

// MARK: - UI Components
var imgBanners: [UIImage] = [ImageLiterals.imgBanner1, ImageLiterals.imgBanner2]
var imgBanners: [UIImage] = [ImageLiterals.imgBanner3, ImageLiterals.imgBanner1, ImageLiterals.imgBanner2]
var currentPage: Int = 0
private var timer: Timer?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ extension TitleCollectionViewCell {

dateSortButton.snp.makeConstraints {
$0.top.equalTo(divideView.snp.bottom).offset(54)
$0.leading.equalTo(titleStackView.snp.trailing).offset(57)
$0.trailing.equalTo(scrapSortButton.snp.leading).offset(-16)
}

scrapSortButton.snp.makeConstraints {
$0.top.equalTo(divideView.snp.bottom).offset(54)
$0.leading.equalTo(dateSortButton.snp.trailing).offset(8)
$0.trailing.equalToSuperview().offset(-16)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ extension CourseDiscoveryVC {
}

uploadButton.snp.makeConstraints { make in
make.trailing.equalTo(self.view.safeAreaLayoutGuide).inset(16)
make.trailing.equalTo(self.view.safeAreaLayoutGuide).inset(22)
make.bottom.equalTo(self.view.safeAreaLayoutGuide).inset(20)
make.height.equalTo(40)
make.width.equalTo(92)
}

miniUploadButton.snp.makeConstraints { make in
make.leading.equalTo(self.view.safeAreaLayoutGuide).inset(276)
make.trailing.equalTo(self.view.safeAreaLayoutGuide).inset(22)
make.bottom.equalTo(self.view.safeAreaLayoutGuide).inset(20)
make.width.height.equalTo(41)
}
Expand Down

0 comments on commit 25a1471

Please sign in to comment.