Search code examples
xcodedocumentiboutlet

iboutlet in document based application


i am searching from over 2 hours without finding an answer!

i am a noob in xcode and cocoa programming.. basically my xib file contains a tab view, and in one of the tabs i placed a webview. i also added the web framework.

my app is a document based application. and i am not able to declare an iboutlet for the webview in order to make it load a URL.

how am i supposed to declare the iboutlet in a document based application? and evne more in what file am i supposed to do it?

please keep the answer as simple as possible since i am veeery green in this and coming from Windows it takes some time understand the mac environment.

tahnk you!

Igor


Solution

  • Probelm solved!

    first i fogto to implement the webkit framework, then i added the implementation to the app delegate instead of the document. thus when opening a document it did not load the page!

    thanks for your help anyway jemmons!