title: How to know UISwitch button clicked
body: <p>I have a tale which is containing a custom view interface. Here is customeview class definition.</p>
  
  <pre><code>@interface CustomTableCellview : UITableViewCell {
  
  UILabel *titleOfPost;
  UILabel *userProfileName;
  UIImageView* profileImage;
  UILabel *countOfFave;
  
  
  
  }
  
   @property(nonatomic,retain) IBOutlet UIImageView *profileImage;
   @property(nonatomic,retain) IBOutlet UILabel *titleOfPost;
    @property(nonatomic,retain) IBOutlet UILabel *countOfFave;
   @property(nonatomic,retain) IBOutlet UILabel *userProfileName;
  </code></pre>
  
  <p>These all values are showing in my table. I want to call a function whenever user will click either ON/OFF button. Here is my tableview class definition.</p>
  
  <pre><code> @interface VIPsScreen : UITableViewController {
   NSMutableArray* tableList;
  
  IBOutlet CustomVIPCell *tblCell;
  
  NSMutableArray* chengdArray;
  
  }
  </code></pre>
  
  <p>I want to store all related "userProfileName" in array  "chengdArray" which has UISWitch values "ON". How will I resolve this problem. 
  Thanks in advance</p>