Re: Weird NSInvocationOperation init behavior
- Subject: Re: Weird NSInvocationOperation init behavior
- From: Michael Vannorsdel <email@hidden>
- Date: Sat, 31 May 2008 02:19:12 -0600
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=YJGVWTfOVli0SSeXr1Fjd2nQs4R9+Bcvl9WDKgcWoaI=; b=mTePmDibQnomp34B6TjdVwrNSp2ztm5hDXo85fDgRejKv6fqvooh0eJ32RIrrRNpvzKcZd53BxlHrHIveQCH8kLnbBWZ4wZ2soia1oM5OTDOWWTlKs2sk/xH+XdHybjInx0cI5pHA7yaop13kIpRIbqgJVu3bQhl/NI/WM4hR88=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=lrKoDlsgDPvxob0gXQzwi5uktBO/4ytxuIUsQEUCntMYeP67X76H8uNVIv7O1WsGtm1U5IBCKuCzJ2yRaC0xPHpYiUqprmoJgBazL7YrlwklH9HJ+J9XiMcC3yzVwru96G0Uk1VZ9aL6ix7P/Jrk4+muldYb0D4zOm7xcB8fr1o=
If you method is something like:
- (void)func1
then you should use @selector(func1) without the colon.
On May 31, 2008, at 2:06 AM, Markus Spoettl wrote:
NSInvocationOperation *theOp = [[NSInvocationOperation alloc]
initWithTarget:self
selector:@selector(func1:)
object:nil];
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.