title: How to define and send method\message which will add UIBarButtonItems to UIToolbar dynamically?
body: <p>I've done a dynamic adding of UIBarButtonItem to UIToolBar and now I' m trying to implement this as a method <code>-(void)AddBarButton:withTitle (NSString*)title</code> and call it from the event handler (clicking on UISearchBar search results row). The problem is I don't know how to implement adding UIBarButton as a separate method and the most important how to call it (send)? Who will be the receiver of this message?  <code>[self.toolBar addButton]</code> don't work.<p>I want to apologise for such may be stupid for professional iOS developers question, because I was a C++\Java programmer for 7 years and now I have to make one iOS project without any experience during short time. So I really need a help. <p>Thanks in advance! </p>