The Media Laboratory
					    
¬                                           Massachusetts Institute of Technology

 wave's labeled slider palette
These days, I'm trying to arrange my environment so I can spend the bulk of my NeXT programming time inside of IB.  Doesn't make much sense to compile code when I can drag-and-drop it.  Anyway, one thing that prevents most folks from doing this is the simple fact that when you want to see the values on a slider, you have to connect your slider up to some controller object, which updates some text field somewhere with the value.  The problem with this is you have to compile that darn controller object.  Wouldn't it be nice if, in addition to sending an action message, the slider updated some outlet(s) it had with it's current value?  And how about the min and max while we're at it?  

Anyway, that's what this palette does.  It also shows one possible workaround for a bug in IB (3.0), which is that there is no equivalent to - awakeFromNIB for inside of IB.  

Anyway, there's almost no code here, so this should also serve as a useful example to someone just jumping into the world of IB palette writing.  There's an example nib in the Examples directory here, in case this has been a little confusing...

Anyway, hope this saves somebody a little time if they want to do something similar.  

Michael B. Johnson
MIT Media Laboratory
wave@media-lab.mit.edu
March 24, 1993