diff --git a/NADA-iOS-forRelease/Resouces/Extensions/UIViewController+Extension.swift b/NADA-iOS-forRelease/Resouces/Extensions/UIViewController+Extension.swift index d94312d9..020a6412 100644 --- a/NADA-iOS-forRelease/Resouces/Extensions/UIViewController+Extension.swift +++ b/NADA-iOS-forRelease/Resouces/Extensions/UIViewController+Extension.swift @@ -16,18 +16,10 @@ extension UIViewController { cancelAction: ((UIAlertAction) -> Void)? = nil, deleteAction: ((UIAlertAction) -> Void)?, completion: (() -> Void)? = nil) { - let alertViewController = UIAlertController(title: title, message: message, preferredStyle: .alert) - // FIXME: - 민재선배 아래주석 삭제해도 되나요?? - // alertViewController.setTitle(font: UIFont.boldSystemFont(ofSize: 17), color: UIColor.white) - // alertViewController.setMessage(font: UIFont.systemFont(ofSize: 13), color: UIColor.white) - // alertViewController.setTint(color: .mainBlue) - - // alertViewController.view.subviews.first?.subviews.first?.subviews.first?.backgroundColor = UIColor(red: 30/255, green: 30/255, blue: 30/255, alpha: 3/4) - let cancelAction = UIAlertAction(title: "취소", style: .cancel, handler: cancelAction) alertViewController.addAction(cancelAction) diff --git a/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.swift b/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.swift index f3d7353d..97f1e649 100644 --- a/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.swift +++ b/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.swift @@ -59,6 +59,7 @@ extension FrontCardCreationCollectionViewCell { backgroundSettingCollectionView.backgroundColor = .background let collectionViewLayout = backgroundSettingCollectionView.collectionViewLayout as? UICollectionViewFlowLayout + collectionViewLayout?.estimatedItemSize = .zero collectionViewLayout?.scrollDirection = .horizontal let backgroundAttributeString = NSMutableAttributedString(string: "*명함의 배경을 선택해 주세요.") @@ -176,6 +177,9 @@ extension FrontCardCreationCollectionViewCell: UICollectionViewDelegateFlowLayou return UIEdgeInsets(top: 0, left: 26, bottom: 0, right: 26) } func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat { + return 0 + } + func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat { return 12 } func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { diff --git a/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.xib b/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.xib index b0099cc2..bbe18b1b 100644 --- a/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.xib +++ b/NADA-iOS-forRelease/Sources/Cells/CreationCard/FrontCardCreationCollectionViewCell.xib @@ -36,7 +36,7 @@ - +