Hi,
I have a crashing problem when calling postNotificationName, the following
method is called from an Operation Queue method/thread. It is called on the
Main Thread (the operation queue method, uses performSelectorOnMainThread which
calls "parseOperationCompleted" below. I've tried copying theResultDictionary
or just passing it in the dictionary as is, same result.
Any ideas what could be causing the crash?
-(void) parseOperationComplete:(NSDictionary*) theResultDictionary
{
myUserInfoDictionary = [[NSMutableDictionary alloc] init];
[myUserInfoDictionary setObject:self.pUpdateString
forKey:kUserInfoLiveUpdateString];
[myUserInfoDictionary setObject:[theResultDictionary copy]
forKey:kUserInfoLiveUpdateDictionary];
[NSNotificationCenter defaultCenter] postNotificationName:kNotificationName
object:self userInfo:myUserInfoDictionary];
}
Thanks in advance for any help!
All the Best
Dave
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]