- (void)postNotificationName:(NSString *)notificationName
object:(id)notificationSender
Can someone help me understand the object
parameter in the above method?
I have used
[[NSNotificationCenter defaultCenter] postNotificationName:@"Downloadfinished"
object:self];
and
[[NSNotificationCenter defaultCenter] postNotificationName:@"Downloadfinished"
object:nil];
They both are working in my case. But I want to understand what the argument does and what I should be passing.