On Tue, Sep 8, 2009 at 5:47 PM, Chris Carson<cucar...@yahoo.com> wrote:
>        IOReturn                kernErr;

You never seem to check for errors.  Please ensure your calls are
succeeding by checking the value of this variable.  If they're
failing, use macerror(1) to look up the error number.

> - (id) init
> {
>        [super init];
>
>        if (self) {

This is not the correct initializer pattern.  You need to assign to self here.

--Kyle Sluder
_______________________________________________

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