FROM : Dennis Falling
DATE : Thu Dec 02 21:03:25 2004
Is there any way to design an application to use two different nibs
based on the version? So if you're running 10.3 you get the pretty
rolloverbutton, otherwise just a standard NSButton? Also if that's
possible, is there a way in the code to not include certain lines if
10.2? For example the declaration of that button (either as NSButton
or AMRolloverButton.)
Thanks,
-dennis falling
On Dec 2, 2004, at 1:24 PM, Nick Zitzmann wrote:
>
> On Dec 2, 2004, at 11:57 AM, Dennis Falling wrote:
>
>> Removing the line from the prefix header in the Target Info does
>> reduce my errors:
>>
>> /Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:25: error:
>> parse error before "NSShadow"
>> /Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:76: error:
>> parse error before "NSShadow"
>> /Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:77: fatal
>> error: method definition not in class context
>>
>> By the way, the framework I'm trying to build is the AMRolloverButton
>> at <http://www.harmless.de/cocoa.html#rollover>.
>
> That project appears to depend on NSShadow, which is not available for
> Jaguar, so that is why the build is not succeeding. To resolve this,
> you'll either need to remove all NSShadow references from the code, or
> not use the 10.2.8 SDK and require Panther for your product.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
DATE : Thu Dec 02 21:03:25 2004
Is there any way to design an application to use two different nibs
based on the version? So if you're running 10.3 you get the pretty
rolloverbutton, otherwise just a standard NSButton? Also if that's
possible, is there a way in the code to not include certain lines if
10.2? For example the declaration of that button (either as NSButton
or AMRolloverButton.)
Thanks,
-dennis falling
On Dec 2, 2004, at 1:24 PM, Nick Zitzmann wrote:
>
> On Dec 2, 2004, at 11:57 AM, Dennis Falling wrote:
>
>> Removing the line from the prefix header in the Target Info does
>> reduce my errors:
>>
>> /Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:25: error:
>> parse error before "NSShadow"
>> /Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:76: error:
>> parse error before "NSShadow"
>> /Users/dfalling/Temp/FasTar/1.0.4/AMRollOverButtonCell.h:77: fatal
>> error: method definition not in class context
>>
>> By the way, the framework I'm trying to build is the AMRolloverButton
>> at <http://www.harmless.de/cocoa.html#rollover>.
>
> That project appears to depend on NSShadow, which is not available for
> Jaguar, so that is why the build is not succeeding. To resolve this,
> you'll either need to remove all NSShadow references from the code, or
> not use the 10.2.8 SDK and require Panther for your product.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
| Related mails | Author | Date |
|---|---|---|
| Dennis Falling | Nov 30, 19:48 | |
| John Stiles | Nov 30, 20:06 | |
| j o a r | Nov 30, 20:16 | |
| Dennis Falling | Dec 1, 03:33 | |
| Dennis Falling | Dec 1, 03:33 | |
| Dennis Falling | Dec 1, 03:41 | |
| Evan Schoenberg | Dec 1, 04:18 | |
| j o a r | Dec 1, 08:50 | |
| Dennis Falling | Dec 1, 19:24 | |
| j o a r | Dec 1, 20:41 | |
| Dennis Falling | Dec 2, 01:39 | |
| Evan Schoenberg | Dec 2, 02:44 | |
| Nick Zitzmann | Dec 2, 03:08 | |
| M. Uli Kusterer | Dec 2, 03:26 | |
| Dennis Falling | Dec 2, 10:42 | |
| Dennis Falling | Dec 2, 10:53 | |
| j o a r | Dec 2, 11:01 | |
| Dennis Falling | Dec 2, 19:57 | |
| Nick Zitzmann | Dec 2, 20:24 | |
| Dennis Falling | Dec 2, 21:03 | |
| Nick Zitzmann | Dec 2, 21:17 | |
| m | Dec 2, 21:45 |






Cocoa mail archive

