Thread View: comp.sys.next.programmer
3 messages
3 total messages
Started by bill
Wed, 22 Jul 1992 21:21
Does SoundView class exist in 2.1?
Author: bill
Date: Wed, 22 Jul 1992 21:21
Date: Wed, 22 Jul 1992 21:21
7 lines
604 bytes
604 bytes
According to my docs, there is a SoundView class located at View:Responder:Object. I have ver 2.1 of the operating system and do not find that class in IB. Was it taken out? Thanks in advance. Bill
Re: Does SoundView class exist in 2.1?
Author: Eric P. Scott
Date: Thu, 23 Jul 1992 05:48
Date: Thu, 23 Jul 1992 05:48
33 lines
1657 bytes
1657 bytes
In article <1992Jul22.212148.26961@aio.jsc.nasa.gov> bill@epnxt.jsc.nasa.gov writes: >According to my docs, there is a SoundView class located at >View:Responder:Object. I have ver 2.1 of the operating system and do not >find that class in IB. Was it taken out? IB's class browser initially shows common classes and public AppKit classes. SoundView is part of SoundKit. Click on View. Select Subclass from the Operations pulldown menu, then type SoundView and press Return. If you double-click on the .h icon IB will message Edit to open the interface file--and it *will* find it. You can also use CustomView to instantiate SoundViews. Note that IB won't have parsed the interface definition, so you won't be able to connect directly to the "reduction" or "sound" ids. If this disturbs you, there are two workarounds: (1) Attempt Save As... to /usr/include/soundkit/UNTITLED [This SHOULD fail for lack of permissions!] -or- (2) Create a symlink from /usr/include/soundkit/SoundView.h into your project directory (or home directory if you haven't created a project directory yet). THEN Parse will work. (If you used (2), you can remove the symlink now.) -=EPS=-
Re: Does SoundView class exist in 2.1?
Author: Scott Hess
Date: Thu, 23 Jul 1992 14:07
Date: Thu, 23 Jul 1992 14:07
41 lines
2508 bytes
2508 bytes
In article <1992Jul23.054852.11368@csus.edu> eps@futon.SFSU.EDU (Eric P. Scott) writes: >In article <1992Jul22.212148.26961@aio.jsc.nasa.gov> > bill@epnxt.jsc.nasa.gov writes: >>According to my docs, there is a SoundView class located at >>View:Responder:Object. I have ver 2.1 of the operating system >>and do not find that class in IB. Was it taken out? <...> >Note that IB won't have parsed the interface definition, so you >won't be able to connect directly to the "reduction" or "sound" >ids. > >If this disturbs you, there are two workarounds: > > (1) Attempt Save As... to /usr/include/soundkit/UNTITLED > [This SHOULD fail for lack of permissions!] > -or- > (2) Create a symlink from /usr/include/soundkit/SoundView.h > into your project directory (or home directory if you > haven't created a project directory yet). > > THEN Parse will work. (If you used (2), you can remove the > symlink now.) Or, drag the file from /usr/include/soundkit/SoundView.h and drop it in the Classes suitcase or window (whichever is easiest). Or, just add the outlets manually in IB (just make certain the spelling is correct). Parsing and Unparsing in IB is simply a convenience function that allows the user to easily update either IB or the .[hm] file so that both have the same ideas about what exactly the class looks like. If you don't want to use that convenience - don't! There are many cases where IB doesn't do so well (Unparsing over top of existant sources, or Parsing when you have instance variables like Button *, or Parsing when you have Categories in the .h file), and manually is the way to go ... Later, -- scott hess <shess@ssesco.com> <Who's now in a programming Berserker-frenzy> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime! <I want to become so famous that people buy tapes of me reading source code>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads