-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 명함 그룹 조회 API 연결 #422 #432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
슈웃~
@@ -22,7 +22,7 @@ class CardInGroupCollectionViewCell: UICollectionViewCell { | |||
@IBOutlet weak var instagramIcon: UIImageView! | |||
@IBOutlet weak var urlIcon: UIImageView! | |||
var groupId: Int? | |||
var cardId: String? | |||
var cardId: Int? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cardUUID 로 명함을 조회해서 그걸로 사용하면 될거 같네용
case groupID = "groupId" | ||
case groupName | ||
} | ||
var cardGroupId: Int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cardGroupID 로 사용부탁드려요 😤
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -52,7 +52,8 @@ class GroupViewController: UIViewController { | |||
// 중간 그룹 이름들 나열된 뷰 | |||
@IBAction func pushToGroupEdit(_ sender: Any) { | |||
guard let nextVC = UIStoryboard.init(name: Const.Storyboard.Name.groupEdit, bundle: nil).instantiateViewController(withIdentifier: Const.ViewController.Identifier.groupEditViewController) as? GroupEditViewController else { return } | |||
nextVC.serverGroups = self.serverGroups | |||
//nextVC.serverGroups = self.serverGroups | |||
//TODO: 고치세요 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
self.groupId = group.groups[self.selectedRow].groupID | ||
self.cardListInGroupWithAPI(cardListInGroupRequest: CardListInGroupRequest(userId: UserDefaults.standard.string(forKey: Const.UserDefaultsKey.userID) ?? "", groupId: group.groups[self.selectedRow].groupID, offset: 0)) { | ||
self.groupId = group[self.selectedRow].cardGroupId | ||
print("✅", self.groupId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
원만하게 잘해결하시고...
if self.frontCards?.count != 0 { | ||
self.cardsCollectionView.scrollToItem(at: IndexPath(item: 0, section: 0), at: .top, animated: false) | ||
} | ||
self.isInfiniteScroll = true | ||
} | ||
} | ||
print("success") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("groupListFetchWithAPI - success")
가 좋을 것 같네용~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
반영했습니다!
🌴 PR 요약
🌱 작업한 브랜치
🌱 작업한 내용
📸 스크린샷
📮 관련 이슈