On Aug 9, 2010, at 5:32 PM, Bill Monk wrote:

> 
> On Aug 9, 2010, at 2:03 PM, cocoa-dev-requ...@lists.apple.com wrote:
> 
>> I created a minimal application that exhibits the problem:
>> 
>> http://www.acordex.com/temp/scancontrolltest.zip
>> 
>> thank you for anything you notice.
> 
> There's a warning on ScanController's -init: "control reaches end of non-void 
> function".
> 
> -(id) init
> {
> // scanner is automatically set up once it's found.   
>       [NSBundle loadNibNamed:@"ScannerControl" owner:self];
> }
> 
> 
> IOW, you forgot to return self. Or to call [super init]. 
> 


Hmm, well, good things to do for sure, but I added [super init] and return 
self; to my scancontroller and it didn't help any.

Note: This bug ONLY shows up on 10.5. the program runs fine on 10.6...

Brian Postow
Senior Software Engineer
Acordex Imaging Systems

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to