sharkyenergy
sharkyenergy

Reputation: 4183

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

Upvotes: 0

Views: 458

Answers (2)

Ram Mishra
Ram Mishra

Reputation: 797

I think : you have to import WebKit:

import < WebKit/WebKit.h>

That's just a guess, though, since you haven't posted enough code to say for sure.

Upvotes: 1

sharkyenergy
sharkyenergy

Reputation: 4183

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!

Upvotes: 2

Related Questions