Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Finder toolbar

Finder toolbar
Thread Tools
Forum Regular
Join Date: Jan 2001
Status: Offline
Reply With Quote
Feb 6, 2001, 03:02 PM
 
It is possible to write your own finder toolbar app? Any information on this. If this is possible it would be handy to write a temp storage place in the toolbar to put file and folder that you want to copy or move. Put the file in the toolbar temp storage space and then navigate to the posetion where the file are about to be moved or copied to. Drag of toolbar to move and ctrl drag to copy. I hate to have to windows open just to move a file. Its faster to do this with the terminal.
http://www.obbit.se/~tobbe/toolbar.jpg

[This message has been edited by geran (edited 02-06-2001).]
     
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Feb 7, 2001, 10:58 AM
 
Unless someone has inside info, I doubt that anyone is going to know the answer to that until March 24.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Feb 7, 2001, 01:48 PM
 
i'm sure someone said that it's available in Cocoa as NSToolbar, but it won't have the same functionality as the Finder one. I'm sure someone could modify it to though.
     
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Apr 19, 2001, 10:46 AM
 
Just out of curiousity, where is the documentation for NSToolBar?

I read about it in one of Apple's developer docs recently but there is no other reference or resource as far as I can tell.

Anyone have any idea how it works or where any of this documentation is?


Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status: Offline
Reply With Quote
Apr 19, 2001, 10:56 AM
 
It's in the release notes located here:

http://developer.apple.com/techpubs/...es/AppKit.html

EDIT: Make sure to check out the header files for NSToolbar and NSToolbarItem, also


------------------


[This message has been edited by mr_sonicblue (edited 04-19-2001).]
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Apr 19, 2001, 11:10 AM
 
I've always wanted to know how this is done.

There's a program called "Goban" (It plays Go, on Versiontracker), and grepping the binary yielded a match for NSToolbar... I'll post if I can find anything of use.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Apr 19, 2001, 11:20 AM
 
/Developer/Documentation/ReleaseNotes/AppKit.html
http://cocoadevcentral.com has an example.

If one of you gets an example running, post it up here. I think we should create a huge Cocoa example warehouse for all the cool and neat stuff. What do you think?
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Apr 19, 2001, 11:39 AM
 
If you can find us something fast and reliable that we could all post source to (or even just post links to sources stored in our own Apache servers) that would be a good idea. It is always too hard to find very simple to-the-point examples when you are starting out. I am in!

Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status: Offline
Reply With Quote
Apr 19, 2001, 12:07 PM
 
I have a working NSToolbar on one of my programs:

http://homepage.mac.com/mr_sonicblue/Velocity/

I ripped the delegate object out of the app I made and posted it here:

http://homepage.mac.com/mr_sonicblue...arDelegate.sit

To use it, I simply call this from my main interface:

[mainToolbarDelegate initToolbar];

And the only reason I do that is to make sure I setup the toolbar before I reposition the window from preferences. You could just change the initToolbar method in the delegate to awakeFromNib and it'll work fine.

------------------
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:19 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2