티스토리 뷰
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (4) must be equal to the number of rows contained in that section before the update (4), plus or minus the number of rows inserted or deleted from that section (0 inserted, 1 deleted).'
*** Call stack at first throw:
이러한 에러는
테이블뷰에서 로우를 삭제한뒤 reloadData가 자동호출되는데 dataSource로 객체와 갯수가 맞지 않다는 것임
삭제할때는 배열에서 먼저 삭제한후에 테이블뷰 삭제 과정을 거치면 된다.
'프로그래밍 > ios' 카테고리의 다른 글
[xcode] 설정 Reset 하기 (0) | 2016.05.19 |
---|---|
NSDate to NSString 형변환 (0) | 2015.09.23 |
[ios] Find the current top view controller for your iOS application (0) | 2015.06.05 |
[IOS] KEYBOARD 화면 이동 (0) | 2015.06.04 |
[ios] milliseconds to NSDate (0) | 2015.04.28 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 아이콘 사이즈
- 엘지
- 봄봄봄
- crop
- serialize
- ListView
- 참나무숯불닭갈비
- 코드 하이라이트
- resize
- Xcode
- 막국수
- Android
- git flow
- 킹스맨
- Re:NK
- 안드로이드
- 가평휴게소
- custom font
- 휴게소
- xcode8
- xcode7
- gitgub
- ShardPreferenes
- keyboard
- 리엔케이
- 안드로이드 라이브러리
- cocoapods
- ios
- 남자화장품
- android jar
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함