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 > Custom Cocoa Palettes

Custom Cocoa Palettes
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2001
Status: Offline
Reply With Quote
Jun 8, 2001, 11:34 PM
 
I need UI widgets that don't exist in the standard set provided by Interface Builder. a) How do I create my own? and b) are there open-source palettes that I might have acces to? (I'm need a volume meter and I need dials).
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Virginia, US
Status: Offline
Reply With Quote
Jun 10, 2001, 01:19 AM
 
Hm. There used to be a ProgressView example under the AppKit section, but since NSProgressIndicator was put into the AppKit, it's not there any more. You're basically just writing an NSView subclass, so start looking at example code there. Bundling it up in a palette is not a necessity (you can use the CustomView widget in the standard palettes), but it can be nice if you want to configure it in IB.

You could look at SndKit, which is now co-located with MusicKit:

http://sourceforge.net/projects/musickit

I believe the SndKit has a palette in it, and works on MacOS X. There may even be a class or two that's close to what you want.

There is also the MiscKit (www.misckit.com). This was originally a NEXTSTEP kit with lots of stuff, including a wealth of palettes. A fair chunk of it was ported to OPENSTEP, and that code was later made to work on MacOS X Server. If you get that version (ftp.misckit.com/pub/next/misckit), you will likely find some example palettes, though they are not likely to build without some tweaking on MacOS X (especially if they have any postscript code). However they could provide some examples, as the details of how to do palettes are the same.

The MiscKit has been fairly dormant for a while, but it sounds like it may be reborn in the next few months, so maybe there will be a good source of examples at that point.

You also may find examples on Softrak -- browse the MacOS X section on
softrak.stepwise.com.

[ 06-10-2001: Message edited by: lindberg ]
     
   
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 09:49 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