해결
-
[xcode]Failed to register bundle identifier 오류 해결iOS/error log 2022. 4. 28. 10:47
Failed to register bundle identifier: The app identifier "com.WeekFlex" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again. No profiles for 'com.WeekFlex' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.WeekFlex'. 폰에다가 빌드하려고 하니 이런 에러가 뜬다. 일단 bundle identifier가 고유하지 않아..
-
[xcode]this class is not key value coding-compliant for the key 에러 원인/해결iOS/error log 2021. 4. 2. 03:43
this class is not key value coding-compliant for the key 자주 보이는 xcode 에러다. Interface Builder 의 구성 에러 설정한 IBOutlet이 없어졌거나 할경우 발생. Tab Bar Controller에 배치한 nib의 경우 Tab Bar Controller 내의 오브젝트클래스랑 nib의 클래스가 일치하지 않는 경우에도 발생. nib에서 Tab Bar Controller의 각 View Controller을 대상 클래스랑 정확히 연결할것 이다. 보통은 금방 해결되는데 이상한 데서 해결이 안될때가 있다. 나같은 경우에는 커스텀 뷰를 만들어두고 nib으로 레지스터하는 부분에서 에러가 발생했는데 알고보니 IBoutlet연결할때 한 개만 file's ..
-
[swift] tableView 끝에 도달했을때 감지, 무한 스크롤iOS 2020. 8. 9. 00:06
많은 어플, 모바일웹 등에서 사용하는 기술이다 일정 리스트를 불러와서 쭈르륵 보여주고, 스크롤이 바닥에 닿으면 다음 글들을 보여주는 식! 무한 스크롤 기능을 구현해보려했다. 처음에는 scrollViewDidScroll 메소드를 이용해서 다음과 같이 구현했다 func scrollViewDidScroll(_ scrollView: UIScrollView) { if self.tableView.contentOffset.y > tableView.contentSize.height-tableView.bounds.size.height { page += 1 thisUrl = baseUrl + String(page) loading(url: thisUrl) tableView.reloadData() } } 이렇게 코드를 짰더니..