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

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
I want to use some stuff from shiira like the tabbed browsing and bookmark thing. could anybody tell me what to do? i found the source code here.
I will post the tominated browser source asap. could someone intergrate the tabbed browsing feature into it? Here is a pic of how i want it
316326063_8e14e2a647_d.jpg

EDIT: here is the source for tominated browser
 

caveman_uk

Guest
Feb 17, 2003
2,390
1
Hitchin, Herts, UK
Yes thanks ;)

There's documentation on the PSMTabBarControl website. You can do it either through old-fashioned boilerplate code or through Cocoa Bindings. I'm afraid you may actually have to write some code....
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
Yes thanks ;)

There's documentation on the PSMTabBarControl website. You can do it either through old-fashioned boilerplate code or through Cocoa Bindings. I'm afraid you may actually have to write some code....

do you happen to know how to get the webview and stuff working? if you do can you have a fiddle with the source of my xcode project? i have got no clue on how to do all this.

BTW: I am getting a book on cocoa programming and objective-c for xmas
 

caveman_uk

Guest
Feb 17, 2003
2,390
1
Hitchin, Herts, UK
If you download the source code for it there's a demo app that shows how to use it. The corresponding palette download also has good instructions. Basically you link the PSMTabBarControl to a normal NSTabView. In your case each 'tab' of the NSTabView would hold an WebView.
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
If you download the source code for it there's a demo app that shows how to use it. The corresponding palette download also has good instructions. Basically you link the PSMTabBarControl to a normal NSTabView. In your case each 'tab' of the NSTabView would hold an WebView.

that's the thing, i am such a n00b that i don't know how to get it to have a webView in each tab and i don't know how to get the buttons to only talk to the active webView.

BTW: when i try to put the tab thing in my app and test it in IB when i try to close a tab it goes all funny.
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
Personally I'd probably hook the buttons to a controller object, and have the controller check which tab was visible. There are other ways of doing it though.
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
ok, i might try that, but the new tab button wont do anything! GODDAMNIT!
EDIT: I have just realised that trying to compile my project with the tabs/framework gives it errors. do you know any other tab system thingies?
 

jeremy.king

macrumors 603
Jul 23, 2002
5,479
1
Holly Springs, NC
Tominated, I have to ask:

If you have no idea what you are doing and haven't really displayed any effort to learn on your own (outside of posting here), whats the point? Also, why are you trying to write a browser when there are plenty already out there?

I'd go as far as saying that you should be giving credit to the people here who are pretty much writing this for you. Or better yet, rename your browers to MRinated.

Sorry for the bluntness, but you've been pretty active lately in the Programming forum and simply ask "How do I..." questions.

Edit: I just realized that you are VERY young - but still make an effort to learn instead of relying on others.
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
Tominated, I have to ask:

If you have no idea what you are doing and haven't really displayed any effort to learn on your own (outside of posting here), whats the point? Also, why are you trying to write a browser when there are plenty already out there?

I'd go as far as saying that you should be giving credit to the people here who are pretty much writing this for you. Or better yet, rename your browers to MRinated.

Sorry for the bluntness, but you've been pretty active lately in the Programming forum and simply ask "How do I..." questions.

Edit: I just realized that you are VERY young - but still make an effort to learn instead of relying on others.

ok, i will take that intoo consideration. I have to wait until xmas to get some cocoa programming books. When I get them, i will probably be posting a lot less in the programming forums
 

mwpeters8182

macrumors 6502
Apr 16, 2003
411
0
Boston, MA
ok, i will take that intoo consideration. I have to wait until xmas to get some cocoa programming books. When I get them, i will probably be posting a lot less in the programming forums

I definitely wouldn't stop posting, as talking to experienced programmers can definitely be helpful. However, more informed posts (which you'll be able to make) will be received much better. You'll get some good responses.
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
I definitely wouldn't stop posting, as talking to experienced programmers can definitely be helpful. However, more informed posts (which you'll be able to make) will be received much better. You'll get some good responses.

thanks for the tip. i'll try and find some getting started tutorials on the web to improve my understanding.
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
well? can someone do it for me or tell me how to do it? if you do it for me, i will put your credentials in the about box

Have you notified Shiira's developer since you're talking about using part of his browser to make yours better? If you're directly using his source code, you'd better get permission first.
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Have you notified Shiira's developer since you're talking about using part of his browser to make yours better? If you're directly using his source code, you'd better get permission first.

Shiira appears to be released under a BSD license. That means you can use the code for whatever you want without seeking the original developers permission first.

It'd be good manners to and you should definitely give attribution in the About box for the app..
 

mufflon

macrumors 6502
Sep 15, 2006
264
2
and I for one would question the need to develop something this complex as your initial programming studies - you should really learn how to walk before you try to drive a car.
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
Shiira appears to be released under a BSD license. That means you can use the code for whatever you want without seeking the original developers permission first.

It'd be good manners to and you should definitely give attribution in the About box for the app..

Who knows why the licence was chosen but I'd say that he'd be shocked to find that his hard work went into someone else's project.
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
Have you notified Shiira's developer since you're talking about using part of his browser to make yours better? If you're directly using his source code, you'd better get permission first.

yes i have.

BTW: i have decided that the only thin i am going to 'borrow' from shiira is the downloads handling. Shiira is the only webkit browser that i know is open source.
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
Who knows why the licence was chosen but I'd say that he'd be shocked to find that his hard work went into someone else's project.

Uh, no. That's the entire point of the BSD license. It's certainly nice to let them know, but no "shock" is involved when you explicitly say "HEY EVERYONE USE MY CODE", which is basically what the BSD license is saying.


unrelated:
PSMTabBarControl is based on Shiira's tabs, btw. I wrote the style changing system and a few other things, and the student I mentored for Google SoC is responsible for a lot of the new nifty features in it. So once the OP gets a better handle on programming in general I may be able to answer some specific questions. :)
 

cazlar

macrumors 6502
Oct 2, 2003
492
11
Sydney, Australia
thanks for the tip. i'll try and find some getting started tutorials on the web to improve my understanding.

Until you get your book, I'd recommend the articles at MacDevCenter: http://www.macdevcenter.com/pub/ct/37

The very early ones are now pretty old and may be slighty out-of-date in regards to referencing Project Builder rather than xcode, but they are a great way to get into cocoa programming, showing you step by step how to create an app from scratch, including adding stuff like prefs (again, maybe also out-of-date as it would be easier to use bindings for prefs these days).
 

tominated

macrumors 68000
Original poster
Jul 7, 2006
1,723
0
Queensland, Australia
Until you get your book, I'd recommend the articles at MacDevCenter: http://www.macdevcenter.com/pub/ct/37

The very early ones are now pretty old and may be slighty out-of-date in regards to referencing Project Builder rather than xcode, but they are a great way to get into cocoa programming, showing you step by step how to create an app from scratch, including adding stuff like prefs (again, maybe also out-of-date as it would be easier to use bindings for prefs these days).

tominated browser started out as the macdevcentre byob project
 

Coheebuzz

macrumors 6502a
Oct 10, 2005
511
148
Nicosia, Cyprus
Hmm, i just downloaded this browser and even if it's based on webkit it scrolls MUCH faster and smoother than Safari! Try it out yourselves am not kidding!

Keep it clean and simple Tominated, there is no such thing as too many browsers. ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.