반응형
1. files owner와 제대로 연결되었는지 확인할 것 (이름 확인!!)
2. view를 연결시켜줄것!!
You guys are right, but as I'm a newcomer it took me a little while to figure out all the steps to do that. Here's what worked for me:
- Open the XIB file causing problems
- Click on file's owner icon on the left bar (top one, looks like a yellow outlined box)
- If you don't see the right-hand sidebar, click on the third icon above "view" in your toolbar. This will show the right-hand sidebar
- In the right-hand sidebar, click on the third tab--the one that looks a bit like a newspaper
- Under "Custom Class" at the top, make sure Class is the name of the ViewController that should correspond to this view. If not, enter it
- In the right-hand sidebar, click on the last tab--the one that looks like a circle with an arrow in it
- You should see "outlets" with "view" under it. Drag the circle next to it over to the "view" icon on the left bar (bottom one, looks like a white square with a thick gray outline
- Save the xib and re-run
반응형
'개발 > Xcode' 카테고리의 다른 글
.p12 인증서 정보 확인하는 법 (0) | 2018.01.12 |
---|---|
Xcode 8.2.1 crashes on opening project with array index out of bounds (0) | 2016.12.23 |
Choose an initial devise view ; devise 사이즈 변경 (0) | 2016.09.19 |
Unrecognized selector sent to instance 에러 (0) | 2016.08.29 |
Xcode가 느려지는 현상 (2) | 2016.08.24 |
댓글