InternalInconsistencyException ... nib but the view outlet was not set

error snippet

InternalInconsistencyException
nib but the view outlet was not set

background

  • Created custom ViewController
  • Combined it to another ViewController
  • Could loaded xib with 'initWithNibName'
  • But above error happened after build finished

check

  • click object xib
  • right click File's Owner
  • view > is filled right item
    • (how? > see below image)

f:id:mat5ukawa:20150506010209p:plain

  • click with
    • (control + click) + (right item's circle box)
  • drug and drop to
    • 'View'

inspired reference

thanks for sharing knowledge

shitappaprogramer.seesaa.net