Re: usb notification
Re: usb notification
- Subject: Re: usb notification
- From: Chris Carson <email@hidden>
- Date: Tue, 8 Sep 2009 19:41:25 -0700 (PDT)
> > 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.
IOServiceAddMatchingNotification() returns no errors (0).
> > - (id) init
> > {
> > [super init];
> >
> > if (self) {
>
> This is not the correct initializer pattern. You need
> to assign to self here.
>
> --Kyle Sluder
Changed this to self = [super init];
However, the issue still persists.
Chris
_______________________________________________
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