title: delegate function vs callback function
body: <p>I work on iOS platform , I want to know what is a delegate function and what is a callback function ? what is the difference between the two types of function or they are the same ??</p>
  
  <p>example of delegate function is <code>numberOfRowsInSection</code> in <code>UITableViewDelegate</code> protocol and example of callback function is <code>didReceiveLocalNotification</code> in <code>appDelegate.m</code></p>
  
  <p>Can we create our own callback function in Objective-C , if YES ,give an example ...</p>
  
  <p>Thank you.. </p>