Strange Tiger incompatability
Strange Tiger incompatability
- Subject: Strange Tiger incompatability
- From: David Burnett <email@hidden>
- Date: Tue, 21 Oct 2008 20:09:29 +0100
Hi,
I've got an issue with a Universal App targeting Tiger and above.
No Leopard the application works fine, but on Tiger I get this error...
2008-10-20 19:49:59.089 Oxidizer[389] An uncaught exception was raised
2008-10-20 19:49:59.089 Oxidizer[389] Cannot find value transformer with
name ImageFormatIsJPEG
2008-10-20 19:49:59.090 Oxidizer[389] *** Uncaught exception:
<NSInternalInconsistencyException> Cannot find value transformer with
name ImageFormatIsJPEG
The crash dump stack is...
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001
Code[1]: 0x92c0f0d0
Thread 0 Crashed:
0 com.apple.Foundation 0x92c0f0d0 _NSRaiseError + 264
1 com.apple.Foundation 0x92c0ee0c +[NSException raise:format:] + 40
2 com.apple.AppKit 0x939dbe34 -[_NSBindingInfo
valueTransformer] + 140
3 com.apple.AppKit 0x939dbd54 -[NSBinder
_applyValueTransformerToValue:forBindingInfo:reverse:] + 112
4 com.apple.AppKit 0x939db960 -[NSBinder
valueForBinding:resolveMarkersToPlaceholders:] + 172
5 com.apple.AppKit 0x93c7caec -[NSEditableBinder hiddenState] + 72
6 com.apple.AppKit 0x93c7cdb8 -[NSEditableBinder
_hiddenStateWithMode:] + 72
7 com.apple.AppKit 0x93c7cfb0 -[NSEditableBinder
_setStatesImmediatelyInObject:mode:triggerRedisplay:] + 440
8 com.apple.AppKit 0x939d3820
-[NSObject(NSKeyValueBindingCreation)
bind:toObject:withKeyPath:options:] + 628
9 com.apple.AppKit 0x937cb638 -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] + 728
10 com.apple.AppKit 0x937b78ec loadNib + 240
11 com.apple.AppKit 0x937b7344 +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] + 716
12 com.apple.AppKit 0x9380e814 +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] + 156
13 com.apple.AppKit 0x9389e64c +[NSBundle(NSNibLoading)
loadNibNamed:owner:] + 344
14 net.vargolsoft.oxidizer 0x000055c4 -[FractalFlameModel init] + 1316
However if I open the examine the contents of the Nib and open
classes.nib in a text editor lo and behold...
<dict>
<key>CLASS</key>
<string>ImageFormatIsJPEG</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSValueTransformer</string>
</dict>
and in the XCode project....
#import <Cocoa/Cocoa.h>
@interface ImageFormatIsJPEG : NSValueTransformer {}
@end
Does any one have any ideas what I might be doing wrong.
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden