Skip to content

Commit

Permalink
⚡ :: 셀프 캡쳐
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbeomkwak committed Nov 30, 2023
1 parent 1f6dade commit 74c630d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ extension EditModalViewController {
guard let self else {return}

self.confirmButton.isEnabled = !((str.first?.isWhitespace ?? true)) // 앞에 시작이 공백일 때
self.limitLabel.setTitle(title: "\(str.count)/\(viewModel.type.limit)", textColor: .grey(.grey400), font: .caption1)
self.limitLabel.setTitle(title: "\(str.count)/\(self.viewModel.type.limit)", textColor: .grey(.grey400), font: .caption1)

})
.bind(to:input.text)
Expand Down Expand Up @@ -211,7 +211,7 @@ extension EditModalViewController {

else {

switch viewModel.type {
switch self.viewModel.type {

case .newBookMark:
NotificationCenter.default.post(name: .refreshBookMarkGroup, object: nil) // 리프래쉬 그룹
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension PrintShopDetailViewController {
.subscribe(onNext: { [weak self] in
guard let self else { return }

let number = output.dataSource.value.phone
let number = self.output.dataSource.value.phone

if let url = NSURL(string: "tel:" + "\(number)"),
UIApplication.shared.canOpenURL(url as URL) { // URL 체계를 처리하는 데 앱을 사용할 수 있는지 여부를 확인
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extension PrintShopDetailViewController {
guard let self else { return }

self.indicator.stopAnimating()
update(model: dataSource)
self.update(model: dataSource)
})
.map { $0.backgroundImage.isEmpty ? [$0.logoImage] : [$0.logoImage,$0.backgroundImage] }
.bind(to: imageCollectionView.rx.items) { [weak self] (collectionView, indexPath, model) -> UICollectionViewCell in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extension PrintShopProductsViewController {

guard let self else {return}

let vc = self.productDetailFactory.makeView(id: viewModel.products[index].id)
let vc = self.productDetailFactory.makeView(id: self.viewModel.products[index].id)

self.navigationController?.pushViewController(vc, animated: true)
})
Expand Down

0 comments on commit 74c630d

Please sign in to comment.