http://stackoverflow.com/questions/35727353/assertion-failure-with-segues
현상 : Destination View Controller 에 performSegue할 때마다 오류가 발생함.
해결방법 :
- Destination View Controller를 대체할 새로운 Empty Id View Controller를 작성한다.
- Destination View Controller 디자인 로직을 옮겨온다.
- Destination View Controller를 삭제한다.
- 삭제된 Destination View Controller와 동일하게 Segue 환경을 구성한다.
- 테스트 : 잘됨.
- symptom : try to perform Segue to “DestinationViewControllerSegue” follow error message was shown “Assertion failure with segues”
- solution :
- Make new View Controller to replace “Destination View Controller”
- No Storyboard Id, No Class
- Migrate UI Code From Old View Controller(“Destination VC”) to new Empty View Controller
- remove “Destination View Controller” and segue
- connection source view controller with “new Destination View Controller”
- fill segue’s id with old segue’s id
- test
- work well