I am new to this iPhone app programming. I have a function with one argument type as structure pointer. This is shown below
(void)responce:(structurePtr *)someDa
Use: - (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay
[yourObject performSelector:@selector(responce:) withObject:someData afterDelay:5];
Note: it is not guaranteed that your selector will be performed exactly after 5 seconds - it just specifies the minimum time before the message is sent to your object.