Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

caveman_uk

Guest
Feb 17, 2003
2,390
1
Hitchin, Herts, UK
Tominated, I had a look at your source code. I've got a couple of style comments. You may think I'm being harsh but trust me, it will help as the app gets bigger.

1) Learn to indent your code. It will make it easier to read as it gets more complex. The tab key is your friend.
2) Don't do this
Code:
id myDocument = [
[NSDocumentController
sharedDocumentController]
openUntitledDocumentOfType:
@"DocumentType"
display:YES];
It shouldn't all be on separate lines. If it does get overlong at least indent it.

Also, your 'Controller' object has memory leaks - wv and md are never released.

BTW, it's odd people say it's faster than Safari as it's using the exact same WebView control that Safari does...:rolleyes:
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
i didn't do the code, i copyed it of a macdevcenter tutorial.
i don't really undrstand it either. oh well, i am gonna get a couple of books to teach me how to use objective-c
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
New Version!!

w00t! i figured out how to get the itunes style interface and I added a print button! get it here.

BTW: i't a bit unstable when it comes to sites with tons of pop-ups.
 

elppa

macrumors 68040
Nov 26, 2003
3,233
151
w00t! i figured out how to get the itunes style interface and I added a print button! get it here.

BTW: i't a bit unstable when it comes to sites with tons of pop-ups.

I'd be quite happy if they put favourites in a HUD (that's "Heads Up Display" for the uninitiated!) for Safari.

It would be convenient. The current set up is great for editing and organising bookmarks - but it is not so good to jump between them.
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
I'd be quite happy if they put favourites in a HUD (that's "Heads Up Display" for the uninitiated!) for Safari.

It would be convenient. The current set up is great for editing and organising bookmarks - but it is not so good to jump between them.

that's what i am planning to do. by the time i am finished, it should be as good as, if not better than, safari
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.