On Jun 2, 2011, at 12:32 AM, I wrote: >> // The following code cannot be compiled. >> // NSString *message = "Happy holidays!"; >> // [[NSNotificationCenter defaultCenter] postNotificationName:@"Done" >> object:message]; > > Why can’t it be compiled? I don’t see any errors in there.
…except I just noticed that your string constant is a C string not an NSString. It should be NSString *message = @"Happy holidays!”; —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com