NSScrollView problem

2014-01-07 Thread James Pengra
Folks, I'm using Xcode 5.0.2 with OSX10.8.5. When I build a simple OS Application (nonDocument type) and I move an NSScrollView onto a window and then run the program, it builds normally, but it flags a problem that there is a Misplaced View and that Frame for 'Clip View' will be

Keyword @defs

2009-11-29 Thread James Pengra
Consider the following situation I found in a Cocoa program to simulate a sine wave generator: The class Foo has a number of variables defined in its header. In the code file Foo.m, and.preceding the @implementation block, the following structure is defined: typedef struct

Making sounds

2009-04-30 Thread James Pengra
I would like to play the sound of pure sine waves or combinations of sine waves, by means of a Cocoa application. NSSound will play sound files, so the trick seems to be to create the appropriate files synthetically, using the mathematical functions. Does anyone know how to create sound files

Target change problem

2008-08-29 Thread James Pengra
A program I have developed will not run on a PPC machine (G5 iMac) using OS 10.4.11. It was developed on Xcode 3.0 on an Intel machine running OS 10.5.4. Initially the projects Cross_Develop Using Target SDK was set to Current Mac OS, so it's not surprising that it wouldn't run on the G5