Re: usb notification
Re: usb notification
- Subject: Re: usb notification
- From: Kyle Sluder <email@hidden>
- Date: Tue, 8 Sep 2009 17:55:24 -0700
On Tue, Sep 8, 2009 at 5:47 PM, Chris Carson<email@hidden> 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 (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