• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSInvocationOperation problem with a signal exc_bad_access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSInvocationOperation problem with a signal exc_bad_access (From: ico <email@hidden>)

  • Prev by Date: Re: What's the point of @properties?
  • Next by Date: Re: NSView resizing problems.
  • Previous by thread: Re: NSInvocationOperation problem with a signal exc_bad_access
  • Next by thread: creating docx file
  • Index(es):
    • Date
    • Thread