Exemplo n.º 1
0
 /**
  * @see <a
  *     href="http://developer.apple.com/library/ios/documentation/uikit/reference/UIKit_Framework/../UINavigationItem_Class/Reference/UINavigationItem.html#//apple_ref/occ/instm/UINavigationItem/setLeftBarButtonItem:animated:">-
  *     (void)setLeftBarButtonItem:(UIBarButtonItem *)item animated:(BOOL)animated</a>
  * @since Available in iOS 2.0 and later.
  */
 public void setLeftBarButtonItem(UIBarButtonItem item, boolean animated) {
   if (customClass) {
     objc_setLeftBarButtonItemSuper(getSuper(), setLeftBarButtonItem$animated$, item, animated);
   } else {
     objc_setLeftBarButtonItem(this, setLeftBarButtonItem$animated$, item, animated);
   }
 }
Exemplo n.º 2
0
 /**
  * @see <a
  *     href="http://developer.apple.com/library/ios/documentation/uikit/reference/UIKit_Framework/../UINavigationItem_Class/Reference/UINavigationItem.html#//apple_ref/occ/instp/UINavigationItem/leftBarButtonItem">@property(nonatomic,
  *     retain) UIBarButtonItem *leftBarButtonItem</a>
  * @since Available in iOS 2.0 and later.
  */
 public void setLeftBarButtonItem(UIBarButtonItem leftBarButtonItem) {
   if (customClass) {
     objc_setLeftBarButtonItemSuper(getSuper(), setLeftBarButtonItem$, leftBarButtonItem);
   } else {
     objc_setLeftBarButtonItem(this, setLeftBarButtonItem$, leftBarButtonItem);
   }
 }