Re: NSInvocationOperation problem with a signal exc_bad_access
Re: NSInvocationOperation problem with a signal exc_bad_access
- Subject: Re: NSInvocationOperation problem with a signal exc_bad_access
- From: Ken Thomases <email@hidden>
- Date: Mon, 20 Sep 2010 12:00:45 -0500
On Sep 20, 2010, at 11:06 AM, ico wrote:
> NSInvocationOperation *theOp = [[[NSInvocationOperation alloc]
> initWithTarget:dp selector:@selector(massiveWork:) object:nil] autorelease];
The selector here is "massiveWork:" with a colon.
> - (void) massiveWork {
The selector for this method is "massiveWork" with no colon.
Those are not the same. You are trying to construct an NSInvocationOperation to invoke a method which doesn't exist, probably.
Regards,
Ken
_______________________________________________
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