Programming Help

Feel free to talk about anything and everything in this board.
Post Reply
Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

Programming Help

Post by Slapzy » Sun Jul 27, 2008 8:57 pm

so i'm making my own web browser, with a little help from some tuts and such, and i'm trying to allow javascript window requests...

is what im sposed to do
Image

is what i have
Image

can anyone tell me where to put that highlighted prototype method?

(forgive me, i is a total noob at programming, first app ever semi successful in making so far...)

Mota-Lev
Green Beret
Posts: 3554
Joined: Sat Mar 17, 2007 4:19 pm
Location: AusFag

Post by Mota-Lev » Sun Jul 27, 2008 11:33 pm

You should get REALbasic. Very easy to learn. I am still in the learning part though. But yeah you can make a very basic web browser in 1 line of code.
Stupid tinypic removing my images

nil
Halo Moderator
Halo Moderator
Posts: 1090
Joined: Sat Jul 05, 2008 8:38 am
Location: null zone

Post by nil » Mon Jul 28, 2008 5:47 am

Code: Select all

- (id)webView;
This goes in "MyDocument.h", where method declaration/prototypes belong.

Code: Select all

- (id)webView
{
    return webView;
}
This goes in "MyDocument.m", where implementation of methods belong in.

You should realize though, that this probably isn't the best resource for asking for programming help.
Mota-Lev wrote: But yeah you can make a very basic web browser in 1 line of code.
Yeah, you can do what with webkit too, but uh, if you want to get past the 'very basic' 1 line of code probably won't suffice...

Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

Post by Slapzy » Mon Jul 28, 2008 10:47 am

Thanks, and yeah i know its not the best resource, but i knew that it wouldn't be too hard to answer for a few people here, as long as they got a chance to read it. and I figured it would get answered at some point.

Thanks tho.

*Edits, it worked*

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests